diff options
author | vanilla <vanilla@FreeBSD.org> | 2013-11-03 15:46:27 +0800 |
---|---|---|
committer | vanilla <vanilla@FreeBSD.org> | 2013-11-03 15:46:27 +0800 |
commit | 63a42ccd59b336bc2a54c131c29c27f5d12ae489 (patch) | |
tree | ba8ca524ba7a11b602fa06d9b2f833679f8c4873 /dns/p5-DNS-Config | |
parent | 31601bee64524e5180224d316be00466b026fbcb (diff) | |
download | freebsd-ports-gnome-63a42ccd59b336bc2a54c131c29c27f5d12ae489.tar.gz freebsd-ports-gnome-63a42ccd59b336bc2a54c131c29c27f5d12ae489.tar.zst freebsd-ports-gnome-63a42ccd59b336bc2a54c131c29c27f5d12ae489.zip |
Support STAGEDIR.
Diffstat (limited to 'dns/p5-DNS-Config')
-rw-r--r-- | dns/p5-DNS-Config/Makefile | 5 | ||||
-rw-r--r-- | dns/p5-DNS-Config/pkg-plist | 8 |
2 files changed, 6 insertions, 7 deletions
diff --git a/dns/p5-DNS-Config/Makefile b/dns/p5-DNS-Config/Makefile index 91aab7b3ff06..acde5d4aec7a 100644 --- a/dns/p5-DNS-Config/Makefile +++ b/dns/p5-DNS-Config/Makefile @@ -14,7 +14,6 @@ COMMENT= DNS::Config is set of perl modules for name service configurations 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-Config/pkg-plist b/dns/p5-DNS-Config/pkg-plist index 45abd59d304f..1a34c8e0f272 100644 --- a/dns/p5-DNS-Config/pkg-plist +++ b/dns/p5-DNS-Config/pkg-plist @@ -10,8 +10,8 @@ %%SITE_PERL%%/%%PERL_ARCH%%/auto/DNS-Config/.packlist %%PORTDOCS%%%%DOCSDIR%%/README %%PORTDOCS%%@dirrm %%DOCSDIR%% -@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/DNS-Config -@dirrm %%SITE_PERL%%/DNS/Config/Statement -@dirrm %%SITE_PERL%%/DNS/Config/File -@dirrm %%SITE_PERL%%/DNS/Config +@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/DNS-Config +@dirrmtry %%SITE_PERL%%/DNS/Config/Statement +@dirrmtry %%SITE_PERL%%/DNS/Config/File +@dirrmtry %%SITE_PERL%%/DNS/Config @dirrmtry %%SITE_PERL%%/DNS |