openbsd-ports/devel/tclcl/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

39 lines
1005 B
Makefile

# $OpenBSD: Makefile,v 1.20 2006/08/09 09:46:10 bernd Exp $
# $FreeBSD: ports/devel/tclcl/Makefile,v 1.4 1999/11/28 18:31:57 steve Exp $
COMMENT= "Tcl/C++ interface used by ns and nam"
V=1.0b13
DISTFILES= tclcl-src-$V.tar.gz
DISTNAME= tclcl-$V
PKGNAME= ${DISTNAME}p0
CATEGORIES= devel
HOMEPAGE= http://www.isi.edu/nsnam/tclcl/index.html
# BSD
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
WANTLIB= c m stdc++
MASTER_SITES= http://www.isi.edu/nsnam/dist/
LIB_DEPENDS= otcl.>=1::lang/otcl
CONFIGURE_STYLE= gnu
CONFIGURE_ARGS= --with-tcl-ver=8.3 --with-tk-ver=8.3
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/tcl2c++ ${PREFIX}/bin
${INSTALL_SCRIPT} ${WRKSRC}/otcldoc ${PREFIX}/bin
${INSTALL_DATA_DIR} ${PREFIX}/include/tclcl
${INSTALL_DATA} ${WRKSRC}/*.h ${PREFIX}/include/tclcl
${INSTALL_DATA} ${WRKSRC}/libtclcl.a ${PREFIX}/lib
@ln -sf ${TRUEPREFIX}/lib/libtclcl.a ${PREFIX}/lib/libTcl.a
NO_REGRESS= Yes
.include <bsd.port.mk>