mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-04 01:48:54 +00:00
2dfda79c21
(wrong resourcedir specified). Don't install second copies of some man-pages under share/. Verify build on -current -- with the new bsd.lib.mk (ports/40174). PR: ports/40174, ports/41339 Submitted by: Sid Carter, Maxim Tulyuk
50 lines
1.3 KiB
Makefile
50 lines
1.3 KiB
Makefile
# New ports collection makefile for: wordnet
|
|
# Date created: 26 Feb 2000
|
|
# Whom: Mikhail Teterin <mi@aldan.algebra.com>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= WordNet
|
|
PORTVERSION= 1.7.1
|
|
CATEGORIES= textproc
|
|
MASTER_SITES= ftp://ftp.cogsci.princeton.edu/pub/wordnet/${PORTVERSION}/ \
|
|
ftp://ftp.ims.uni-stuttgart.de/pub/WordNet/${PORTVERSION}/
|
|
|
|
MAINTAINER= mi@aldan.algebra.com
|
|
|
|
LIB_DEPENDS= tk${TCL_VER}.1:${PORTSDIR}/x11-toolkits/tk${TCL_VER}
|
|
|
|
# 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}
|
|
PLIST_SUB+= TCL_DVER=${TCL_DVER} VER=${PORTVERSION}
|
|
# Parallel build is faster even on a single cpu machine:
|
|
MAKE_ARGS= -j 2
|
|
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
|
|
|
|
.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
|
|
|
|
.include <bsd.port.post.mk>
|