diff --git a/textproc/queequeg/Makefile b/textproc/queequeg/Makefile index 669d9c3b3513..95cce66b9e8f 100644 --- a/textproc/queequeg/Makefile +++ b/textproc/queequeg/Makefile @@ -8,28 +8,25 @@ CATEGORIES= textproc MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION} MAINTAINER= ports@FreeBSD.org -COMMENT= A tiny English grammar checker +COMMENT= Tiny English grammar checker -BUILD_DEPENDS= wn:${PORTSDIR}/textproc/wordnet \ +BUILD_DEPENDS= python:${PORTSDIR}/lang/python \ + wn:${PORTSDIR}/textproc/wordnet \ + ${PYTHON_SITELIBDIR}/cdbmodule.so:${PORTSDIR}/databases/py-cdb +RUN_DEPENDS= python:${PORTSDIR}/lang/python \ ${PYTHON_SITELIBDIR}/cdbmodule.so:${PORTSDIR}/databases/py-cdb -RUN_DEPENDS= ${PYTHON_SITELIBDIR}/cdbmodule.so:${PORTSDIR}/databases/py-cdb -USE_PYTHON= yes +USE_PYTHON= 2 MAKE_ARGS= dict WORDNETDICT="${LOCALBASE}/share/WordNet" -.if !defined(NOPORTDOCS) PORTDOCS= address.png index-e.html index.html -.endif -NO_STAGE= yes do-install: - ${MKDIR} ${DATADIR} - ${INSTALL_SCRIPT} ${WRKSRC}/qq ${DATADIR} - ${LN} -shf ${DATADIR}/qq ${PREFIX}/bin/qq - ${INSTALL_DATA} ${WRKSRC}/*.py ${WRKSRC}/dict.cdb ${DATADIR} -.if !defined(NOPORTDOCS) - ${MKDIR} ${DOCSDIR} - cd ${WRKSRC}/htdocs; ${INSTALL_DATA} * ${DOCSDIR} -.endif + ${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} .include