2008-10-28 09:33:48 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.4 2008/10/28 13:33:48 sthen Exp $
|
2007-09-11 20:32:01 -04:00
|
|
|
COMMENT= browser for a large lexical database of English
|
|
|
|
|
|
|
|
V= 3.0
|
|
|
|
DISTNAME= WordNet-$V
|
2008-09-06 17:49:15 -04:00
|
|
|
PKGNAME= wordnet-$Vp1
|
2007-09-11 20:32:01 -04:00
|
|
|
|
|
|
|
CATEGORIES= misc
|
|
|
|
|
|
|
|
HOMEPAGE= http://wordnet.princeton.edu/
|
|
|
|
|
|
|
|
MAINTAINER= Stuart Henderson <sthen@openbsd.org>
|
|
|
|
|
|
|
|
# BSD
|
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
2008-09-01 16:02:53 -04:00
|
|
|
WANTLIB += X11 c m Xext Xss
|
2007-09-11 20:32:01 -04:00
|
|
|
|
|
|
|
MASTER_SITES= http://wordnet.princeton.edu/3.0/
|
|
|
|
|
2008-10-28 09:33:48 -04:00
|
|
|
MODULES= x11/tk
|
|
|
|
|
|
|
|
LIB_DEPENDS+= ${MODTK_LIB_DEPENDS}
|
2007-09-11 20:32:01 -04:00
|
|
|
|
2008-09-01 16:02:53 -04:00
|
|
|
pre-configure:
|
|
|
|
@${SUBST_CMD} ${WRKSRC}/include/wn.h ${WRKSRC}/src/wnb
|
2007-09-11 20:32:01 -04:00
|
|
|
@perl -pi -e 's,/usr/local/WordNet-3.0,${PREFIX}/share/wordnet,; \
|
|
|
|
s,([0-9])WN,$$1,g' \${WRKSRC}/doc/man/*.[1-9]
|
|
|
|
|
|
|
|
CONFIGURE_STYLE= simple
|
|
|
|
|
|
|
|
CONFIGURE_ARGS= --prefix='${PREFIX}/share/wordnet' \
|
|
|
|
--exec-prefix='${PREFIX}' \
|
|
|
|
--sysconfdir='${SYSCONFDIR}' \
|
|
|
|
--mandir='${PREFIX}/man' \
|
|
|
|
--includedir='${PREFIX}/include' \
|
2008-10-28 09:33:48 -04:00
|
|
|
--with-tcl=${MODTCL_LIBDIR} \
|
|
|
|
--with-tk=${MODTK_LIBDIR}
|
2007-09-11 20:32:01 -04:00
|
|
|
|
2008-10-28 09:33:48 -04:00
|
|
|
CFLAGS+= -I${MODTK_INCDIR} -I${MODTCL_INCDIR}
|
2007-09-11 20:32:01 -04:00
|
|
|
|
|
|
|
CONFIGURE_ENV+= CFLAGS="${CFLAGS}"
|
|
|
|
|
|
|
|
NO_REGRESS= Yes
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|