openbsd-ports/net/nam/Makefile
2010-10-24 20:58:58 +00:00

49 lines
1.1 KiB
Makefile

# $OpenBSD: Makefile,v 1.31 2010/10/24 21:30:01 ajacoutot Exp $
# $FreeBSD: ports/net/nam/Makefile,v 1.3 1999/11/29 03:46:08 steve Exp $
COMMENT= UCB/LBNL Network Animator
V= 1.13
DISTNAME= nam-src-$V
PKGNAME= nam-$V
REVISION= 0
CATEGORIES= net
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=nsnam/}
HOMEPAGE= http://www.isi.edu/nsnam/nam/
# BSD
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
WANTLIB= X11 Xext c m otcl pthread-stubs stdc++ tcl84 tk84 xcb z
BUILD_DEPENDS= ${RUN_DEPENDS}
RUN_DEPENDS= :tclcl->=1.0b13p0:devel/tclcl
WRKDIST= ${WRKDIR}/nam-$V
CONFIGURE_STYLE=gnu
CONFIGURE_ARGS= --with-tcl-ver=8.4 --with-tk-ver=8.4 \
--x-includes=${X11BASE}/include \
--x-libraries=${X11BASE}/lib
ALL_TARGET=
USE_GROFF = Yes
NO_REGRESS= Yes
pre-configure:
${SUBST_CMD} ${WRKSRC}/configure
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/nam ${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/nam.1 ${PREFIX}/man/man1
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/nam
${INSTALL_DATA} ${WRKSRC}/ex/* ${PREFIX}/share/examples/nam
.include <bsd.port.mk>