# Created by: Mikhail Teterin # $FreeBSD$ PORTNAME= WordNet PORTVERSION= 3.0 PORTREVISION= 2 CATEGORIES= textproc MASTER_SITES= http://wordnetcode.princeton.edu/${PORTVERSION}/ MAINTAINER= mi@aldan.algebra.com COMMENT= Dictionaries and thesauri with devel. libraries (C, TCL) and browsers USES= tcl uidfix tar:bzip2 SCRIPTS_ENV+= TCL_DVER=${TCL_VER} VER=${PORTVERSION} MAKE_ENV+= TCL_DVER=${TCL_VER} VER=${PORTVERSION} STAGEDIR="${STAGEDIR}" PLIST_SUB+= TCL_DVER=${TCL_VER} VER=${PORTVERSION} 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 .include