diff options
author | jdolecek <jdolecek> | 2005-01-22 12:35:26 +0000 |
---|---|---|
committer | jdolecek <jdolecek> | 2005-01-22 12:35:26 +0000 |
commit | 0b9a475a1867c27a018e22403a1028e3f88aa0f5 (patch) | |
tree | 84a580f60bfe1e2f3ea5b256526b72f78a3e115e /emulators | |
parent | f8db4efa898e46c71484235fc14afecac20e7074 (diff) | |
download | pkgsrc-0b9a475a1867c27a018e22403a1028e3f88aa0f5.tar.gz |
put back INSTALL (in slighly simplified form) - it _is_ necessary
to setup the etc files for gtk & pango; add the files into PLIST, so that
they are properly removed when package is deinstalled
Diffstat (limited to 'emulators')
-rw-r--r-- | emulators/suse91_gtk2/INSTALL | 15 | ||||
-rw-r--r-- | emulators/suse91_gtk2/Makefile | 7 | ||||
-rw-r--r-- | emulators/suse91_gtk2/PLIST | 4 |
3 files changed, 25 insertions, 1 deletions
diff --git a/emulators/suse91_gtk2/INSTALL b/emulators/suse91_gtk2/INSTALL new file mode 100644 index 00000000000..57074111b3b --- /dev/null +++ b/emulators/suse91_gtk2/INSTALL @@ -0,0 +1,15 @@ +# $NetBSD: INSTALL,v 1.3 2005/01/22 12:35:26 jdolecek 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 + + @EMULDIR@/opt/gnome/bin/gdk-pixbuf-query-loaders > @EMULDIR@/etc/opt/gnome/gtk-2.0/gdk-pixbuf.loaders + + @EMULDIR@/opt/gnome/bin/pango-querymodules > @EMULDIR@/etc/opt/gnome/pango/pango.modules + ;; + *) + ;; +esac diff --git a/emulators/suse91_gtk2/Makefile b/emulators/suse91_gtk2/Makefile index d6b50e3badd..4385bdb17f2 100644 --- a/emulators/suse91_gtk2/Makefile +++ b/emulators/suse91_gtk2/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.6 2005/01/22 10:53:49 jdolecek Exp $ +# $NetBSD: Makefile,v 1.7 2005/01/22 12:35:26 jdolecek Exp $ DISTNAME= suse_gtk2-${SUSE_VERSION} PKGREVISION= 3 @@ -30,5 +30,10 @@ RPMFILES= atk-1.4.1-124.${SUSE_ARCH}.rpm \ gtk2-2.2.4-125.4.${SUSE_ARCH}.rpm \ pango-1.2.5-170.${SUSE_ARCH}.rpm +# Initialize gtk/pango modules. +FILES_SUBST+= EMULDIR=${EMULDIR} +PLIST_SUBST+= EMULSUBDIR=${EMULSUBDIR} +INSTALL_EXTRA_TMPL+= ${PKGDIR}/INSTALL + .include "../../emulators/suse91_linux/Makefile.common" .include "../../mk/bsd.pkg.mk" diff --git a/emulators/suse91_gtk2/PLIST b/emulators/suse91_gtk2/PLIST new file mode 100644 index 00000000000..92b8a7ab074 --- /dev/null +++ b/emulators/suse91_gtk2/PLIST @@ -0,0 +1,4 @@ +@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 |