ports/84940: new port: x11/tkXwin (Tcl/Tk library to detect idle periods of an X session)
Denis Shaposhnikov
dsh at vlink.ru
Mon Aug 15 07:20:11 UTC 2005
>Number: 84940
>Category: ports
>Synopsis: new port: x11/tkXwin (Tcl/Tk library to detect idle periods of an X session)
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Mon Aug 15 07:20:09 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator: Denis Shaposhnikov
>Release: FreeBSD 7.0-CURRENT i386
>Organization:
>Environment:
System: FreeBSD neva.vlink.ru 7.0-CURRENT FreeBSD 7.0-CURRENT #21: Sun Aug 14 15:59:53 MSD 2005 dsh at neva.vlink.ru:/var/FreeBSD/obj/var/FreeBSD/src/sys/NEVA i386
>Description:
Tcl/Tk library to detect idle periods of an X session.
>How-To-Repeat:
# This is a shell archive. Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file". Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
# tkXwin/
# tkXwin/distinfo
# tkXwin/Makefile
# tkXwin/files
# tkXwin/files/patch-Makefile.in
# tkXwin/pkg-plist
# tkXwin/pkg-descr
#
echo c - tkXwin/
mkdir -p tkXwin/ > /dev/null 2>&1
echo x - tkXwin/distinfo
sed 's/^X//' >tkXwin/distinfo << 'END-of-tkXwin/distinfo'
XMD5 (tkXwin-1.0.tgz) = 1750b22a9b8e68013083d058562d4b65
XSIZE (tkXwin-1.0.tgz) = 168650
END-of-tkXwin/distinfo
echo x - tkXwin/Makefile
sed 's/^X//' >tkXwin/Makefile << 'END-of-tkXwin/Makefile'
X# New ports collection makefile for: tkXwin
X# Date created: Tue Aug 9 14:32:29 MSD 2005
X# Whom: Denis Shaposhnikov <dsh at vlink.ru>
X#
X# $FreeBSD$
X#
X
XPORTNAME= tkXwin
XPORTVERSION= 1.0
XCATEGORIES= x11
XMASTER_SITES= http://beepcore-tcl.sourceforge.net/
XEXTRACT_SUFX= .tgz
X
XMAINTAINER= dsh at vlink.ru
XCOMMENT= Tcl/Tk library to detect idle periods of an X session
X
XLIB_DEPENDS= tcl${SHORT_TK_VER}:${PORTSDIR}/lang/tcl${SHORT_TK_VER} \
X tk${SHORT_TK_VER}:${PORTSDIR}/x11-toolkits/tk${SHORT_TK_VER}
X
XGNU_CONFIGURE= yes
XUSE_X_PREFIX= yes
X
XCONFIGURE_ARGS= --with-tcl=${LOCALBASE}/lib/tcl${TK_VER} \
X --with-tclinclude=${LOCALBASE}/include/tcl${TK_VER} \
X --with-tk=${LOCALBASE}/lib/tk${TK_VER} \
X --with-tkinclude=${LOCALBASE}/include/tk${TK_VER}
XCONFIGURE_ENV= INSTALL="${INSTALL_DATA}"
X
XTK_VER= 8.4
XSHORT_TK_VER= ${TK_VER:S/.//}
X
X.include <bsd.port.mk>
END-of-tkXwin/Makefile
echo c - tkXwin/files
mkdir -p tkXwin/files > /dev/null 2>&1
echo x - tkXwin/files/patch-Makefile.in
sed 's/^X//' >tkXwin/files/patch-Makefile.in << 'END-of-tkXwin/files/patch-Makefile.in'
X--- Makefile.in.orig Sun Aug 25 10:29:52 2002
X+++ Makefile.in Tue Aug 9 15:09:49 2005
X@@ -14,8 +14,8 @@
X #
X
X # if you have libXss.so, then uncomment the next two lines
X-#CFLAGS_XSS = -DHAVE_SHARED_XSS
X-#LIB_XSS = -L/usr/X11R6/lib -lXss
X+CFLAGS_XSS = -DHAVE_SHARED_XSS
X+LIB_XSS = -L/usr/X11R6/lib -lXss
X
X
X SHELL = @SHELL@
X@@ -145,7 +145,7 @@
X
X tkXwin_version = 1:0:0
X
X-INCLUDES = $(TCL_INCLUDES) $(TK_XINCLUDES) $(CFLAGS_XSS)
X+INCLUDES = $(TCL_INCLUDES) $(TK_INCLUDES) $(TK_XINCLUDES) $(CFLAGS_XSS)
X
X common_sources = tkXwin.c
X
END-of-tkXwin/files/patch-Makefile.in
echo x - tkXwin/pkg-plist
sed 's/^X//' >tkXwin/pkg-plist << 'END-of-tkXwin/pkg-plist'
Xlib/libtkXwin.la
Xlib/libtkXwin.so
Xlib/libtkXwin.so.1
X at cd %%LOCALBASE%%
Xlib/tkXwin/pkgIndex.tcl
Xlib/tkXwin/test.tcl
X at dirrm lib/tkXwin
END-of-tkXwin/pkg-plist
echo x - tkXwin/pkg-descr
sed 's/^X//' >tkXwin/pkg-descr << 'END-of-tkXwin/pkg-descr'
XTcl/Tk library to detect idle periods of an X session.
END-of-tkXwin/pkg-descr
exit
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list