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
|
|
|
|
PORTVERSION= 1.7.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}/ \
|
2000-05-01 04:40:51 +02:00
|
|
|
ftp://ftp.ims.uni-stuttgart.de/pub/WordNet/${PORTVERSION}/
|
|
|
|
|
|
|
|
MAINTAINER= mi@aldan.algebra.com
|
|
|
|
|
2002-08-20 18:05:05 +02:00
|
|
|
LIB_DEPENDS= tk${TCL_VER}.1:${PORTSDIR}/x11-toolkits/tk${TCL_VER}
|
2000-05-01 04:40:51 +02:00
|
|
|
|
2002-08-20 18:05:05 +02:00
|
|
|
# The vendor packages up a lot of useless precompiled binaries
|
|
|
|
# for a few platforms with the source code. Do not extract them:
|
|
|
|
EXTRACT_AFTER_ARGS= | ${TAR} -xf - --exclude '*/bin/*' \
|
|
|
|
--exclude '*/lib/solaris/*' \
|
|
|
|
--exclude '*/lib/linux/*' \
|
|
|
|
--exclude '*/lib/irix/*' \
|
|
|
|
--exclude '*/*.[ao]'
|
|
|
|
|
|
|
|
TCL_DVER?= 8.3
|
|
|
|
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}
|
2000-05-01 04:40:51 +02:00
|
|
|
# Parallel build is faster even on a single cpu machine:
|
|
|
|
MAKE_ARGS= -j 2
|
2002-08-20 18:05:05 +02:00
|
|
|
USE_REINPLACE= yes
|
|
|
|
REINPLACE_ARGS= -i ""
|
|
|
|
INSTALLS_SHLIB= yes
|
|
|
|
|
|
|
|
post-patch:
|
|
|
|
${REINPLACE_CMD} -e 's,/usr/local,${PREFIX},g' \
|
|
|
|
-e 's,_VER_,${PORTVERSION},g' ${WRKSRC}/include/wnconsts.h \
|
|
|
|
${WRKSRC}/src/wnb/wnb
|
2000-05-01 04:40:51 +02:00
|
|
|
|
2001-10-31 06:04:29 +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
|
|
|
|
MANCOMPRESSED= maybe
|
2000-05-01 04:40:51 +02:00
|
|
|
|
2001-10-31 06:04:29 +01:00
|
|
|
.include <bsd.port.post.mk>
|