diff options
author | Vanilla I. Shu <vanilla@FreeBSD.org> | 2013-11-03 07:46:27 +0000 |
---|---|---|
committer | Vanilla I. Shu <vanilla@FreeBSD.org> | 2013-11-03 07:46:27 +0000 |
commit | 00afe0823b9606d6b31125eb813c00c09e537fed (patch) | |
tree | ba8ca524ba7a11b602fa06d9b2f833679f8c4873 /dns/p5-DNS-Zone | |
parent | Support STAGEDIR. (diff) |
Support STAGEDIR.
Notes
Notes:
svn path=/head/; revision=332593
Diffstat (limited to 'dns/p5-DNS-Zone')
-rw-r--r-- | dns/p5-DNS-Zone/Makefile | 5 | ||||
-rw-r--r-- | dns/p5-DNS-Zone/pkg-plist | 6 |
2 files changed, 5 insertions, 6 deletions
diff --git a/dns/p5-DNS-Zone/Makefile b/dns/p5-DNS-Zone/Makefile index 78bb88caeb44..4248ad468d31 100644 --- a/dns/p5-DNS-Zone/Makefile +++ b/dns/p5-DNS-Zone/Makefile @@ -14,7 +14,6 @@ COMMENT= DNS::Zone is set of perl modules for name service zone files USES= perl5 USE_PERL5= configure patch -NO_STAGE= yes post-patch: ${FIND} ${WRKSRC} -name '*.pm' -o -name '*.t' -o -name '*.PL' | \ ${XARGS} ${PERL} -pi -e '$$_="" if /^use 5/;' \ @@ -22,8 +21,8 @@ post-patch: post-install: .if !defined(NOPORTDOCS) - @${MKDIR} ${DOCSDIR} - ${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR} + @${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR} .endif .include <bsd.port.mk> diff --git a/dns/p5-DNS-Zone/pkg-plist b/dns/p5-DNS-Zone/pkg-plist index 781d1a1ce93f..573f28e8c623 100644 --- a/dns/p5-DNS-Zone/pkg-plist +++ b/dns/p5-DNS-Zone/pkg-plist @@ -6,7 +6,7 @@ %%SITE_PERL%%/%%PERL_ARCH%%/auto/DNS-Zone/.packlist %%PORTDOCS%%%%DOCSDIR%%/README %%PORTDOCS%%@dirrm %%DOCSDIR%% -@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/DNS-Zone -@dirrm %%SITE_PERL%%/DNS/Zone/File -@dirrm %%SITE_PERL%%/DNS/Zone +@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/DNS-Zone +@dirrmtry %%SITE_PERL%%/DNS/Zone/File +@dirrmtry %%SITE_PERL%%/DNS/Zone @dirrmtry %%SITE_PERL%%/DNS |