aboutsummaryrefslogtreecommitdiff
path: root/textproc/p5-XML-STX
diff options
context:
space:
mode:
authorAdam Weinberger <adamw@FreeBSD.org>2014-07-04 22:50:40 +0000
committerAdam Weinberger <adamw@FreeBSD.org>2014-07-04 22:50:40 +0000
commit5fad809a5036ede0aa1484f20794ae259980b7fa (patch)
treecddd9991fc9d4b10a6996ebf4fafeeaf1d756cbe /textproc/p5-XML-STX
parentf83af9fadf126ce99ee41552d898bc5eb04fd222 (diff)
downloadports-5fad809a5036ede0aa1484f20794ae259980b7fa.tar.gz
ports-5fad809a5036ede0aa1484f20794ae259980b7fa.zip
Notes
Diffstat (limited to 'textproc/p5-XML-STX')
-rw-r--r--textproc/p5-XML-STX/Makefile4
-rw-r--r--textproc/p5-XML-STX/pkg-plist6
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