ports/59496: New Port: gtk-smooth-engine
amistry
amistry at am-productions.biz
Thu Nov 20 05:20:08 UTC 2003
>Number: 59496
>Category: ports
>Synopsis: New Port: gtk-smooth-engine
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Wed Nov 19 21:20:05 PST 2003
>Closed-Date:
>Last-Modified:
>Originator: Anish Mistry
>Release: FreeBSD 4.9-RELEASE i386
>Organization:
AM Productions
>Environment:
System: FreeBSD bigguy.am-productions.biz 4.9-RELEASE FreeBSD 4.9-RELEASE #81: Thu Oct 30 22:18:23 EST 2003
>Description:
Ported the GTK Smooth Theme Engine. This will allow many more gtk12/gtk2 themes to be used on FreeBSD with gtk.
>How-To-Repeat:
>Fix:
--- gtk-smooth-engine.shar begins here ---
# 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:
#
# gtk-smooth-engine
# gtk-smooth-engine/pkg-plist
# gtk-smooth-engine/Makefile
# gtk-smooth-engine/pkg-descr
# gtk-smooth-engine/distinfo
#
echo c - gtk-smooth-engine
mkdir -p gtk-smooth-engine > /dev/null 2>&1
echo x - gtk-smooth-engine/pkg-plist
sed 's/^X//' >gtk-smooth-engine/pkg-plist << 'END-of-gtk-smooth-engine/pkg-plist'
Xlib/gtk-2.0/2.2.0/engines/libsmooth.so
Xlib/gtk-2.0/2.2.0/engines/libsmooth.so.0
Xlib/gtk-2.0/2.2.0/engines/libsmooth.la
END-of-gtk-smooth-engine/pkg-plist
echo x - gtk-smooth-engine/Makefile
sed 's/^X//' >gtk-smooth-engine/Makefile << 'END-of-gtk-smooth-engine/Makefile'
X# New ports collection makefile for: gtk-smooth-engine
X# Date created: 19 November 2003
X# Whom: Anish Mistry
X# $FreeBSD$
X#
X
XPORTNAME= gtk-smooth-engine
XPORTVERSION= 0.5.4
XCATEGORIES= x11
XMASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
XMASTER_SITE_SUBDIR= smooth-engine
X
XMAINTAINER= amistry at am-productions.biz
XCOMMENT= Flexible GTK Theme Engine
X
X.if exists(${X11BASE}/lib/libgtk-x11-2.0.so.200)
XWITH_GTK2= yes
X.endif
X
X.if exists(${X11BASE}/lib/libgtk12.so.2)
XWITH_GTK12= yes
X.endif
X
X.if defined(WITH_GTK12)
XLIB_DEPENDS+= gtk12.2:${PORTSDIR}/x11-toolkits/gtk12
X.endif
X
X# if neither gtk is detected automatically pull in gtk2
X.if !defined(WITH_GTK12) && !defined(WITH_GTK2)
XWITH_GTK2= yes
X.endif
X
X.if defined(WITH_GTK2)
XLIB_DEPENDS+= gtk-x11-2.0:${PORTSDIR}/x11-toolkits/gtk20
X.endif
X
XUSE_X_PREFIX= yes
XUSE_LIBTOOL= yes
XUSE_GNOME= gtk12 gtk20
XINSTALLS_SHLIB= yes
XSHLIB_VERSION= 0
X
Xpre-everything::
X.if !defined(WITH_GTK2)
X @${ECHO_MSG} "To enable gtk2 support define WITH_GTK2."
X.endif
X
X.if !defined(WITH_GTK12)
X @${ECHO_MSG} "To enable gtk12 support define WITH_GTK12."
X.endif
X
Xpost-install:
X# add shared lib link
X @${LN} -sf libsmooth.so \
X ${X11BASE}/lib/gtk-2.0/2.2.0/engines/libsmooth.so.${SHLIB_VERSION}
X
X.include <bsd.port.mk>
END-of-gtk-smooth-engine/Makefile
echo x - gtk-smooth-engine/pkg-descr
sed 's/^X//' >gtk-smooth-engine/pkg-descr << 'END-of-gtk-smooth-engine/pkg-descr'
XThis is the Smooth GTK engine, currently it supports GTK2 and GTK1.2, however
XGTK 1.2 support is a bit messier/less reliable then GTK2.
X
XWWW: http://sourceforge.net/projects/smooth-engine/
X
X- Anish Mistry
Xamistry at am-productions.biz
XAM Productions http://am-productions.biz
END-of-gtk-smooth-engine/pkg-descr
echo x - gtk-smooth-engine/distinfo
sed 's/^X//' >gtk-smooth-engine/distinfo << 'END-of-gtk-smooth-engine/distinfo'
XMD5 (gtk-smooth-engine-0.5.4.tar.gz) = c4dc16d6c1f7a8c7808e9735254b77bb
END-of-gtk-smooth-engine/distinfo
exit
--- gtk-smooth-engine.shar ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list