aboutsummaryrefslogtreecommitdiff
path: root/textproc/libtextcat
diff options
context:
space:
mode:
authorThierry Thomas <thierry@FreeBSD.org>2008-06-01 20:39:59 +0000
committerThierry Thomas <thierry@FreeBSD.org>2008-06-01 20:39:59 +0000
commitf3cb0b03a7ea58ceade6031717c5c3dd5a49265e (patch)
tree262cb07f61b02a481a7bf8477fd6d7d83653b1f9 /textproc/libtextcat
parent2f64191742fd7149394daa58e32c675064f01c17 (diff)
Fix plist with NOPORTDOCS.
Reported by: itetcu
Notes
Notes: svn path=/head/; revision=214146
Diffstat (limited to 'textproc/libtextcat')
-rw-r--r--textproc/libtextcat/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/textproc/libtextcat/Makefile b/textproc/libtextcat/Makefile
index 5313fe24a63e..51ba158139dc 100644
--- a/textproc/libtextcat/Makefile
+++ b/textproc/libtextcat/Makefile
@@ -32,8 +32,10 @@ post-install:
(cd ${WRKSRC}/langclass/LM && \
${FIND} . -name "*.lm" -exec ${INSTALL_DATA} "{}" "${DATADIR}/LM/{}" \;)
${INSTALL_DATA} ${WRKSRC}/langclass/conf.txt "${DATADIR}"
+.if !defined(NOPORTDOCS)
${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR}
+.endif
regression-test:
(cd ${WRKSRC}/langclass/ && \