diff options
author | thierry <thierry@FreeBSD.org> | 2014-04-28 03:15:43 +0800 |
---|---|---|
committer | thierry <thierry@FreeBSD.org> | 2014-04-28 03:15:43 +0800 |
commit | 7ac85ad456f0a6e59572d3dd87f2b165812d0510 (patch) | |
tree | ee9cbd84da388bd9263b6b40ca54e9b0a41b8ce2 /textproc | |
parent | abbcc8d0340eece6d507f2f7ded02af135c9ce92 (diff) | |
download | freebsd-ports-gnome-7ac85ad456f0a6e59572d3dd87f2b165812d0510.tar.gz freebsd-ports-gnome-7ac85ad456f0a6e59572d3dd87f2b165812d0510.tar.zst freebsd-ports-gnome-7ac85ad456f0a6e59572d3dd87f2b165812d0510.zip |
- Stagify;
- Fix the license.
Diffstat (limited to 'textproc')
-rw-r--r-- | textproc/libtextcat/Makefile | 17 |
1 files changed, 8 insertions, 9 deletions
diff --git a/textproc/libtextcat/Makefile b/textproc/libtextcat/Makefile index d6ed6b95cba2..6b2931cef247 100644 --- a/textproc/libtextcat/Makefile +++ b/textproc/libtextcat/Makefile @@ -10,7 +10,7 @@ MASTER_SITES= http://software.wise-guys.nl/download/ MAINTAINER= thierry@FreeBSD.org COMMENT= Language guessing by N-Gram-Based Text Categorization -LICENSE= BSD +LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE USE_AUTOTOOLS= libtool @@ -19,23 +19,22 @@ USE_LDCONFIG= yes PORTDOCS= LICENSE README TODO -NO_STAGE= yes .include <bsd.port.pre.mk> -.if exists($(PREFIX)/lib/libtextcat.a) +.if exists(${PREFIX}/lib/libtextcat.a) CONFLICTS_INSTALL= libexttextcat* .endif post-install: - ${INSTALL_DATA} ${WRKSRC}/src/textcat.h ${PREFIX}/include/ - ${MKDIR} ${DATADIR}/LM + ${INSTALL_DATA} ${WRKSRC}/src/textcat.h ${STAGEDIR}${PREFIX}/include/ + ${MKDIR} ${STAGEDIR}${DATADIR}/LM @${ECHO_MSG} "Installing language models provided in Gertjan van Noord's TextCat package" (cd ${WRKSRC}/langclass/LM && \ - ${FIND} . -name "*.lm" -exec ${INSTALL_DATA} "{}" "${DATADIR}/LM/{}" \;) - ${INSTALL_DATA} ${WRKSRC}/langclass/conf.txt "${DATADIR}" + ${FIND} . -name "*.lm" -exec ${INSTALL_DATA} "{}" "${STAGEDIR}${DATADIR}/LM/{}" \;) + ${INSTALL_DATA} ${WRKSRC}/langclass/conf.txt "${STAGEDIR}${DATADIR}" .if !defined(NOPORTDOCS) - ${MKDIR} ${DOCSDIR} - ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR} + ${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR} .endif regression-test: |