aboutsummaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
authormiwi <miwi@FreeBSD.org>2007-02-27 06:26:50 +0800
committermiwi <miwi@FreeBSD.org>2007-02-27 06:26:50 +0800
commit52e97672308a1183f1625bba45c802031519f257 (patch)
treee3e273048a81d8e3a91d4e9461751e87f525d369 /devel
parent3405051d268ec185d83706382e743519c062faa2 (diff)
downloadfreebsd-ports-gnome-52e97672308a1183f1625bba45c802031519f257.tar.gz
freebsd-ports-gnome-52e97672308a1183f1625bba45c802031519f257.tar.zst
freebsd-ports-gnome-52e97672308a1183f1625bba45c802031519f257.zip
- Update to 1.18
- Pass maintainership to submitter PR: 109465 Submitted by: Martin Matuska <martin@matuska.org>
Diffstat (limited to 'devel')
-rw-r--r--devel/tclcl/Makefile35
-rw-r--r--devel/tclcl/distinfo6
-rw-r--r--devel/tclcl/files/patch-conf-configure.in.tcl10
-rw-r--r--devel/tclcl/pkg-plist20
4 files changed, 51 insertions, 20 deletions
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 <bsd.port.pre.mk>
+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 <bsd.port.post.mk>
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