aboutsummaryrefslogtreecommitdiff
path: root/dns/p5-DNS-Config
diff options
context:
space:
mode:
authorVanilla I. Shu <vanilla@FreeBSD.org>2013-11-03 07:46:27 +0000
committerVanilla I. Shu <vanilla@FreeBSD.org>2013-11-03 07:46:27 +0000
commit00afe0823b9606d6b31125eb813c00c09e537fed (patch)
treeba8ca524ba7a11b602fa06d9b2f833679f8c4873 /dns/p5-DNS-Config
parent2bf8c2e6f0a695ad1d8cb2260e0bda0597634f58 (diff)
downloadports-00afe0823b9606d6b31125eb813c00c09e537fed.tar.gz
ports-00afe0823b9606d6b31125eb813c00c09e537fed.zip
Notes
Diffstat (limited to 'dns/p5-DNS-Config')
-rw-r--r--dns/p5-DNS-Config/Makefile5
-rw-r--r--dns/p5-DNS-Config/pkg-plist8
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