mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-01 05:45:45 +00:00
Update to 0.9.5. (The former nltk-lite has become the new nltk, thus the lower
version number - bumped PORTEPOCH accordingly.) PR: 126943 Submitted by: Wen heping <wenheping@gmail.com> Approved by: maintainer timeout (>4 months)
This commit is contained in:
parent
729a6b4a4d
commit
108ce68d60
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=225521
@ -1,4 +1,3 @@
|
||||
# ex:ts=8
|
||||
# Ports collection makefile for: nltk
|
||||
# Date created: Oct 30, 2003
|
||||
# Whom: clsung
|
||||
@ -7,7 +6,8 @@
|
||||
#
|
||||
|
||||
PORTNAME= nltk
|
||||
PORTVERSION= 1.4.4
|
||||
PORTVERSION= 0.9.5
|
||||
PORTEPOCH= 1
|
||||
CATEGORIES= textproc python
|
||||
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
||||
MASTER_SITE_SUBDIR= ${PORTNAME}
|
||||
@ -15,7 +15,10 @@ MASTER_SITE_SUBDIR= ${PORTNAME}
|
||||
MAINTAINER= clsung@FreeBSD.org
|
||||
COMMENT= Natural language toolkit written in python
|
||||
|
||||
USE_PYTHON= 2.3+
|
||||
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
|
||||
|
||||
@ -24,5 +27,13 @@ post-install:
|
||||
${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>
|
||||
|
@ -1,3 +1,3 @@
|
||||
MD5 (nltk-1.4.4.tar.gz) = fb402d42d71844fe4483affa100814e5
|
||||
SHA256 (nltk-1.4.4.tar.gz) = 053fa3bacd4782528551b3ce4e9f65237babba90213a989b184c0d19e02ebd0b
|
||||
SIZE (nltk-1.4.4.tar.gz) = 326455
|
||||
MD5 (nltk-0.9.5.tar.gz) = e4eada7c3a4f68119ad910d86cfff6a2
|
||||
SHA256 (nltk-0.9.5.tar.gz) = 2dc56cccff566177d7f1e86df055852ebfa821b46f94920b81e0a80c0626bd02
|
||||
SIZE (nltk-0.9.5.tar.gz) = 1177059
|
||||
|
Loading…
Reference in New Issue
Block a user