aboutsummaryrefslogtreecommitdiff
path: root/mail
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2017-07-05 10:28:52 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2017-07-05 10:28:52 +0000
commitd7e94dfcbb059b8acb308d4994bc34643f5cc88e (patch)
tree4dea5ee7a09ee3a92b88efb7f4e385d9d0ddeb0d /mail
parent5a8d33fada86714a0fed5547bc2052fe98fcd1e7 (diff)
downloadports-d7e94dfcbb059b8acb308d4994bc34643f5cc88e.tar.gz
ports-d7e94dfcbb059b8acb308d4994bc34643f5cc88e.zip
- Switch to options helpers
Notes
Notes: svn path=/head/; revision=445068
Diffstat (limited to 'mail')
-rw-r--r--mail/pymsgauth/Makefile12
-rw-r--r--mail/pymsgauth/pkg-plist5
2 files changed, 8 insertions, 9 deletions
diff --git a/mail/pymsgauth/Makefile b/mail/pymsgauth/Makefile
index c4a0eabae962..01289dbe9019 100644
--- a/mail/pymsgauth/Makefile
+++ b/mail/pymsgauth/Makefile
@@ -21,8 +21,8 @@ NO_ARCH= yes
SUB_FILES= pkg-message
-DOCS= BUGS CHANGELOG pymsgauth.txt pymsgauth.html
-EXAMPLES= pymsgauthrc-example
+PORTDOCS= BUGS CHANGELOG pymsgauth.txt pymsgauth.html
+PORTEXAMPLES= pymsgauthrc-example
OPTIONS_DEFINE= DOCS EXAMPLES
@@ -33,9 +33,13 @@ do-install:
.for f in clean confirm mail
${LN} -sf ${DATADIR}/pymsgauth-${f} ${STAGEDIR}${PREFIX}/bin
.endfor
+
+do-install-EXAMPLES-on:
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
- ${INSTALL_DATA} ${EXAMPLES:S|^|${WRKSRC}/|} ${STAGEDIR}${EXAMPLESDIR}
+ ${INSTALL_DATA} ${PORTEXAMPLES:S|^|${WRKSRC}/|} ${STAGEDIR}${EXAMPLESDIR}
+
+do-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
- ${INSTALL_DATA} ${DOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>
diff --git a/mail/pymsgauth/pkg-plist b/mail/pymsgauth/pkg-plist
index 9f4cf571c066..020a52237a54 100644
--- a/mail/pymsgauth/pkg-plist
+++ b/mail/pymsgauth/pkg-plist
@@ -6,8 +6,3 @@ bin/pymsgauth-mail
%%DATADIR%%/pymsgauth-clean
%%DATADIR%%/pymsgauth-confirm
%%DATADIR%%/pymsgauth-mail
-%%PORTDOCS%%%%DOCSDIR%%/BUGS
-%%PORTDOCS%%%%DOCSDIR%%/CHANGELOG
-%%PORTDOCS%%%%DOCSDIR%%/pymsgauth.html
-%%PORTDOCS%%%%DOCSDIR%%/pymsgauth.txt
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/pymsgauthrc-example