Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 19 May 2018 11:06:31 +0000 (UTC)
From:      Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r470379 - head/dns/p5-Tie-DNS
Message-ID:  <201805191106.w4JB6VlB036918@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201805191106.w4JB6VlB036918>