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
|
2007-05-28 20:43:00 +02:00
|
|
|
PORTVERSION= 3.0
|
2009-03-25 03:28:58 +01:00
|
|
|
PORTREVISION= 2
|
2000-05-01 04:40:51 +02:00
|
|
|
CATEGORIES= textproc
|
2009-09-18 03:29:43 +02:00
|
|
|
MASTER_SITES= http://wordnetcode.princeton.edu/${PORTVERSION}/
|
2000-05-01 04:40:51 +02:00
|
|
|
|
|
|
|
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
|
|
|
|
2007-05-28 20:43:00 +02:00
|
|
|
USE_TCL= yes
|
|
|
|
SCRIPTS_ENV+= TCL_DVER=${TCL_VER} VER=${PORTVERSION}
|
|
|
|
MAKE_ENV+= TCL_DVER=${TCL_VER} VER=${PORTVERSION}
|
|
|
|
PLIST_SUB+= TCL_DVER=${TCL_VER} VER=${PORTVERSION}
|
2006-01-18 02:34:48 +01:00
|
|
|
USE_BZIP2= yes
|
2002-08-20 18:05:05 +02:00
|
|
|
REINPLACE_ARGS= -i ""
|
- Remove unneeded dependency from gtk12/gtk20 [1]
- Remove USE_XLIB/USE_X_PREFIX/USE_XPM in favor of USE_XORG
- Remove X11BASE support in favor of LOCALBASE or PREFIX
- Use USE_LDCONFIG instead of INSTALLS_SHLIB
- Remove unneeded USE_GCC 3.4+
Thanks to all Helpers:
Dmitry Marakasov, Chess Griffin, beech@, dinoex, rafan, gahr,
ehaupt, nox, itetcu, flz, pav
PR: 116263
Tested on: pointyhat
Approved by: portmgr (pav)
2008-04-19 19:56:05 +02:00
|
|
|
USE_LDCONFIG= yes
|
2007-05-28 20:43:00 +02:00
|
|
|
SUB_FILES= pkg-message
|
|
|
|
SUB_LIST+= TCL_VER=${TCL_VER}
|
2002-08-20 18:05:05 +02:00
|
|
|
|
|
|
|
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
|
|
|
|
2007-05-28 20:43:00 +02:00
|
|
|
post-install:
|
|
|
|
@${CAT} ${PKGMESSAGE}
|
|
|
|
|
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>
|