1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-24 04:33:24 +00:00
freebsd-ports/textproc/nltk/Makefile
Cheng-Lung Sung 6adf115354 My territory, suggested by ijliao. :p
Approved by:	vanilla (co-mentor)
2004-08-20 02:56:44 +00:00

35 lines
771 B
Makefile

# ex:ts=8
# Ports collection makefile for: nltk
# Date created: Oct 30, 2003
# Whom: clsung
#
# $FreeBSD$
#
PORTNAME= nltk
PORTVERSION= 1.4
CATEGORIES= textproc python
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
MAINTAINER= clsung@FreeBSD.org
COMMENT= Natural language toolkit written in python
USE_PYTHON= 2.3+
USE_PYDISTUTILS= yes
USE_PYTHON_PREFIX= yes
.include <bsd.port.pre.mk>
.if ${ARCH} == "alpha" && ${OSVERSION} < 500000
BROKEN= "Coredump during build on alpha 4.x"
.endif
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}
.include <bsd.port.post.mk>