aboutsummaryrefslogtreecommitdiff
path: root/textproc/p5-XML-STX/Makefile
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/Makefile
parentf83af9fadf126ce99ee41552d898bc5eb04fd222 (diff)
Notes
Diffstat (limited to 'textproc/p5-XML-STX/Makefile')
-rw-r--r--textproc/p5-XML-STX/Makefile4
1 files changed, 2 insertions, 2 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>