diff options
author | Thierry Thomas <thierry@FreeBSD.org> | 2008-06-01 20:39:59 +0000 |
---|---|---|
committer | Thierry Thomas <thierry@FreeBSD.org> | 2008-06-01 20:39:59 +0000 |
commit | f3cb0b03a7ea58ceade6031717c5c3dd5a49265e (patch) | |
tree | 262cb07f61b02a481a7bf8477fd6d7d83653b1f9 /textproc/libtextcat | |
parent | 2f64191742fd7149394daa58e32c675064f01c17 (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/Makefile | 2 |
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/ && \ |