aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2015-12-22 04:54:31 +0800
committeramdmi3 <amdmi3@FreeBSD.org>2015-12-22 04:54:31 +0800
commitb25d9f5252c2aff8532fcbb90b1364d8d3c998c4 (patch)
treecef1240859fd582690f111ed625ee7bb51d78413 /mail
parent4a70941b996639a6c401d20707235af71ac96feb (diff)
downloadfreebsd-ports-gnome-b25d9f5252c2aff8532fcbb90b1364d8d3c998c4.tar.gz
freebsd-ports-gnome-b25d9f5252c2aff8532fcbb90b1364d8d3c998c4.tar.zst
freebsd-ports-gnome-b25d9f5252c2aff8532fcbb90b1364d8d3c998c4.zip
- Add NO_ARCH
- Switch to options helpers - Drop @dirrm* from plist Approved by: portmgr blanket
Diffstat (limited to 'mail')
-rw-r--r--mail/p5-qpsmtpd/Makefile5
-rw-r--r--mail/p5-qpsmtpd/pkg-plist3
2 files changed, 5 insertions, 3 deletions
diff --git a/mail/p5-qpsmtpd/Makefile b/mail/p5-qpsmtpd/Makefile
index 82934b0eba3e..e5daf857436b 100644
--- a/mail/p5-qpsmtpd/Makefile
+++ b/mail/p5-qpsmtpd/Makefile
@@ -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})
diff --git a/mail/p5-qpsmtpd/pkg-plist b/mail/p5-qpsmtpd/pkg-plist
index a4e39b8a867c..2adef83a5385 100644
--- a/mail/p5-qpsmtpd/pkg-plist
+++ b/mail/p5-qpsmtpd/pkg-plist
@@ -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