1b1b29c5e6
Note: Python 2.3 is't longer supported and have a lot of security issues. Convert 2.3+ to yes/or 2.4/5+ With hat: portmgr
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
|
|
PORTREVISION= 1
|
|
CATEGORIES= textproc
|
|
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION}
|
|
|
|
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= yes
|
|
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>
|