1999-04-30 19:02:05 +02:00
|
|
|
# New ports collection makefile for: nam
|
|
|
|
# Date created: 26 April 1999
|
|
|
|
# Whom: obonilla
|
|
|
|
#
|
1999-08-30 16:24:37 +02:00
|
|
|
# $FreeBSD$
|
1999-04-30 19:02:05 +02:00
|
|
|
#
|
|
|
|
|
2000-04-09 20:14:07 +02:00
|
|
|
PORTNAME= nam
|
2000-12-11 03:28:41 +01:00
|
|
|
PORTVERSION= 1.0a9
|
1999-04-30 19:02:05 +02:00
|
|
|
CATEGORIES= net
|
2000-12-11 03:28:41 +01:00
|
|
|
MASTER_SITES= http://www.isi.edu/nsnam/dist/
|
2002-10-08 05:52:06 +02:00
|
|
|
DISTNAME= nam-src-${PORTVERSION}
|
1999-04-30 19:02:05 +02:00
|
|
|
|
2002-10-08 05:52:06 +02:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2003-02-20 20:00:52 +01:00
|
|
|
COMMENT= The UCB/LBNL Network Animator
|
1999-04-30 19:02:05 +02:00
|
|
|
|
2000-03-20 23:47:00 +01:00
|
|
|
BUILD_DEPENDS= ${LOCALBASE}/lib/libtclcl.a:${PORTSDIR}/devel/tclcl
|
2002-06-09 05:16:07 +02:00
|
|
|
LIB_DEPENDS= tcl83.1:${PORTSDIR}/lang/tcl83
|
1999-04-30 19:02:05 +02:00
|
|
|
|
|
|
|
MAN1= nam.1
|
|
|
|
MANCOMPRESSED= no
|
|
|
|
|
2002-10-08 05:52:06 +02:00
|
|
|
USE_REINPLACE= yes
|
1999-04-30 19:02:05 +02:00
|
|
|
GNU_CONFIGURE= yes
|
2002-06-09 05:16:07 +02:00
|
|
|
CONFIGURE_ARGS= --with-tcl-ver=8.3 --with-tk-ver=8.3
|
2002-10-14 10:39:31 +02:00
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
|
2002-10-08 05:52:06 +02:00
|
|
|
ALL_TARGET= # empty
|
1999-04-30 19:02:05 +02:00
|
|
|
|
2002-06-09 05:16:07 +02:00
|
|
|
post-patch:
|
2002-10-08 05:52:06 +02:00
|
|
|
@${REINPLACE_CMD} -e 's,friend Queue,friend class Queue,' ${WRKSRC}/queue.h
|
2002-06-09 05:16:07 +02:00
|
|
|
|
1999-04-30 19:02:05 +02:00
|
|
|
do-install:
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/nam ${PREFIX}/bin
|
|
|
|
${INSTALL_MAN} ${WRKSRC}/nam.1 ${PREFIX}/man/man1
|
2002-10-08 05:52:06 +02:00
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
@${MKDIR} ${EXAMPLESDIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/ex/* ${EXAMPLESDIR}
|
|
|
|
.endif
|
2002-06-09 05:16:07 +02:00
|
|
|
|
1999-04-30 19:02:05 +02:00
|
|
|
.include <bsd.port.mk>
|