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-08-07 23:56:56 +00:00
|
|
|
# $Id: Makefile,v 1.8 1998/08/05 09:31:31 asami Exp $
|
1996-11-10 21:14:52 +00:00
|
|
|
#
|
|
|
|
|
|
|
|
DISTNAME= nt.1.5a23
|
|
|
|
PKGNAME= nte-1.5a23
|
1997-09-25 04:13:04 +00:00
|
|
|
CATEGORIES= mbone tk42
|
1996-11-10 21:14:52 +00:00
|
|
|
MASTER_SITES= ftp://cs.ucl.ac.uk/mice/nte/
|
|
|
|
|
|
|
|
MAINTAINER= fenner@FreeBSD.org
|
|
|
|
|
1998-08-07 23:56:56 +00:00
|
|
|
TK_DIR= ${PORTSDIR}/x11-toolkits/tk42
|
1997-09-25 04:13:04 +00:00
|
|
|
TK_SRC= ${TK_DIR}/work/tk4.2p2
|
1996-11-10 21:14:52 +00:00
|
|
|
|
|
|
|
DEPENDS= ${TK_DIR}
|
1997-09-25 04:13:04 +00:00
|
|
|
LIB_DEPENDS= tk42\\.1:${TK_DIR}
|
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
|
|
|
NO_WRKSUBDIR= yes
|
|
|
|
USE_GMAKE= yes
|
1998-08-05 09:31:52 +00:00
|
|
|
USE_X_PREFIX= yes
|
1996-11-10 21:14:52 +00:00
|
|
|
# Pass this on to our child
|
|
|
|
MAKE_ENV= TK_SRC=${TK_SRC}
|
|
|
|
|
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
|