svn commit: r470379 - head/dns/p5-Tie-DNS
Sunpoet Po-Chuan Hsieh
sunpoet at FreeBSD.org
Sat May 19 11:06:33 UTC 2018
Author: sunpoet
Date: Sat May 19 11:06:31 2018
New Revision: 470379
URL: https://svnweb.freebsd.org/changeset/ports/470379
Log:
Convert to options target helper
- Convert PORTEXAMPLES=* to PLIST entries
Modified:
head/dns/p5-Tie-DNS/Makefile
head/dns/p5-Tie-DNS/pkg-plist
Modified: head/dns/p5-Tie-DNS/Makefile
==============================================================================
--- head/dns/p5-Tie-DNS/Makefile Sat May 19 11:06:25 2018 (r470378)
+++ head/dns/p5-Tie-DNS/Makefile Sat May 19 11:06:31 2018 (r470379)
@@ -26,11 +26,9 @@ NO_ARCH= yes
USE_PERL5= configure
USES= perl5 shebangfix
-PORTEXAMPLES= *
-
SHEBANG_FILES= eg/*.pl
-post-install:
+post-install-EXAMPLES-on:
${MKDIR} ${STAGEDIR}${EXAMPLESDIR}/
${INSTALL_DATA} ${WRKSRC}/eg/*.pl ${STAGEDIR}${EXAMPLESDIR}/
Modified: head/dns/p5-Tie-DNS/pkg-plist
==============================================================================
--- head/dns/p5-Tie-DNS/pkg-plist Sat May 19 11:06:25 2018 (r470378)
+++ head/dns/p5-Tie-DNS/pkg-plist Sat May 19 11:06:31 2018 (r470379)
@@ -1,2 +1,9 @@
%%SITE_PERL%%/Tie/DNS.pm
%%PERL5_MAN3%%/Tie::DNS.3.gz
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/example1.pl
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/example2.pl
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/example3.pl
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/example4.pl
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/example5.pl
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/example6.pl
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/example7.pl
More information about the svn-ports-all
mailing list