pkgsrc/mbone/nte/Makefile
minskim 2827f5b2d8 Enable tk84 and replace x11/tk with x11/tk83. Packages compatible
with 8.4 will be updated to depend on x11/tk after Tk update.
2004-03-08 20:27:13 +00:00

35 lines
1 KiB
Makefile

# $NetBSD: Makefile,v 1.32 2004/03/08 20:27:15 minskim Exp $
#
DISTNAME= nt.1.5a23
PKGNAME= nte-1.5a23
CATEGORIES= mbone tk
MASTER_SITES= http://www-mice.cs.ucl.ac.uk/multimedia/software/nte/1.5a23/
MAINTAINER= mycroft@NetBSD.org
HOMEPAGE= http://www-mice.cs.ucl.ac.uk/multimedia/software/nte/
COMMENT= Multicast Network Text Editor
DEPENDS+= tk>=8.3.2:../../x11/tk83
WRKSRC= ${WRKDIR}
CRYPTO= yes
USE_GNU_TOOLS+= make
# Pass this on to our child
do-configure:
cd ${WRKSRC}/netbsd && ${SH} configure
.include "../../mk/bsd.pkg.mk"
#DISGUSTING HACK ALERT
#Although nte includes an hsearch.c for those who don't have it in
# libc, there's no way to get the default Makefile to build it.
# So we build it here.
#This is below the .include "../../mk/bsd.pkg.mk" since variable names in
# targets or dependencies are evaluated when they are read so
# bsd.pkg.mk must have defined ${WRKSRC} already.
pre-build: ${WRKSRC}/netbsd/hsearch.o
${WRKSRC}/netbsd/hsearch.o: ${WRKSRC}/src/hsearch.c
${CC} -I${WRKSRC}/src ${CFLAGS} -c -o $@ ${WRKSRC}/src/hsearch.c