openbsd-ports/devel/tclcl/Makefile

49 lines
1.2 KiB
Makefile
Raw Normal View History

# $OpenBSD: Makefile,v 1.25 2011/01/05 19:00:54 sebastia Exp $
2000-01-05 21:36:15 -05:00
# $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
2007-10-24 10:58:57 -04:00
V= 1.19
REVISION = 0
2007-10-24 10:58:57 -04:00
DISTNAME= tclcl-src-$V
PKGNAME= tclcl-$V
2000-01-05 21:36:15 -05:00
CATEGORIES= devel
HOMEPAGE= http://www.isi.edu/nsnam/tclcl/index.html
# BSD
2000-04-18 03:13:06 -04:00
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
MODULES += x11/tk
MODTK_VERSION = 8.4
2010-11-15 14:45:56 -05:00
WANTLIB= c m stdc++ otcl>=1
2000-04-18 03:13:06 -04:00
2007-10-24 10:58:57 -04:00
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=otcl-tclcl/}
WRKDIST= ${WRKDIR}/tclcl-$V
2000-01-05 21:36:15 -05:00
2010-11-15 14:45:56 -05:00
LIB_DEPENDS= lang/otcl
2000-01-05 21:36:15 -05:00
CONFIGURE_STYLE= gnu
CONFIGURE_ARGS= --with-tcl-ver=${MODTCL_VERSION} \
--with-tk-ver=${MODTK_VERSION} \
--with-tcl=${MODTCL_LIBDIR} \
--with-tk=${MODTK_LIBDIR}
pre-configure:
${SUBST_CMD} ${WRKSRC}/otcldoc
2000-01-05 21:36:15 -05:00
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
2000-01-05 21:36:15 -05:00
${INSTALL_DATA} ${WRKSRC}/libtclcl.a ${PREFIX}/lib
2000-03-27 16:30:07 -05:00
@ln -sf ${TRUEPREFIX}/lib/libtclcl.a ${PREFIX}/lib/libTcl.a
NO_REGRESS= Yes
2000-01-05 21:36:15 -05:00
.include <bsd.port.mk>