aboutsummaryrefslogtreecommitdiff
path: root/textproc/queequeg/Makefile
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2016-03-03 16:36:09 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2016-03-03 16:36:09 +0000
commit22979a9ebc8469221ce421b1eac0bcf072735bfb (patch)
tree0c40252d4e571d4970aa2bfd47404fbc958d710a /textproc/queequeg/Makefile
parentac75853206b09f08f935b7ceb41b17c2f3951dc6 (diff)
downloadports-22979a9ebc8469221ce421b1eac0bcf072735bfb.tar.gz
ports-22979a9ebc8469221ce421b1eac0bcf072735bfb.zip
Notes
Diffstat (limited to 'textproc/queequeg/Makefile')
-rw-r--r--textproc/queequeg/Makefile29
1 files changed, 19 insertions, 10 deletions
diff --git a/textproc/queequeg/Makefile b/textproc/queequeg/Makefile
index 55b807ec8001..ee5cda9b9067 100644
--- a/textproc/queequeg/Makefile
+++ b/textproc/queequeg/Makefile
@@ -10,23 +10,32 @@ MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= Tiny English grammar checker
-BUILD_DEPENDS= python:${PORTSDIR}/lang/python \
- wn:${PORTSDIR}/textproc/wordnet \
- ${PYTHON_SITELIBDIR}/cdbmodule.so:${PORTSDIR}/databases/py-cdb
-RUN_DEPENDS= python:${PORTSDIR}/lang/python \
+LICENSE= GPLv2
+LICENSE_FILE= ${WRKSRC}/COPYING
+
+BUILD_DEPENDS= wn:${PORTSDIR}/textproc/wordnet \
${PYTHON_SITELIBDIR}/cdbmodule.so:${PORTSDIR}/databases/py-cdb
+RUN_DEPENDS= ${PYTHON_SITELIBDIR}/cdbmodule.so:${PORTSDIR}/databases/py-cdb
-USES= python:2
-MAKE_ARGS= dict WORDNETDICT="${LOCALBASE}/share/WordNet"
+USES= python:2 shebangfix
+SHEBANG_FILES= *.py misc/*.py qq
+ALL_TARGET= dict
+MAKE_ARGS= WORDNETDICT="${LOCALBASE}/share/WordNet" \
+ PYTHON="${PYTHON_CMD}"
+NO_ARCH= yes
-PORTDOCS= address.png index-e.html index.html
+PORTDOCS= *
+
+OPTIONS_DEFINE= DOCS
do-install:
- ${MKDIR} ${STAGEDIR}${DATADIR}
+ @${MKDIR} ${STAGEDIR}${DATADIR}
${INSTALL_SCRIPT} ${WRKSRC}/qq ${STAGEDIR}${DATADIR}
${LN} -shf ${DATADIR}/qq ${STAGEDIR}${PREFIX}/bin/qq
${INSTALL_DATA} ${WRKSRC}/*.py ${WRKSRC}/dict.cdb ${STAGEDIR}${DATADIR}
- ${MKDIR} ${STAGEDIR}${DOCSDIR}
- cd ${WRKSRC}/htdocs; ${INSTALL_DATA} * ${STAGEDIR}${DOCSDIR}
+
+do-install-DOCS-on:
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/htdocs/* ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>