aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2013-10-19 21:54:48 +0000
committerSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2013-10-19 21:54:48 +0000
commit634e4b211b9604fad5cba926f688bc58a2c401af (patch)
treec2c5eead99b2a4fa58ba8dd17e83807356add3b0
parentdfe397d07e37cd90e58425f10e70406f996b493f (diff)
downloadports-634e4b211b9604fad5cba926f688bc58a2c401af.tar.gz
ports-634e4b211b9604fad5cba926f688bc58a2c401af.zip
Notes
-rw-r--r--devel/p5-Module-Build/Makefile29
-rw-r--r--devel/p5-Module-Build/pkg-plist24
2 files changed, 26 insertions, 27 deletions
diff --git a/devel/p5-Module-Build/Makefile b/devel/p5-Module-Build/Makefile
index 0be6634e290a..9196af1758ab 100644
--- a/devel/p5-Module-Build/Makefile
+++ b/devel/p5-Module-Build/Makefile
@@ -23,33 +23,8 @@ PORTSCOUT= skipv:0.31011,0.31012
USES= perl5
USE_PERL5= modbuild
-MAN3= inc::latest.3 \
- Module::Build.3 \
- Module::Build::Bundling.3 \
- Module::Build::API.3 \
- Module::Build::Authoring.3 \
- Module::Build::Base.3 \
- Module::Build::Compat.3 \
- Module::Build::ConfigData.3 \
- Module::Build::Cookbook.3 \
- Module::Build::ModuleInfo.3 \
- Module::Build::Notes.3 \
- Module::Build::PPMMaker.3 \
- Module::Build::Platform::Default.3 \
- Module::Build::Platform::MacOS.3 \
- Module::Build::Platform::Unix.3 \
- Module::Build::Platform::VMS.3 \
- Module::Build::Platform::VOS.3 \
- Module::Build::Platform::Windows.3 \
- Module::Build::Platform::aix.3 \
- Module::Build::Platform::cygwin.3 \
- Module::Build::Platform::darwin.3 \
- Module::Build::Platform::os2.3 \
- Module::Build::Version.3 \
- Module::Build::YAML.3
PORTDOCS= Changes INSTALL README
-NO_STAGE= yes
.include <bsd.port.pre.mk>
.if ${PERL_LEVEL} < 501400
@@ -74,8 +49,8 @@ post-patch:
post-install:
.if ${PORT_OPTIONS:MDOCS}
- ${MKDIR} ${DOCSDIR}/
- ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR}/
+ ${MKDIR} ${STAGEDIR}${DOCSDIR}/
+ cd ${WRKSRC}/ && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}/
@${ECHO_MSG} "===> Documentation installed in ${DOCSDIR}."
.endif
diff --git a/devel/p5-Module-Build/pkg-plist b/devel/p5-Module-Build/pkg-plist
index 7174cd6907cb..522890f627ff 100644
--- a/devel/p5-Module-Build/pkg-plist
+++ b/devel/p5-Module-Build/pkg-plist
@@ -26,6 +26,30 @@
%%SITE_PERL%%/Module/Build/YAML.pm
%%SITE_PERL%%/inc/latest.pm
%%SITE_PERL%%/inc/latest/private.pm
+%%PERL5_MAN3%%/Module::Build.3.gz
+%%PERL5_MAN3%%/Module::Build::API.3.gz
+%%PERL5_MAN3%%/Module::Build::Authoring.3.gz
+%%PERL5_MAN3%%/Module::Build::Base.3.gz
+%%PERL5_MAN3%%/Module::Build::Bundling.3.gz
+%%PERL5_MAN3%%/Module::Build::Compat.3.gz
+%%PERL5_MAN3%%/Module::Build::ConfigData.3.gz
+%%PERL5_MAN3%%/Module::Build::Cookbook.3.gz
+%%PERL5_MAN3%%/Module::Build::ModuleInfo.3.gz
+%%PERL5_MAN3%%/Module::Build::Notes.3.gz
+%%PERL5_MAN3%%/Module::Build::PPMMaker.3.gz
+%%PERL5_MAN3%%/Module::Build::Platform::Default.3.gz
+%%PERL5_MAN3%%/Module::Build::Platform::MacOS.3.gz
+%%PERL5_MAN3%%/Module::Build::Platform::Unix.3.gz
+%%PERL5_MAN3%%/Module::Build::Platform::VMS.3.gz
+%%PERL5_MAN3%%/Module::Build::Platform::VOS.3.gz
+%%PERL5_MAN3%%/Module::Build::Platform::Windows.3.gz
+%%PERL5_MAN3%%/Module::Build::Platform::aix.3.gz
+%%PERL5_MAN3%%/Module::Build::Platform::cygwin.3.gz
+%%PERL5_MAN3%%/Module::Build::Platform::darwin.3.gz
+%%PERL5_MAN3%%/Module::Build::Platform::os2.3.gz
+%%PERL5_MAN3%%/Module::Build::Version.3.gz
+%%PERL5_MAN3%%/Module::Build::YAML.3.gz
+%%PERL5_MAN3%%/inc::latest.3.gz
@dirrm %%SITE_PERL%%/inc/latest
@dirrm %%SITE_PERL%%/inc
@dirrm %%SITE_PERL%%/Module/Build/Platform