610c77bfaa
- use DISTVERSION instead PORTVERION to avoid bumping of PORTEPOCH in future updates - bump PORTEPOCH - ${MASTER_SITES_GOOGLE_CODE} -> GOOGLE_CODE - define RUN_DEPENDS exactly (portlint warning) - fix egginfo after switching to DISTVERSION - whitespace fixes in pkg-descr PR: ports/157964 Submitted by: Ruslan Mahmatkhanov <cvs-src_AT_yandex dot ru>
37 lines
1 KiB
Makefile
37 lines
1 KiB
Makefile
# Ports collection makefile for: nltk
|
|
# Date created: Oct 30, 2003
|
|
# Whom: clsung
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= nltk
|
|
DISTVERSION= 2.0.1rc1
|
|
PORTEPOCH= 2
|
|
CATEGORIES= textproc python
|
|
MASTER_SITES= 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 \
|
|
${PYTHON_SITELIBDIR}/yaml/__init__.py:${PORTSDIR}/devel/py-yaml
|
|
RUN_DEPENDS= ${PYTHON_SITELIBDIR}/_tkinter.so:${PORTSDIR}/x11-toolkits/py-tkinter \
|
|
${PYTHON_SITELIBDIR}/yaml/__init__.py:${PORTSDIR}/devel/py-yaml
|
|
|
|
LICENSE= ASL
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE.txt
|
|
|
|
PYDISTUTILS_EGGINFO= ${PORTNAME}-${DISTVERSION}-py${PYTHON_VER}.egg-info
|
|
USE_PYTHON= 2.5+
|
|
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}
|
|
|
|
.include <bsd.port.mk>
|