aboutsummaryrefslogtreecommitdiffstats
path: root/x11
diff options
context:
space:
mode:
authorvsevolod <vsevolod@FreeBSD.org>2005-08-31 20:00:30 +0800
committervsevolod <vsevolod@FreeBSD.org>2005-08-31 20:00:30 +0800
commit81ba908bf4219cf78b34d10fb3b5b2df34217303 (patch)
tree77ea374abdb31e9241539e212c2e51ab24c73eff /x11
parentfc755aa38341473d0938d979e0513cf3e2e9cdb7 (diff)
downloadfreebsd-ports-gnome-81ba908bf4219cf78b34d10fb3b5b2df34217303.tar.gz
freebsd-ports-gnome-81ba908bf4219cf78b34d10fb3b5b2df34217303.tar.zst
freebsd-ports-gnome-81ba908bf4219cf78b34d10fb3b5b2df34217303.zip
Add tkXwin - Tcl/Tk library to detect idle periods of an X session.
PR: 84940 Submitted by: Denis Shaposhnikov <dsh@vlink.ru> Approved by: perky (mentor)
Diffstat (limited to 'x11')
-rw-r--r--x11/Makefile1
-rw-r--r--x11/tkXwin/Makefile34
-rw-r--r--x11/tkXwin/distinfo2
-rw-r--r--x11/tkXwin/files/patch-Makefile.in22
-rw-r--r--x11/tkXwin/files/patch-configure11
-rw-r--r--x11/tkXwin/pkg-descr1
-rw-r--r--x11/tkXwin/pkg-plist7
7 files changed, 78 insertions, 0 deletions
diff --git a/x11/Makefile b/x11/Makefile
index 02342a3ad3d1..2f8b49f0f3ea 100644
--- a/x11/Makefile
+++ b/x11/Makefile
@@ -174,6 +174,7 @@
SUBDIR += sxpc
SUBDIR += temperature.app
SUBDIR += thinglaunch
+ SUBDIR += tkXwin
SUBDIR += tkgoodstuff
SUBDIR += tycoon
SUBDIR += vdesk
diff --git a/x11/tkXwin/Makefile b/x11/tkXwin/Makefile
new file mode 100644
index 000000000000..211c272187ac
--- /dev/null
+++ b/x11/tkXwin/Makefile
@@ -0,0 +1,34 @@
+# New ports collection makefile for: tkXwin
+# Date created: Tue Aug 9 14:32:29 MSD 2005
+# Whom: Denis Shaposhnikov <dsh@vlink.ru>
+#
+# $FreeBSD$
+#
+
+PORTNAME= tkXwin
+PORTVERSION= 1.0
+CATEGORIES= x11
+MASTER_SITES= http://beepcore-tcl.sourceforge.net/
+EXTRACT_SUFX= .tgz
+
+MAINTAINER= dsh@vlink.ru
+COMMENT= Tcl/Tk library to detect idle periods of an X session
+
+LIB_DEPENDS= tcl${SHORT_TK_VER}:${PORTSDIR}/lang/tcl${SHORT_TK_VER} \
+ tk${SHORT_TK_VER}:${PORTSDIR}/x11-toolkits/tk${SHORT_TK_VER}
+
+GNU_CONFIGURE= yes
+USE_X_PREFIX= yes
+INSTALLS_SHLIB= yes
+USE_LIBTOOL_VER= 15
+
+CONFIGURE_ARGS= --with-tcl=${LOCALBASE}/lib/tcl${TK_VER} \
+ --with-tclinclude=${LOCALBASE}/include/tcl${TK_VER} \
+ --with-tk=${LOCALBASE}/lib/tk${TK_VER} \
+ --with-tkinclude=${LOCALBASE}/include/tk${TK_VER}
+CONFIGURE_ENV= INSTALL="${INSTALL_DATA}"
+
+TK_VER= 8.4
+SHORT_TK_VER= ${TK_VER:S/.//}
+
+.include <bsd.port.mk>
diff --git a/x11/tkXwin/distinfo b/x11/tkXwin/distinfo
new file mode 100644
index 000000000000..786aaacd8656
--- /dev/null
+++ b/x11/tkXwin/distinfo
@@ -0,0 +1,2 @@
+MD5 (tkXwin-1.0.tgz) = 1750b22a9b8e68013083d058562d4b65
+SIZE (tkXwin-1.0.tgz) = 168650
diff --git a/x11/tkXwin/files/patch-Makefile.in b/x11/tkXwin/files/patch-Makefile.in
new file mode 100644
index 000000000000..bdc7fb69ebef
--- /dev/null
+++ b/x11/tkXwin/files/patch-Makefile.in
@@ -0,0 +1,22 @@
+--- Makefile.in.orig Sun Aug 25 10:29:52 2002
++++ Makefile.in Tue Aug 9 15:09:49 2005
+@@ -14,8 +14,8 @@
+ #
+
+ # if you have libXss.so, then uncomment the next two lines
+-#CFLAGS_XSS = -DHAVE_SHARED_XSS
+-#LIB_XSS = -L/usr/X11R6/lib -lXss
++CFLAGS_XSS = -DHAVE_SHARED_XSS
++LIB_XSS = -L/usr/X11R6/lib -lXss
+
+
+ SHELL = @SHELL@
+@@ -145,7 +145,7 @@
+
+ tkXwin_version = 1:0:0
+
+-INCLUDES = $(TCL_INCLUDES) $(TK_XINCLUDES) $(CFLAGS_XSS)
++INCLUDES = $(TCL_INCLUDES) $(TK_INCLUDES) $(TK_XINCLUDES) $(CFLAGS_XSS)
+
+ common_sources = tkXwin.c
+
diff --git a/x11/tkXwin/files/patch-configure b/x11/tkXwin/files/patch-configure
new file mode 100644
index 000000000000..fef7f501d812
--- /dev/null
+++ b/x11/tkXwin/files/patch-configure
@@ -0,0 +1,11 @@
+--- configure.orig Tue Aug 30 14:52:03 2005
++++ configure Tue Aug 30 14:52:18 2005
+@@ -1798,7 +1798,7 @@
+ AS="$AS" DLLTOOL="$DLLTOOL" OBJDUMP="$OBJDUMP" \
+ objext="$OBJEXT" exeext="$EXEEXT" reload_flag="$reload_flag" \
+ deplibs_check_method="$deplibs_check_method" file_magic_cmd="$file_magic_cmd" \
+-${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig --no-reexec \
++$ac_aux_dir/ltconfig --no-reexec \
+ $libtool_flags --no-verify --build="$build" $ac_aux_dir/ltmain.sh $host \
+ || { echo "configure: error: libtool configure failed" 1>&2; exit 1; }
+
diff --git a/x11/tkXwin/pkg-descr b/x11/tkXwin/pkg-descr
new file mode 100644
index 000000000000..12decf47bc85
--- /dev/null
+++ b/x11/tkXwin/pkg-descr
@@ -0,0 +1 @@
+Tcl/Tk library to detect idle periods of an X session.
diff --git a/x11/tkXwin/pkg-plist b/x11/tkXwin/pkg-plist
new file mode 100644
index 000000000000..e7fcbacc3ad0
--- /dev/null
+++ b/x11/tkXwin/pkg-plist
@@ -0,0 +1,7 @@
+lib/libtkXwin.a
+lib/libtkXwin.so
+lib/libtkXwin.so.1
+@cd %%LOCALBASE%%
+lib/tkXwin/pkgIndex.tcl
+lib/tkXwin/test.tcl
+@dirrm lib/tkXwin