From 5fad809a5036ede0aa1484f20794ae259980b7fa Mon Sep 17 00:00:00 2001 From: Adam Weinberger Date: Fri, 4 Jul 2014 22:50:40 +0000 Subject: Remove NOPORTDOCS and NOPORTEXAMPLES. --- textproc/p5-XML-STX/Makefile | 4 ++-- textproc/p5-XML-STX/pkg-plist | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) (limited to 'textproc/p5-XML-STX') 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 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 -- cgit v1.2.3