diff options
author | adamw <adamw@FreeBSD.org> | 2014-07-05 06:50:40 +0800 |
---|---|---|
committer | adamw <adamw@FreeBSD.org> | 2014-07-05 06:50:40 +0800 |
commit | 21663189e0431d1ddc458a3cebb81d41f36e76aa (patch) | |
tree | cddd9991fc9d4b10a6996ebf4fafeeaf1d756cbe /textproc/p5-XML-STX | |
parent | 97b5c32b7f887c5fe44752a77778ac64784257e4 (diff) | |
download | freebsd-ports-gnome-21663189e0431d1ddc458a3cebb81d41f36e76aa.tar.gz freebsd-ports-gnome-21663189e0431d1ddc458a3cebb81d41f36e76aa.tar.zst freebsd-ports-gnome-21663189e0431d1ddc458a3cebb81d41f36e76aa.zip |
Remove NOPORTDOCS and NOPORTEXAMPLES.
Diffstat (limited to 'textproc/p5-XML-STX')
-rw-r--r-- | textproc/p5-XML-STX/Makefile | 4 | ||||
-rw-r--r-- | textproc/p5-XML-STX/pkg-plist | 6 |
2 files changed, 5 insertions, 5 deletions
diff --git a/textproc/p5-XML-STX/Makefile b/textproc/p5-XML-STX/Makefile index d78d8afb27f5..a829b455c46b 100644 --- a/textproc/p5-XML-STX/Makefile +++ b/textproc/p5-XML-STX/Makefile @@ -18,6 +18,8 @@ RUN_DEPENDS:= ${BUILD_DEPENDS} USES= perl5 USE_PERL5= configure patch +OPTIONS_DEFINE= DOCS EXAMPLES + post-extract: @${MKDIR} ${WRKSRC}/scripts @${MV} ${WRKSRC}/stx*.pl ${WRKSRC}/scripts @@ -29,13 +31,11 @@ post-configure: @${PERL} -pi -e 's/^(POD2MAN_EXE.*)$$/\1 --lax/;' ${WRKSRC}/Makefile post-install: -.ifndef(NOPORTDOCS) @${ECHO_MSG} "===> Installing additional documentation for ${PKGNAME}" @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/doc/* ${STAGEDIR}${DOCSDIR} @${ECHO_MSG} "===> Installing examples for ${PKGNAME}" @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} ${INSTALL_SCRIPT} ${WRKSRC}/examples/* ${STAGEDIR}${EXAMPLESDIR} -.endif .include <bsd.port.mk> diff --git a/textproc/p5-XML-STX/pkg-plist b/textproc/p5-XML-STX/pkg-plist index e6afa0089af6..105e9d1d6109 100644 --- a/textproc/p5-XML-STX/pkg-plist +++ b/textproc/p5-XML-STX/pkg-plist @@ -24,9 +24,9 @@ bin/stxview.pl %%PORTDOCS%%%%DOCSDIR%%/STX.html %%PORTDOCS%%%%DOCSDIR%%/TrAXref.html %%PORTDOCS%%%%DOCSDIR%%/TrAXref.pod -%%PORTDOCS%%%%EXAMPLESDIR%%/stx-filter.pl -%%PORTDOCS%%%%EXAMPLESDIR%%/tester.pl -%%PORTDOCS%%@dirrm %%EXAMPLESDIR%% +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/stx-filter.pl +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/tester.pl +%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%% %%PORTDOCS%%@dirrm %%DOCSDIR%% @dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/XML/STX @dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/XML |