3e4ed01146
- 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)
41 lines
1 KiB
Makefile
41 lines
1 KiB
Makefile
# New ports collection makefile for: wordnet
|
|
# Date created: 26 Feb 2000
|
|
# Whom: Mikhail Teterin <mi@aldan.algebra.com>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= WordNet
|
|
PORTVERSION= 3.0
|
|
CATEGORIES= textproc
|
|
MASTER_SITES= ftp://ftp.cogsci.princeton.edu/pub/wordnet/${PORTVERSION}/ \
|
|
http://wordnet.princeton.edu/${PORTVERSION}/
|
|
|
|
MAINTAINER= mi@aldan.algebra.com
|
|
COMMENT= Dictionaries and thesauri with devel. libraries (C, TCL) and browsers
|
|
|
|
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}
|
|
USE_BZIP2= yes
|
|
REINPLACE_ARGS= -i ""
|
|
USE_LDCONFIG= yes
|
|
SUB_FILES= pkg-message
|
|
SUB_LIST+= TCL_VER=${TCL_VER}
|
|
|
|
post-patch:
|
|
${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
|
|
|
|
post-install:
|
|
@${CAT} ${PKGMESSAGE}
|
|
|
|
.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>
|