- Add NO_ARCH

- Switch to options helpers
- Drop @dirrm* from plist

Approved by:	portmgr blanket
This commit is contained in:
Dmitry Marakasov 2015-12-21 20:54:31 +00:00
parent f4978c9476
commit ae97331459
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=404190
2 changed files with 5 additions and 3 deletions

View file

@ -37,6 +37,7 @@ RUN_DEPENDS+= ${APACHE_PKGNAMEPREFIX}mod_perl2>=0:${PORTSDIR}/www/mod_perl2
USES= perl5
USE_PERL5= configure
NO_ARCH= yes
USE_RC_SUBR= qpsmtpd
@ -50,8 +51,12 @@ post-install:
@${MKDIR} ${STAGEDIR}${DATADIR}
@${MKDIR} ${STAGEDIR}${DATADIR}/plugins
(cd ${WRKSRC}/plugins && ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR}/plugins)
post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README* ${STAGEDIR}${DOCSDIR}
post-install-EXAMPLES-on:
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
(cd ${WRKSRC}/config.sample/ && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR})

View file

@ -99,7 +99,6 @@ bin/qpsmtpd-prefork
%%PERL5_MAN3%%/UPGRADING.3.gz
%%PORTDOCS%%%%DOCSDIR%%/README
%%PORTDOCS%%%%DOCSDIR%%/README.plugins
%%PORTDOCS%%@dirrm %%DOCSDIR%%
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/IP
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/badhelo
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/badmailfrom
@ -122,8 +121,6 @@ bin/qpsmtpd-prefork
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/smtpauth-checkpassword
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/tls_before_auth
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/tls_ciphers
%%PORTEXAMPLES%%@dirrmtry %%EXAMPLESDIR%%
%%PORTEXAMPLES%%@dirrmtry %%EXAMPLESDIR%%/dkim
%%SITE_PERL%%/Apache/Qpsmtpd.pm
%%SITE_PERL%%/Danga/Client.pm
%%SITE_PERL%%/Danga/TimeoutSocket.pm