Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 26 Mar 2002 15:45:22 +0900 (KST)
From:      Hye-Shik Chang <perky@fallin.lv>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/36323: New port: textproc/py-wordnet
Message-ID:  <200203260645.g2Q6jMh95330@akaraka.yonsei.ac.kr>

next in thread | raw e-mail | index | archive | help

>Number:         36323
>Category:       ports
>Synopsis:       New port: textproc/py-wordnet
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Mon Mar 25 22:50:01 PST 2002
>Closed-Date:
>Last-Modified:
>Originator:     Hye-Shik Chang
>Release:        FreeBSD 4.5-STABLE i386
>Organization:
Yonsei University
>Environment:
System: FreeBSD akaraka.yonsei.ac.kr 4.5-STABLE FreeBSD 4.5-STABLE #0: Wed Mar 20 18:27:02 KST 2002 root@sbtm.yonsei.ac.kr:/usr/src/sys/compile/JOARRA i386

>Description:
PyWordNet is a Python interface to the WordNet database of word meanings
and lexical relationships.  (A lexical relationship is a relationship
between words, such as synonym, antonym, hypernym ("poodle" -> "dog"),
and hyponym ("poodle" -> "dog").

>How-To-Repeat:
>Fix:

# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	py-wordnet
#	py-wordnet/Makefile
#	py-wordnet/distinfo
#	py-wordnet/pkg-comment
#	py-wordnet/pkg-descr
#	py-wordnet/pkg-plist
#
echo c - py-wordnet
mkdir -p py-wordnet > /dev/null 2>&1
echo x - py-wordnet/Makefile
sed 's/^X//' >py-wordnet/Makefile << 'END-of-py-wordnet/Makefile'
X# New ports collection makefile for:	py-wordnet
X# Date created:		26 March 2002
X# Whom:			Hye-Shik Chang <perky@fallin.lv>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	wordnet
XPORTVERSION=	1.4
XCATEGORIES=	textproc python
XMASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
XMASTER_SITE_SUBDIR=	pywordnet
XPKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
XDISTNAME=	pywordnet-${PORTVERSION}
X
XMAINTAINER=	perky@fallin.lv
X
XRUN_DEPENDS=	${WORDNETBASE}/lexnames:${PORTSDIR}/textproc/wordnet
X
XUSE_PYTHON=	yes
XSETUP_CMD=	cd ${WRKSRC} && ${PYTHON_CMD} setup.py
XWORDNETBASE?=	${PREFIX}/share/wordnet-${WORDNET_VERSION}
XWORDNET_VERSION?=	1.7
X
Xpost-patch:
X	@${SED} -e 's|/usr/local/wordnet1.6|${WORDNETBASE}|g' \
X		-e 's|os.path.join(WNHOME.*))|WNHOME)|g' ${WRKSRC}/wordnet.py \
X		> ${WRKSRC}/wordnet.py.tmp && ${CAT} ${WRKSRC}/wordnet.py.tmp \
X		> ${WRKSRC}/wordnet.py
X
Xdo-build:
X	${SETUP_CMD} build
X
Xdo-install:
X	${SETUP_CMD} install -c -O1 --prefix=${PREFIX}
X
X.include <bsd.port.mk>
END-of-py-wordnet/Makefile
echo x - py-wordnet/distinfo
sed 's/^X//' >py-wordnet/distinfo << 'END-of-py-wordnet/distinfo'
XMD5 (pywordnet-1.4.tar.gz) = 791c796699d4c2cd6bd37ec32a232561
END-of-py-wordnet/distinfo
echo x - py-wordnet/pkg-comment
sed 's/^X//' >py-wordnet/pkg-comment << 'END-of-py-wordnet/pkg-comment'
XPython Interface to WordNet
END-of-py-wordnet/pkg-comment
echo x - py-wordnet/pkg-descr
sed 's/^X//' >py-wordnet/pkg-descr << 'END-of-py-wordnet/pkg-descr'
XPyWordNet is a Python interface to the WordNet database of word meanings
Xand lexical relationships.  (A lexical relationship is a relationship
Xbetween words, such as synonym, antonym, hypernym ("poodle" -> "dog"),
Xand hyponym ("poodle" -> "dog").
X
XWWW: http://pywordnet.sourceforge.net/
END-of-py-wordnet/pkg-descr
echo x - py-wordnet/pkg-plist
sed 's/^X//' >py-wordnet/pkg-plist << 'END-of-py-wordnet/pkg-plist'
Xlib/%%PYTHON_VERSION%%/site-packages/wordnet.py
Xlib/%%PYTHON_VERSION%%/site-packages/wordnet.pyc
Xlib/%%PYTHON_VERSION%%/site-packages/wordnet.pyo
Xlib/%%PYTHON_VERSION%%/site-packages/wntools.py
Xlib/%%PYTHON_VERSION%%/site-packages/wntools.pyc
Xlib/%%PYTHON_VERSION%%/site-packages/wntools.pyo
END-of-py-wordnet/pkg-plist
exit

>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200203260645.g2Q6jMh95330>