1996-11-10 21:14:52 +00:00
|
|
|
# New ports collection makefile for: nte
|
|
|
|
# Version required: 1.5a23
|
|
|
|
# Date created: 5 September 1996
|
|
|
|
# Whom: Bill Fenner <fenner@FreeBSD.ORG>
|
|
|
|
#
|
1998-09-25 10:05:14 +00:00
|
|
|
# $Id: Makefile,v 1.11 1998/09/21 23:39:42 fenner Exp $
|
1996-11-10 21:14:52 +00:00
|
|
|
#
|
|
|
|
|
1998-08-27 18:42:46 +00:00
|
|
|
DISTNAME= nte-1.5a29
|
|
|
|
CATEGORIES= mbone tk80
|
1998-09-21 23:39:42 +00:00
|
|
|
MASTER_SITES= http://www-mice.cs.ucl.ac.uk/multimedia/software/nte/1.5a29/
|
1996-11-10 21:14:52 +00:00
|
|
|
|
|
|
|
MAINTAINER= fenner@FreeBSD.org
|
|
|
|
|
1998-09-25 10:05:14 +00:00
|
|
|
LIB_DEPENDS= tk80.1:${PORTSDIR}/x11-toolkits/tk80
|
1996-11-10 21:14:52 +00:00
|
|
|
|
1998-08-27 18:42:46 +00:00
|
|
|
WRKSRC= ${WRKDIR}/nte
|
1996-11-10 21:14:52 +00:00
|
|
|
|
1996-11-26 11:21:38 +00:00
|
|
|
RESTRICTED= "Contains DES encryption"
|
1996-11-10 21:14:52 +00:00
|
|
|
USE_GMAKE= yes
|
1998-08-05 09:31:52 +00:00
|
|
|
USE_X_PREFIX= yes
|
1996-11-10 21:14:52 +00:00
|
|
|
|
1997-01-14 00:02:05 +00:00
|
|
|
.include <bsd.port.mk>
|
|
|
|
|
1996-11-10 21:14:52 +00: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.
|
1997-01-14 00:02:05 +00:00
|
|
|
#This is below the .include <bsd.port.mk> since variable names in
|
|
|
|
# targets or dependencies are evaluated when they are read so
|
|
|
|
# bsd.port.mk must have defined ${WRKSRC} already.
|
|
|
|
pre-build: ${WRKSRC}/freebsd/hsearch.o
|
1996-11-10 21:14:52 +00:00
|
|
|
|
1997-01-14 00:02:05 +00:00
|
|
|
${WRKSRC}/freebsd/hsearch.o: ${WRKSRC}/src/hsearch.c
|
|
|
|
${CC} -I${WRKSRC}/src ${CFLAGS} -c -o $@ ${WRKSRC}/src/hsearch.c
|