diff options
author | thierry <thierry@FreeBSD.org> | 2008-06-02 04:39:59 +0800 |
---|---|---|
committer | thierry <thierry@FreeBSD.org> | 2008-06-02 04:39:59 +0800 |
commit | c64a42832e187f1f9971b8f62cee5419cf901701 (patch) | |
tree | 1d51abef7ef82b0a6ccf80ac8127619813cdb1e4 /textproc | |
parent | 74a40b69b22fa1e9dd1769eb02c6727b5a0dece9 (diff) | |
download | freebsd-ports-gnome-c64a42832e187f1f9971b8f62cee5419cf901701.tar.gz freebsd-ports-gnome-c64a42832e187f1f9971b8f62cee5419cf901701.tar.zst freebsd-ports-gnome-c64a42832e187f1f9971b8f62cee5419cf901701.zip |
Fix plist with NOPORTDOCS.
Reported by: itetcu
Diffstat (limited to 'textproc')
-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/ && \ |