freebsd-ports/textproc/nltk/Makefile
Cheng-Lung Sung bb6b91a51c - Update to 0.9.7
PR:		ports/130315
Submitted by:	Wen Heping <wenheping_AT_gmail dot com>
2009-01-21 06:45:55 +00:00

39 lines
1.1 KiB
Makefile

# Ports collection makefile for: nltk
# Date created: Oct 30, 2003
# Whom: clsung
#
# $FreeBSD$
#
PORTNAME= nltk
PORTVERSION= 0.9.7
PORTEPOCH= 1
CATEGORIES= textproc python
MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE}
MASTER_SITE_SUBDIR= ${PORTNAME}
MAINTAINER= clsung@FreeBSD.org
COMMENT= Natural language toolkit written in python
BUILD_DEPENDS= ${PYTHON_SITELIBDIR}/_tkinter.so:${PORTSDIR}/x11-toolkits/py-tkinter
RUN_DEPENDS= ${BUILD_DEPENDS}
USE_PYTHON= 2.4+
USE_PYDISTUTILS= yes
USE_PYTHON_PREFIX= yes
post-install:
@${FIND} ${PYTHON_SITELIBDIR}/nltk ! -type d | \
${SED} 's,^${PREFIX}/,,' >> ${TMPPLIST}
@${FIND} ${PYTHON_SITELIBDIR}/nltk -type d | ${SORT} -r | \
${SED} 's,^${PREFIX}/,@dirrm ,' >> ${TMPPLIST}
@${FIND} ${PYTHON_SITELIBDIR}/nltk_contrib ! -type d | \
${SED} 's,^${PREFIX}/,,' >> ${TMPPLIST}
@${FIND} ${PYTHON_SITELIBDIR}/nltk_contrib -type d | ${SORT} -r | \
${SED} 's,^${PREFIX}/,@dirrm ,' >> ${TMPPLIST}
@${FIND} ${PYTHON_SITELIBDIR}/yaml ! -type d | \
${SED} 's,^${PREFIX}/,,' >> ${TMPPLIST}
@${FIND} ${PYTHON_SITELIBDIR}/yaml -type d | ${SORT} -r | \
${SED} 's,^${PREFIX}/,@dirrm ,' >> ${TMPPLIST}
.include <bsd.port.mk>