6ab958cbb1
PR: ports/72950 Submitted by: Kimura Fuyuki (maintainer)
38 lines
1 KiB
Makefile
38 lines
1 KiB
Makefile
# New ports collection makefile for: Queequeg
|
|
# Date created: 28 February 2004
|
|
# Whom: Kimura Fuyuki <fuyuki@nigredo.org>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= queequeg
|
|
PORTVERSION= 0.91
|
|
CATEGORIES= textproc
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
|
MASTER_SITE_SUBDIR= ${PORTNAME}
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= A tiny English grammar checker
|
|
|
|
BUILD_DEPENDS= wn:${PORTSDIR}/textproc/wordnet \
|
|
${PYTHON_SITELIBDIR}/cdbmodule.so:${PORTSDIR}/databases/py-cdb
|
|
RUN_DEPENDS= ${PYTHON_SITELIBDIR}/cdbmodule.so:${PORTSDIR}/databases/py-cdb
|
|
|
|
USE_PYTHON= 2.3+
|
|
MAKE_ARGS= dict WORDNETDICT="${LOCALBASE}/share/WordNet-*"
|
|
|
|
.if !defined(NOPORTDOCS)
|
|
PORTDOCS= address.png index-e.html index.html
|
|
.endif
|
|
|
|
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
|
|
|
|
.include <bsd.port.mk>
|