summaryrefslogtreecommitdiff
path: root/emulators/suse91_gtk2
diff options
context:
space:
mode:
Diffstat (limited to 'emulators/suse91_gtk2')
-rw-r--r--emulators/suse91_gtk2/DEINSTALL15
-rw-r--r--emulators/suse91_gtk2/DESCR9
-rw-r--r--emulators/suse91_gtk2/INSTALL16
-rw-r--r--emulators/suse91_gtk2/Makefile30
-rw-r--r--emulators/suse91_gtk2/Makefile.i3866
-rw-r--r--emulators/suse91_gtk2/Makefile.x86_646
-rw-r--r--emulators/suse91_gtk2/PLIST4
-rw-r--r--emulators/suse91_gtk2/suse.i386.mk7
-rw-r--r--emulators/suse91_gtk2/suse.x86_64.mk7
9 files changed, 50 insertions, 50 deletions
diff --git a/emulators/suse91_gtk2/DEINSTALL b/emulators/suse91_gtk2/DEINSTALL
new file mode 100644
index 00000000000..d90af144902
--- /dev/null
+++ b/emulators/suse91_gtk2/DEINSTALL
@@ -0,0 +1,15 @@
+# $NetBSD: DEINSTALL,v 1.3 2007/07/29 05:19:12 jlam Exp $
+#
+# Remove gtk/pango module configuration.
+#
+case ${STAGE} in
+DEINSTALL)
+ GNOME_BINDIR="${PKG_PREFIX}/@EMULSUBDIR@/opt/gnome/bin"
+ GNOME_ETCDIR="${PKG_PREFIX}/@EMULSUBDIR@/etc/opt/gnome"
+
+ ${ECHO} "${PKGNAME}: removing GTK/Pango module configuration"
+ ${RM} -f ${GNOME_ETCDIR}/gtk-2.0/gtk.immodules
+ ${RM} -f ${GNOME_ETCDIR}/gtk-2.0/gdk-pixbuf.loaders
+ ${RM} -f ${GNOME_ETCDIR}/pango/pango.modules
+ ;;
+esac
diff --git a/emulators/suse91_gtk2/DESCR b/emulators/suse91_gtk2/DESCR
index 962f8891e8f..bc684571d53 100644
--- a/emulators/suse91_gtk2/DESCR
+++ b/emulators/suse91_gtk2/DESCR
@@ -1,5 +1,6 @@
-Linux compatibility package based on the SuSE Linux distribution, take a
-look at "http://www.suse.com/" for more information about it.
+Linux compatibility package based on the SuSE Linux distribution.
+Please visit http://www.suse.com/ for more information about SuSE
+Linux.
-This package supports running ELF binaries linked with glibc2 which require
-GTK2 shared libraries.
+This package supports running ELF binaries linked with glibc2 that
+require GTK+-2.x shared libraries.
diff --git a/emulators/suse91_gtk2/INSTALL b/emulators/suse91_gtk2/INSTALL
index 57074111b3b..6af096e2eb8 100644
--- a/emulators/suse91_gtk2/INSTALL
+++ b/emulators/suse91_gtk2/INSTALL
@@ -1,15 +1,17 @@
-# $NetBSD: INSTALL,v 1.3 2005/01/22 12:35:26 jdolecek Exp $
+# $NetBSD: INSTALL,v 1.4 2007/07/29 05:19:13 jlam Exp $
#
# Initialize gtk/pango module configuration.
#
case ${STAGE} in
- POST-INSTALL)
- @EMULDIR@/opt/gnome/bin/gtk-query-immodules-2.0 > @EMULDIR@/etc/opt/gnome/gtk-2.0/gtk.immodules
+POST-INSTALL)
+ GNOME_BINDIR="${PKG_PREFIX}/@EMULSUBDIR@/opt/gnome/bin"
+ GNOME_ETCDIR="${PKG_PREFIX}/@EMULSUBDIR@/etc/opt/gnome"
- @EMULDIR@/opt/gnome/bin/gdk-pixbuf-query-loaders > @EMULDIR@/etc/opt/gnome/gtk-2.0/gdk-pixbuf.loaders
+ ${ECHO} "${PKGNAME}: initializing GTK/Pango module configuration"
+ ${GNOME_BINDIR}/gtk-query-immodules-2.0> ${GNOME_ETCDIR}/gtk-2.0/gtk.immodules
- @EMULDIR@/opt/gnome/bin/pango-querymodules > @EMULDIR@/etc/opt/gnome/pango/pango.modules
- ;;
- *)
+ ${GNOME_BINDIR}/gdk-pixbuf-query-loaders> ${GNOME_ETCDIR}/gtk-2.0/gdk-pixbuf.loaders
+
+ ${GNOME_BINDIR}/pango-querymodules> ${GNOME_ETCDIR}/pango/pango.modules
;;
esac
diff --git a/emulators/suse91_gtk2/Makefile b/emulators/suse91_gtk2/Makefile
index 4fd11bc002c..4fe3c8c9b4c 100644
--- a/emulators/suse91_gtk2/Makefile
+++ b/emulators/suse91_gtk2/Makefile
@@ -1,33 +1,17 @@
-# $NetBSD: Makefile,v 1.17 2006/06/30 15:37:22 salo Exp $
+# $NetBSD: Makefile,v 1.18 2007/07/29 05:19:13 jlam Exp $
-DISTNAME= suse_gtk2-${SUSE_VERSION}
-PKGREVISION= 6
-CATEGORIES= emulators
-MASTER_SITES= ${MASTER_SITE_SUSE91}
-DISTFILES= ${RPMFILES}
+DISTNAME= suse_gtk2-${SUSE_VERSION}
+PKGREVISION= 7
+CATEGORIES= emulators
-MAINTAINER= pkgsrc-users@NetBSD.org
-HOMEPAGE= http://www.suse.com/
-COMMENT= Linux compatibility package for GTK2 binaries
+MAINTAINER= pkgsrc-users@NetBSD.org
+COMMENT= Linux compatibility package for GTK+-2.x
-DEPENDS+= suse_fontconfig-${SUSE_VERSION}{,nb*}:../../emulators/suse91_fontconfig
-DEPENDS+= suse_freetype2-${SUSE_VERSION}{,nb*}:../../emulators/suse91_freetype2
-DEPENDS+= suse_libjpeg-${SUSE_VERSION}{,nb*}:../../emulators/suse91_libjpeg
-DEPENDS+= suse_libpng-${SUSE_VERSION}{,nb*}:../../emulators/suse91_libpng
-DEPENDS+= suse_libtiff-${SUSE_VERSION}{,nb*}:../../emulators/suse91_libtiff
-DEPENDS+= suse_x11-${SUSE_VERSION}{,nb*}:../../emulators/suse91_x11
-
-EXTRACT_ONLY= # empty
-NO_BUILD= YES
-PLIST_SRC= ${WRKDIR}/PLIST_DYNAMIC
+EMUL_MODULES.linux= fontconfig freetype2 jpeg png tiff x11
# Initialize gtk/pango modules.
FILES_SUBST+= EMULDIR=${EMULDIR:Q}
PLIST_SUBST+= EMULSUBDIR=${EMULSUBDIR:Q}
-.if exists(Makefile.${MACHINE_ARCH})
-.include "Makefile.${MACHINE_ARCH}"
-.endif
-
.include "../../emulators/suse91_linux/Makefile.common"
.include "../../mk/bsd.pkg.mk"
diff --git a/emulators/suse91_gtk2/Makefile.i386 b/emulators/suse91_gtk2/Makefile.i386
deleted file mode 100644
index 4cbf5d93abf..00000000000
--- a/emulators/suse91_gtk2/Makefile.i386
+++ /dev/null
@@ -1,6 +0,0 @@
-# $NetBSD: Makefile.i386,v 1.1 2006/01/08 16:53:21 salo Exp $
-
-RPMFILES= atk-1.4.1-124.${SUSE_ARCH}.rpm \
- glib2-2.2.3-117.${SUSE_ARCH}.rpm \
- gtk2-2.2.4-125.10.${SUSE_ARCH}.rpm \
- pango-1.2.5-170.${SUSE_ARCH}.rpm
diff --git a/emulators/suse91_gtk2/Makefile.x86_64 b/emulators/suse91_gtk2/Makefile.x86_64
deleted file mode 100644
index 8af27512fae..00000000000
--- a/emulators/suse91_gtk2/Makefile.x86_64
+++ /dev/null
@@ -1,6 +0,0 @@
-# $NetBSD: Makefile.x86_64,v 1.1 2006/01/08 16:53:21 salo Exp $
-
-RPMFILES= atk-1.4.1-104.${SUSE_ARCH}.rpm \
- glib2-2.2.3-106.${SUSE_ARCH}.rpm \
- gtk2-2.2.4-125.10.${SUSE_ARCH}.rpm \
- pango-1.2.5-148.${SUSE_ARCH}.rpm
diff --git a/emulators/suse91_gtk2/PLIST b/emulators/suse91_gtk2/PLIST
deleted file mode 100644
index 92b8a7ab074..00000000000
--- a/emulators/suse91_gtk2/PLIST
+++ /dev/null
@@ -1,4 +0,0 @@
-@comment $NetBSD: PLIST,v 1.1 2005/01/22 12:35:26 jdolecek Exp $
-${EMULSUBDIR}/etc/opt/gnome/gtk-2.0/gtk.immodules
-${EMULSUBDIR}/etc/opt/gnome/gtk-2.0/gdk-pixbuf.loaders
-${EMULSUBDIR}/etc/opt/gnome/pango/pango.modules
diff --git a/emulators/suse91_gtk2/suse.i386.mk b/emulators/suse91_gtk2/suse.i386.mk
new file mode 100644
index 00000000000..b1b46d68d3a
--- /dev/null
+++ b/emulators/suse91_gtk2/suse.i386.mk
@@ -0,0 +1,7 @@
+# $NetBSD: suse.i386.mk,v 1.1 2007/07/29 05:19:14 jlam Exp $
+
+# SuSE i386 RPMs
+DISTFILES+= atk-1.4.1-124.${SUSE_ARCH}.rpm
+DISTFILES+= glib2-2.2.3-117.${SUSE_ARCH}.rpm
+DISTFILES+= gtk2-2.2.4-125.10.${SUSE_ARCH}.rpm
+DISTFILES+= pango-1.2.5-170.${SUSE_ARCH}.rpm
diff --git a/emulators/suse91_gtk2/suse.x86_64.mk b/emulators/suse91_gtk2/suse.x86_64.mk
new file mode 100644
index 00000000000..bedc20ae84e
--- /dev/null
+++ b/emulators/suse91_gtk2/suse.x86_64.mk
@@ -0,0 +1,7 @@
+# $NetBSD: suse.x86_64.mk,v 1.1 2007/07/29 05:19:14 jlam Exp $
+
+# SuSE x86_64 RPMs
+DISTFILES+= atk-1.4.1-104.${SUSE_ARCH}.rpm
+DISTFILES+= glib2-2.2.3-106.${SUSE_ARCH}.rpm
+DISTFILES+= gtk2-2.2.4-125.10.${SUSE_ARCH}.rpm
+DISTFILES+= pango-1.2.5-148.${SUSE_ARCH}.rpm