freebsd-ports/textproc/nltk/Makefile
2006-09-17 01:40:34 +00:00

36 lines
810 B
Makefile

# ex:ts=8
# Ports collection makefile for: nltk
# Date created: Oct 30, 2003
# Whom: clsung
#
# $FreeBSD$
#
PORTNAME= nltk
PORTVERSION= 1.4.4
CATEGORIES= textproc python
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
MAINTAINER= clsung@FreeBSD.org
COMMENT= Natural language toolkit written in python
BROKEN= Incorrect pkg-plist
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,^${TARGETDIR}/,,' >> ${TMPPLIST}
@${FIND} ${PYTHON_SITELIBDIR}/nltk -type d | ${SORT} -r | \
${SED} 's,^${TARGETDIR}/,@dirrmtry ,' >> ${TMPPLIST}
.include <bsd.port.post.mk>