mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-21 00:25:50 +00:00
textproc/queequeg: depend explicitly on "python" and stagify
Reported by: exp-run (PR 184591)
This commit is contained in:
parent
8f90aadb70
commit
fa7d38bb4f
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=336494
@ -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 <bsd.port.mk>
|
||||
|
Loading…
Reference in New Issue
Block a user