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
|
2007-01-01 01:58:01 +01:00
|
|
|
PORTVERSION= 1.12
|
2007-07-31 16:01:09 +02:00
|
|
|
PORTREVISION= 3
|
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
|
2005-07-27 00:03:04 +02:00
|
|
|
COMMENT= Animation tool for network simulation traces
|
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
|
2005-09-01 00:35:42 +02:00
|
|
|
LIB_DEPENDS= otcl.1:${PORTSDIR}/lang/otcl
|
1999-04-30 19:02:05 +02:00
|
|
|
|
2005-09-01 00:35:42 +02:00
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
|
1999-04-30 19:02:05 +02:00
|
|
|
|
2007-07-31 16:01:09 +02:00
|
|
|
USE_XORG= xmu
|
1999-04-30 19:02:05 +02:00
|
|
|
GNU_CONFIGURE= yes
|
2007-03-11 22:01:34 +01:00
|
|
|
CXXFLAGS+= -I${LOCALBASE}/include/tclcl
|
2004-04-19 06:54:43 +02:00
|
|
|
CONFIGURE_ARGS= --with-tcl-ver=8.4 --with-tk-ver=8.4
|
2005-09-01 00:35:42 +02:00
|
|
|
MAKE_ARGS= CCOPT="${CXXFLAGS}"
|
|
|
|
ALL_TARGET= ${PORTNAME}
|
1999-04-30 19:02:05 +02:00
|
|
|
|
2005-09-01 00:35:42 +02:00
|
|
|
MAN1= nam.1
|
2005-08-09 15:46:22 +02:00
|
|
|
|
2002-06-09 05:16:07 +02:00
|
|
|
post-patch:
|
2007-03-11 22:01:34 +01:00
|
|
|
@${REINPLACE_CMD} -e 's|/usr/src/local/Tcl-1.0|${LOCALBASE}/include/tclcl|g' ${WRKSRC}/configure
|
2005-09-01 00:35:42 +02:00
|
|
|
@${REINPLACE_CMD} -e 's|const = NULL|const = 0|g' ${WRKSRC}/agent.h
|
|
|
|
@${REINPLACE_CMD} -e 's|friend Queue|friend class Queue|g' ${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
|
2005-09-01 00:35:42 +02:00
|
|
|
${INSTALL_MAN} ${WRKSRC}/nam.1 ${MANPREFIX}/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
|
|
|
|
2005-09-01 00:35:42 +02:00
|
|
|
.include <bsd.port.mk>
|