diff --git a/devel/p5-App-Build/Makefile b/devel/p5-App-Build/Makefile index db252f8e3600..5bd52276be0f 100644 --- a/devel/p5-App-Build/Makefile +++ b/devel/p5-App-Build/Makefile @@ -7,6 +7,7 @@ PORTNAME= App-Build PORTVERSION= 0.72 +PORTREVISION= 1 CATEGORIES= devel perl5 MASTER_SITES= CPAN PKGNAMEPREFIX= p5- @@ -23,11 +24,10 @@ BUILD_DEPENDS= p5-Test-Differences>=0.47:${PORTSDIR}/devel/p5-Test-Differences \ PERL_MODBUILD= yes .if !defined(NOPORTDOCS) -PORTDOCS= CHANGES README post-install: @${MKDIR} ${DOCSDIR} - @${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR} + @${INSTALL_DATA} ${WRKSRC}/CHANGES ${WRKSRC}/README ${DOCSDIR} @${ECHO_MSG} "===> Documentation installed in ${DOCSDIR}." .endif diff --git a/devel/p5-App-Build/pkg-plist b/devel/p5-App-Build/pkg-plist index b94ba4cf32f2..aa22d418ec89 100644 --- a/devel/p5-App-Build/pkg-plist +++ b/devel/p5-App-Build/pkg-plist @@ -1,4 +1,5 @@ %%PORTDOCS%%%%DOCSDIR%%/CHANGES %%PORTDOCS%%%%DOCSDIR%%/README +%%PORTDOCS%%@dirrm %%DOCSDIR%% %%SITE_PERL%%/App/Build.pm @dirrmtry %%SITE_PERL%%/App