2011-01-05 14:07:59 -05:00
|
|
|
# $OpenBSD: Makefile,v 1.33 2011/01/05 19:07:59 sebastia Exp $
|
2000-01-05 22:03:07 -05:00
|
|
|
# $FreeBSD: ports/net/nam/Makefile,v 1.3 1999/11/29 03:46:08 steve Exp $
|
|
|
|
|
2007-09-15 18:36:51 -04:00
|
|
|
COMMENT= UCB/LBNL Network Animator
|
2001-05-06 00:59:54 -04:00
|
|
|
|
2007-10-24 10:58:16 -04:00
|
|
|
V= 1.13
|
|
|
|
DISTNAME= nam-src-$V
|
2010-07-12 18:07:37 -04:00
|
|
|
PKGNAME= nam-$V
|
2011-01-05 14:07:59 -05:00
|
|
|
REVISION= 1
|
2000-01-05 22:03:07 -05:00
|
|
|
CATEGORIES= net
|
2002-10-27 20:38:44 -05:00
|
|
|
|
2007-10-24 10:58:16 -04:00
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=nsnam/}
|
2000-11-24 17:48:28 -05:00
|
|
|
|
|
|
|
HOMEPAGE= http://www.isi.edu/nsnam/nam/
|
2000-01-05 22:03:07 -05:00
|
|
|
|
2003-10-29 17:14:43 -05:00
|
|
|
# BSD
|
2000-04-21 16:29:54 -04:00
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
2010-07-12 18:07:37 -04:00
|
|
|
|
2011-01-05 14:07:59 -05:00
|
|
|
MODULES += x11/tk
|
|
|
|
MODTK_VERSION = 8.4
|
|
|
|
WANTLIB += X11 Xext c m otcl stdc++ z
|
|
|
|
WANTLIB += ${MODTK_WANTLIB}
|
|
|
|
LIB_DEPENDS += ${MODTK_LIB_DEPENDS}
|
2000-04-21 16:29:54 -04:00
|
|
|
|
2003-10-29 17:14:43 -05:00
|
|
|
BUILD_DEPENDS= ${RUN_DEPENDS}
|
2010-11-19 17:31:32 -05:00
|
|
|
RUN_DEPENDS= devel/tclcl>=1.0b13p0
|
2000-01-05 22:03:07 -05:00
|
|
|
|
2007-10-24 10:58:16 -04:00
|
|
|
WRKDIST= ${WRKDIR}/nam-$V
|
2000-01-05 22:03:07 -05:00
|
|
|
|
2003-10-29 17:14:43 -05:00
|
|
|
CONFIGURE_STYLE=gnu
|
2011-01-05 14:07:59 -05:00
|
|
|
CONFIGURE_ARGS= --with-tcl-ver=${MODTCL_VERSION} \
|
|
|
|
--with-tk-ver=${MODTK_VERSION} \
|
|
|
|
--with-tk=${MODTK_LIBDIR} \
|
|
|
|
--with-tcl=${MODTCL_LIBDIR} \
|
2006-11-20 18:17:12 -05:00
|
|
|
--x-includes=${X11BASE}/include \
|
|
|
|
--x-libraries=${X11BASE}/lib
|
2000-01-05 22:03:07 -05:00
|
|
|
|
|
|
|
ALL_TARGET=
|
|
|
|
|
2002-10-27 20:38:44 -05:00
|
|
|
NO_REGRESS= Yes
|
|
|
|
|
2010-10-12 16:13:47 -04:00
|
|
|
pre-configure:
|
|
|
|
${SUBST_CMD} ${WRKSRC}/configure
|
|
|
|
|
2000-01-05 22:03:07 -05:00
|
|
|
do-install:
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/nam ${PREFIX}/bin
|
|
|
|
${INSTALL_MAN} ${WRKSRC}/nam.1 ${PREFIX}/man/man1
|
2000-04-28 17:46:05 -04:00
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/nam
|
2000-01-05 22:03:07 -05:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/ex/* ${PREFIX}/share/examples/nam
|
2000-04-28 17:46:05 -04:00
|
|
|
|
2000-01-05 22:03:07 -05:00
|
|
|
.include <bsd.port.mk>
|