1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-15 03:14:23 +00:00

Convert to options target helper

- Convert PORTEXAMPLES=* to PLIST entries
This commit is contained in:
Sunpoet Po-Chuan Hsieh 2018-05-19 11:06:31 +00:00
parent 4d1346e9ee
commit c4ea032a24
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=470379
2 changed files with 8 additions and 3 deletions

View File

@ -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}/

View File

@ -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