1999-05-24 22:39:35 +02:00
|
|
|
# $NetBSD: Makefile,v 1.17 1999/05/24 20:39:45 tv Exp $
|
1998-03-06 03:18:07 +01:00
|
|
|
#
|
|
|
|
|
1999-05-24 22:39:35 +02:00
|
|
|
DISTNAME= nt.1.5a23
|
|
|
|
PKGNAME= nte-1.5a23
|
|
|
|
CATEGORIES= mbone tk80
|
|
|
|
MASTER_SITES= http://www-mice.cs.ucl.ac.uk/multimedia/software/nte/1.5a23/
|
1998-03-06 03:18:07 +01:00
|
|
|
|
1999-05-24 22:39:35 +02:00
|
|
|
MAINTAINER= mycroft@netbsd.org
|
|
|
|
HOMEPAGE= http://www-mice.cs.ucl.ac.uk/multimedia/software/nte/
|
1998-03-06 03:18:07 +01:00
|
|
|
|
1999-05-24 22:39:35 +02:00
|
|
|
BUILD_DEPENDS= ${TK_SRC}/generic/default.h:${TK_DIR}:configure
|
|
|
|
DEPENDS+= tk-8.0.5:../../x11/tk80
|
1998-03-06 03:18:07 +01:00
|
|
|
|
1999-05-24 22:39:35 +02:00
|
|
|
TK_DIR= ${.CURDIR}/../../x11/tk80
|
|
|
|
TK_SRC= ${TK_DIR}/${WRKDIR:T}/tk8.0.5
|
1998-05-09 17:24:42 +02:00
|
|
|
|
1999-05-24 22:39:35 +02:00
|
|
|
NOT_FOR_PLATFORM= *-*-alpha # ANSI headers cause LP64 problems
|
1998-11-13 02:26:58 +01:00
|
|
|
|
1999-05-24 22:39:35 +02:00
|
|
|
RESTRICTED= "Contains DES encryption"
|
|
|
|
MIRROR_DISTFILE= no
|
|
|
|
NO_WRKSUBDIR= yes
|
|
|
|
USE_GMAKE= yes
|
1998-03-06 03:18:07 +01:00
|
|
|
# Pass this on to our child
|
1999-05-24 22:39:35 +02:00
|
|
|
MAKE_ENV= TK_SRC=${TK_SRC}
|
1998-03-06 03:18:07 +01:00
|
|
|
|
|
|
|
do-configure:
|
|
|
|
cd ${WRKSRC}/netbsd && sh configure
|
|
|
|
|
1998-04-15 12:38:15 +02:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|
1998-03-06 03:18:07 +01:00
|
|
|
|
|
|
|
#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.
|
1998-04-15 12:38:15 +02:00
|
|
|
#This is below the .include "../../mk/bsd.pkg.mk" since variable names in
|
1998-03-06 03:18:07 +01:00
|
|
|
# targets or dependencies are evaluated when they are read so
|
1998-04-15 12:38:15 +02:00
|
|
|
# bsd.pkg.mk must have defined ${WRKSRC} already.
|
1998-03-06 03:18:07 +01:00
|
|
|
pre-build: ${WRKSRC}/netbsd/hsearch.o
|
|
|
|
|
|
|
|
${WRKSRC}/netbsd/hsearch.o: ${WRKSRC}/src/hsearch.c
|
1999-04-05 05:41:16 +02:00
|
|
|
${CC} -I${WRKSRC}/src ${CFLAGS} -c -o $@ ${WRKSRC}/src/hsearch.c
|
|
|
|
|
|
|
|
pre-clean:
|
|
|
|
@cd ${TK_DIR} && ${MAKE} clean
|