openbsd-ports/net/nam/Makefile
stu 6c478418af Update to nam 1.15
ok sthen@ sebastia@
2012-04-28 18:08:16 +00:00

55 lines
1.3 KiB
Makefile

# $OpenBSD: Makefile,v 1.34 2012/04/28 18:08:16 stu Exp $
# $FreeBSD: ports/net/nam/Makefile,v 1.3 1999/11/29 03:46:08 steve Exp $
COMMENT= UCB/LBNL Network Animator
V= 1.15
DISTNAME= nam-src-$V
PKGNAME= nam-$V
CATEGORIES= net
MAINTAINER = Stuart Cassoff <stwo@users.sourceforge.net>
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=nsnam/}
HOMEPAGE= http://nsnam.sourceforge.net/
# BSD
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
MODULES += x11/tk
WANTLIB += X11 Xext c m otcl stdc++ z
WANTLIB += ${MODTK_WANTLIB}
LIB_DEPENDS += ${MODTK_LIB_DEPENDS}
BUILD_DEPENDS= ${RUN_DEPENDS}
RUN_DEPENDS= devel/tclcl
LIB_DEPENDS= lang/otcl
WRKDIST= ${WRKDIR}/nam-$V
CONFIGURE_STYLE=gnu
CONFIGURE_ARGS= --with-tcl-ver=${MODTCL_VERSION} \
--with-tk-ver=${MODTK_VERSION} \
--with-tk=${LOCALBASE} \
--with-tcl=${LOCALBASE} \
--with-tclcl=${LOCALBASE} \
--x-includes=${X11BASE}/include \
--x-libraries=${X11BASE}/lib
ALL_TARGET=
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>