openbsd-ports/devel/tclcl/Makefile

47 lines
1.1 KiB
Makefile
Raw Normal View History

2012-08-18 08:41:37 -04:00
# $OpenBSD: Makefile,v 1.27 2012/08/18 12:41:38 ajacoutot Exp $
2000-01-05 21:36:15 -05:00
COMMENT= Tcl/C++ interface used by ns and nam
V= 1.20
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
MAINTAINER = Stuart Cassoff <stwo@users.sourceforge.net>
HOMEPAGE= http://otcl-tclcl.sourceforge.net/tclcl/
# 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
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=${LOCALBASE} \
--with-tk=${LOCALBASE}
pre-configure:
@${MODTCL_TCLSH_ADJ} ${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>