diff options
Diffstat (limited to 'textproc/xt/Makefile')
-rw-r--r-- | textproc/xt/Makefile | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/textproc/xt/Makefile b/textproc/xt/Makefile index 70bcba1cf727..69ae1b67521e 100644 --- a/textproc/xt/Makefile +++ b/textproc/xt/Makefile @@ -19,10 +19,10 @@ USE_JAVA= YES JAVA_VERSION= 1.6+ NO_BUILD= YES -.if !defined(NOPORTDOCS) +OPTIONS_DEFINE= DOCS + OTHERDOCS= copying.txt copyingjc.txt index.html PORTDOCS= ${OTHERDOCS} api -.endif SAMPLES= date.xsl nxml.xsl slides.xml slides.xsl sort-uniq.xml \ sort-uniq.xsl split.xml split.xsl textfile.xml textfile.xsl @@ -43,13 +43,11 @@ do-install: ${MKDIR} ${STAGEDIR}${EXAMPLESDIR} cd ${WRKSRC}/demo && ${INSTALL_DATA} ${SAMPLES} ${STAGEDIR}${EXAMPLESDIR}/ @${ECHO_MSG} " [ DONE ]" -.if !defined(NOPORTDOCS) @${ECHO_MSG} ">> Installing documentation in ${DOCSDIR}..." ${MKDIR} ${STAGEDIR}${DOCSDIR} cd ${WRKSRC}/doc && ${FIND} api \ | ${CPIO} -pdmu -R ${SHAREOWN}:${SHAREGRP} ${STAGEDIR}${DOCSDIR} > /dev/null 2>&1 cd ${WRKSRC} && ${INSTALL_DATA} ${OTHERDOCS} ${STAGEDIR}${DOCSDIR}/ @${ECHO_MSG} " [ DONE ]" -.endif .include <bsd.port.mk> |