From 52e97672308a1183f1625bba45c802031519f257 Mon Sep 17 00:00:00 2001 From: miwi Date: Mon, 26 Feb 2007 22:26:50 +0000 Subject: - Update to 1.18 - Pass maintainership to submitter PR: 109465 Submitted by: Martin Matuska --- devel/tclcl/Makefile | 35 +++++++++++++++++++++------ devel/tclcl/distinfo | 6 ++--- devel/tclcl/files/patch-conf-configure.in.tcl | 10 ++++++++ devel/tclcl/pkg-plist | 20 ++++++++------- 4 files changed, 51 insertions(+), 20 deletions(-) create mode 100644 devel/tclcl/files/patch-conf-configure.in.tcl (limited to 'devel') diff --git a/devel/tclcl/Makefile b/devel/tclcl/Makefile index f80944d45557..60213d93d859 100644 --- a/devel/tclcl/Makefile +++ b/devel/tclcl/Makefile @@ -6,28 +6,47 @@ # PORTNAME= tclcl -PORTVERSION= 1.16 +PORTVERSION= 1.18 +DISTVERSIONPREFIX= src- CATEGORIES= devel tcl84 tk84 MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= otcl-tclcl -DISTFILES= tclcl-src-${PORTVERSION}.tar.gz -MAINTAINER= ports@FreeBSD.org +MAINTAINER= martin@matuska.org COMMENT= Tcl/C++ interface used by ns and nam -LIB_DEPENDS= tk84:${PORTSDIR}/x11-toolkits/tk84 \ - otcl:${PORTSDIR}/lang/otcl +LIB_DEPENDS= otcl:${PORTSDIR}/lang/otcl +WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} + +USE_TK= yes +USE_TK_BUILD= yes +USE_AUTOTOOLS= autoconf:259 GNU_CONFIGURE= yes -CONFIGURE_ARGS= --with-tcl-ver=8.4 --with-tk-ver=8.4 \ - --x-libraries=${X11BASE}/lib --x-includes=${X11BASE}/include + +.if !defined(NOPORTDOCS) +PORTDOCS= CHANGES.html +.endif .include +CONFIGURE_ARGS= --with-tcl-ver=${TCL_VER} --with-tk-ver=${TK_VER} \ + --x-libraries=${X11BASE}/lib --x-includes=${X11BASE}/include + do-install: ${INSTALL_PROGRAM} ${WRKSRC}/tcl2c++ ${PREFIX}/bin ${INSTALL_SCRIPT} ${WRKSRC}/otcldoc ${PREFIX}/bin - ${INSTALL_DATA} ${WRKSRC}/*.h ${PREFIX}/include + ${MKDIR} ${PREFIX}/include/tclcl + ${INSTALL_DATA} ${WRKSRC}/*.h ${PREFIX}/include/tclcl ${INSTALL_DATA} ${WRKSRC}/libtclcl.a ${PREFIX}/lib @${LN} -sf ${PREFIX}/lib/libtclcl.a ${PREFIX}/lib/libTcl.a + +post-install: +.if !defined(NOPORTDOCS) + @${MKDIR} ${DOCSDIR} +.for FILE in ${PORTDOCS} + @${INSTALL_DATA} ${WRKSRC}/${FILE} ${DOCSDIR} +.endfor +.endif + .include diff --git a/devel/tclcl/distinfo b/devel/tclcl/distinfo index d0c8d12ac526..4bf193b9517f 100644 --- a/devel/tclcl/distinfo +++ b/devel/tclcl/distinfo @@ -1,3 +1,3 @@ -MD5 (tclcl-src-1.16.tar.gz) = 2a25a4736c1bf4ec7f4e6343aa533bc6 -SHA256 (tclcl-src-1.16.tar.gz) = 75efa77a0c6cd8a3bab65b794f87dceab25ed34183688bf2e564ee0cbadf8e1b -SIZE (tclcl-src-1.16.tar.gz) = 203269 +MD5 (tclcl-src-1.18.tar.gz) = 88f46da7ca7fd95786cf200b75177471 +SHA256 (tclcl-src-1.18.tar.gz) = f8a82b2d918207b0adf4fdc982052c467aac1e3071a0b9caeb9bbed18698e745 +SIZE (tclcl-src-1.18.tar.gz) = 155757 diff --git a/devel/tclcl/files/patch-conf-configure.in.tcl b/devel/tclcl/files/patch-conf-configure.in.tcl new file mode 100644 index 000000000000..c3386a352951 --- /dev/null +++ b/devel/tclcl/files/patch-conf-configure.in.tcl @@ -0,0 +1,10 @@ +--- conf/configure.in.tcl.orig Fri Feb 23 13:11:09 2007 ++++ conf/configure.in.tcl Fri Feb 23 13:11:32 2007 +@@ -188,7 +188,6 @@ + + NS_BEGIN_PACKAGE(tcl) + NS_CHECK_HEADER_PATH(tcl.h,$TCL_H_PLACES,$d,$TCL_H_PLACES_D,V_INCLUDE_TCL,tcl) +-NS_CHECK_HEADER_PATH(tclInt.h,$TCL_H_PLACES,$d,$TCL_H_PLACES_D,V_INCLUDE_TCL,tcl) + NS_CHECK_LIB_PATH(tcl$TCL_HI_VERS,$TCL_LIB_PLACES,$d,$TCL_LIB_PLACES_D,V_LIB_TCL,tcl) + NS_CHECK_ANY_PATH(init.tcl,$TCL_TCL_PLACES,$d,$TCL_TCL_PLACES_D,V_LIBRARY_TCL,tcl) + diff --git a/devel/tclcl/pkg-plist b/devel/tclcl/pkg-plist index fd2d48f7f22a..c5977181384c 100644 --- a/devel/tclcl/pkg-plist +++ b/devel/tclcl/pkg-plist @@ -1,13 +1,15 @@ bin/otcldoc bin/tcl2c++ -include/idlecallback.h -include/iohandler.h -include/rate-variable.h -include/tclcl-config.h -include/tclcl-internal.h -include/tclcl-mappings.h -include/tclcl.h -include/timer.h -include/tracedvar.h +include/tclcl/config.h +include/tclcl/idlecallback.h +include/tclcl/iohandler.h +include/tclcl/rate-variable.h +include/tclcl/tclcl-config.h +include/tclcl/tclcl-internal.h +include/tclcl/tclcl-mappings.h +include/tclcl/tclcl.h +include/tclcl/timer.h +include/tclcl/tracedvar.h lib/libTcl.a lib/libtclcl.a +@dirrm include/tclcl -- cgit