diff options
author | Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2018-05-19 11:06:31 +0000 |
---|---|---|
committer | Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2018-05-19 11:06:31 +0000 |
commit | c4ea032a24134db9615fc6408a39c72be5621a0b (patch) | |
tree | 6c7e0bd2e3ab04650ea8c096e06ebac888d1d50f /dns/p5-Tie-DNS | |
parent | 4d1346e9eea84c7ceaae963277177bda54b38744 (diff) | |
download | ports-c4ea032a24134db9615fc6408a39c72be5621a0b.tar.gz ports-c4ea032a24134db9615fc6408a39c72be5621a0b.zip |
Convert to options target helper
- Convert PORTEXAMPLES=* to PLIST entries
Notes
Notes:
svn path=/head/; revision=470379
Diffstat (limited to 'dns/p5-Tie-DNS')
-rw-r--r-- | dns/p5-Tie-DNS/Makefile | 4 | ||||
-rw-r--r-- | dns/p5-Tie-DNS/pkg-plist | 7 |
2 files changed, 8 insertions, 3 deletions
diff --git a/dns/p5-Tie-DNS/Makefile b/dns/p5-Tie-DNS/Makefile index f85ca83c5b45..f78ac5c6b9c1 100644 --- a/dns/p5-Tie-DNS/Makefile +++ b/dns/p5-Tie-DNS/Makefile @@ -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}/ diff --git a/dns/p5-Tie-DNS/pkg-plist b/dns/p5-Tie-DNS/pkg-plist index 5162b6de83ee..e3233ce21893 100644 --- a/dns/p5-Tie-DNS/pkg-plist +++ b/dns/p5-Tie-DNS/pkg-plist @@ -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 |