openbsd-ports/net/nam/Makefile
bernd ca1a3839a2 Install the devel/tclcl include files into a subdir. This fixes a conflict
with net/openafs and moves includes with a too generic name (timer.h) out
of the default include path.

Adjust the two dependent ports (net/nam, net/ns) so they know about the new
location.

idea & okay espie@
2006-08-09 09:46:10 +00:00

41 lines
980 B
Makefile

# $OpenBSD: Makefile,v 1.22 2006/08/09 09:46:10 bernd Exp $
# $FreeBSD: ports/net/nam/Makefile,v 1.3 1999/11/29 03:46:08 steve Exp $
COMMENT= "UCB/LBNL Network Animator"
DISTNAME= nam-src-1.9
PKGNAME= nam-1.9p0
CATEGORIES= net
MASTER_SITES= ftp://ftp.isi.edu/nsnam/ \
http://www.isi.edu/nsnam/dist/
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 stdc++ tcl83 tk83 z
BUILD_DEPENDS= ${RUN_DEPENDS}
RUN_DEPENDS= :tclcl->=1.0b13p0:devel/tclcl
WRKDIST= ${WRKDIR}/${DISTNAME:S/-src//g}
CONFIGURE_STYLE=gnu
CONFIGURE_ARGS= --with-tcl-ver=8.3 --with-tk-ver=8.3
ALL_TARGET=
NO_REGRESS= Yes
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>