2000-05-01 04:40:51 +02:00
|
|
|
# New ports collection makefile for: wordnet
|
|
|
|
# Date created: 26 Feb 2000
|
|
|
|
# Whom: Mikhail Teterin <mi@aldan.algebra.com>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
2002-08-20 18:05:05 +02:00
|
|
|
PORTNAME= WordNet
|
2006-01-16 04:48:42 +01:00
|
|
|
PORTVERSION= 2.1
|
2000-05-01 04:40:51 +02:00
|
|
|
CATEGORIES= textproc
|
2001-10-31 06:04:29 +01:00
|
|
|
MASTER_SITES= ftp://ftp.cogsci.princeton.edu/pub/wordnet/${PORTVERSION}/ \
|
2004-02-17 22:51:14 +01:00
|
|
|
http://www.cogsci.princeton.edu/${PORTVERSION}/ \
|
2000-05-01 04:40:51 +02:00
|
|
|
ftp://ftp.ims.uni-stuttgart.de/pub/WordNet/${PORTVERSION}/
|
|
|
|
|
|
|
|
MAINTAINER= mi@aldan.algebra.com
|
2003-03-07 07:14:21 +01:00
|
|
|
COMMENT= Dictionaries and thesauri with devel. libraries (C, TCL) and browsers
|
2000-05-01 04:40:51 +02:00
|
|
|
|
2005-07-14 01:52:55 +02:00
|
|
|
LIB_DEPENDS= tk${TCL_VER}:${PORTSDIR}/x11-toolkits/tk${TCL_VER}
|
2000-05-01 04:40:51 +02:00
|
|
|
|
2004-02-17 22:28:23 +01:00
|
|
|
TCL_DVER?= 8.4
|
2002-08-20 18:05:05 +02:00
|
|
|
TCL_VER= ${TCL_DVER:C/\.//}
|
|
|
|
SCRIPTS_ENV+= TCL_DVER=${TCL_DVER} VER=${PORTVERSION}
|
|
|
|
MAKE_ENV+= TCL_DVER=${TCL_DVER} VER=${PORTVERSION}
|
2001-10-31 06:04:29 +01:00
|
|
|
PLIST_SUB+= TCL_DVER=${TCL_DVER} VER=${PORTVERSION}
|
2006-01-18 02:34:48 +01:00
|
|
|
USE_BZIP2= yes
|
2002-08-20 18:05:05 +02:00
|
|
|
REINPLACE_ARGS= -i ""
|
|
|
|
INSTALLS_SHLIB= yes
|
|
|
|
|
|
|
|
post-patch:
|
2006-01-16 04:48:42 +01:00
|
|
|
${REINPLACE_CMD} -e 's,/usr/local/WordNet-2.1,${DATADIR},g' \
|
|
|
|
${WRKSRC}/src/wnb ${WRKSRC}/doc/man/*.?
|
|
|
|
${REINPLACE_CMD} -e 's, *\\n,\\n,' ${WRKSRC}/include/wn.h
|
2000-05-01 04:40:51 +02:00
|
|
|
|
2006-01-20 03:18:19 +01:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
|
|
|
.for s in 1 3 5 7
|
|
|
|
MAN$s != ${MAKE} -f ${FILESDIR}/man.Makefile -V MAN$s
|
|
|
|
.endfor
|
|
|
|
|
|
|
|
.include <bsd.port.post.mk>
|