aboutsummaryrefslogtreecommitdiff
path: root/x11/tkXwin
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@FreeBSD.org>2005-08-31 12:00:30 +0000
committerVsevolod Stakhov <vsevolod@FreeBSD.org>2005-08-31 12:00:30 +0000
commit35cf5bb5966e5f4235170abe645aaa3ea6baef5e (patch)
tree35baa4eed06f300325dd87dc65285f61d1b2df76 /x11/tkXwin
parent69ef7dcc8d74dfb1bb54d546198f3eb7c534e279 (diff)
downloadports-35cf5bb5966e5f4235170abe645aaa3ea6baef5e.tar.gz
ports-35cf5bb5966e5f4235170abe645aaa3ea6baef5e.zip
Notes
Diffstat (limited to 'x11/tkXwin')
-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
6 files changed, 77 insertions, 0 deletions
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