1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-25 00:51:21 +00:00
freebsd-ports/textproc/queequeg/Makefile
William Grzybowski fa7d38bb4f textproc/queequeg: depend explicitly on "python" and stagify
Reported by:	exp-run (PR 184591)
2013-12-14 22:53:11 +00:00

33 lines
997 B
Makefile

# Created by: Kimura Fuyuki <fuyuki@nigredo.org>
# $FreeBSD$
PORTNAME= queequeg
PORTVERSION= 0.91
PORTREVISION= 1
CATEGORIES= textproc
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 \
${PYTHON_SITELIBDIR}/cdbmodule.so:${PORTSDIR}/databases/py-cdb
USE_PYTHON= 2
MAKE_ARGS= dict WORDNETDICT="${LOCALBASE}/share/WordNet"
PORTDOCS= address.png index-e.html index.html
do-install:
${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>