diff options
author | trevor <trevor@FreeBSD.org> | 2003-11-19 21:17:13 +0000 |
---|---|---|
committer | trevor <trevor@FreeBSD.org> | 2003-11-19 21:17:13 +0000 |
commit | 2cb97960c97763a0332d6f2a08cb96e735069847 (patch) | |
tree | ecfdc043d71e5402efc8b2e8b9b5e5f2ef2c4a80 /x11-toolkits/linux-gtk2 | |
parent | 2d9253c4a3db02fa947e6d2e98bbadf007756bf9 (diff) | |
download | FreeBSD-ports-2cb97960c97763a0332d6f2a08cb96e735069847.zip FreeBSD-ports-2cb97960c97763a0332d6f2a08cb96e735069847.tar.gz |
Kludge by installing a pre-concoted gtk.immodules file and an empty
gdk-pixbuf.loaders file. Fix packing list. Increase PORTREVISION
to 1.
Diffstat (limited to 'x11-toolkits/linux-gtk2')
-rw-r--r-- | x11-toolkits/linux-gtk2/Makefile | 16 | ||||
-rw-r--r-- | x11-toolkits/linux-gtk2/files/gtk.immodules | 35 |
2 files changed, 47 insertions, 4 deletions
diff --git a/x11-toolkits/linux-gtk2/Makefile b/x11-toolkits/linux-gtk2/Makefile index 3e41144..f615ee4 100644 --- a/x11-toolkits/linux-gtk2/Makefile +++ b/x11-toolkits/linux-gtk2/Makefile @@ -7,7 +7,7 @@ PORTNAME= gtk2 PORTVERSION= 2.2.1 -PORTREVISION= 0 +PORTREVISION= 1 CATEGORIES= x11-toolkits linux MAINTAINER= trevor@FreeBSD.org @@ -22,12 +22,20 @@ RESTRICTED= "binaries under GNU LGPL without accompanying source" RPM_SET= gtk2-2.2.1-4.i386.rpm pre-install: + ${RM} -f ${PLIST} +.for ii in gtk.immodules gdk-pixbuf.loaders + ${ECHO_CMD} etc/gtk-2.0/${ii} >> ${PLIST} +.endfor ${RM} -rf ${WRKSRC}/tmp ${MKDIR} ${WRKSRC}/tmp cd ${WRKSRC}/tmp; \ rpm2cpio < ${DISTDIR}/${DIST_SUBDIR}/${RPM_SET} | cpio -id; \ - ${FIND} * -type f -o -type l > ${PLIST}; \ - ${FIND} -d * -type d | ${SED} -e 's:^:@dirrm :' \ - >> ${PLIST} + ${FIND} * -type f -o -type l >> ${PLIST}; \ + ${FIND} -d * -type d | ${GREP} -E 'locale|gtk|themes' | \ + ${SED} -e 's:^:@dirrm :' >> ${PLIST} + +post-install: + ${INSTALL_DATA} ${FILESDIR}/gtk.immodules ${PREFIX}/etc/gtk-2.0/ + ${TOUCH} ${PREFIX}/etc/gtk-2.0/gdk-pixbuf.loaders .include "../linux-gtk/Makefile" diff --git a/x11-toolkits/linux-gtk2/files/gtk.immodules b/x11-toolkits/linux-gtk2/files/gtk.immodules new file mode 100644 index 0000000..8e72725 --- /dev/null +++ b/x11-toolkits/linux-gtk2/files/gtk.immodules @@ -0,0 +1,35 @@ +# $FreeBSD$ +# +# GTK+ Input Method Modules file +# +# ModulesPath = /usr/lib/gtk-2.0/2.2.0/immodules:/usr/lib/gtk-2.0/immodules +# +"/usr/lib/gtk-2.0/2.2.0/immodules/im-am-et.so" +"am_et" "Amharic (EZ+)" "gtk+" "/usr/share/locale" "am" + +"/usr/lib/gtk-2.0/2.2.0/immodules/im-cyrillic-translit.so" +"cyrillic_translit" "Cyrillic (Transliterated)" "gtk+" "/usr/share/locale" "" + +"/usr/lib/gtk-2.0/2.2.0/immodules/im-hangul.so" +"hangul" "Hangul (KSC 5601)" "gtk+" "" "" + +"/usr/lib/gtk-2.0/2.2.0/immodules/im-inuktitut.so" +"inuktitut" "Inukitut (Transliterated)" "gtk+" "/usr/share/locale" "iu" + +"/usr/lib/gtk-2.0/2.2.0/immodules/im-ipa.so" +"ipa" "IPA" "gtk+" "/usr/share/locale" "" + +"/usr/lib/gtk-2.0/2.2.0/immodules/im-thai-broken.so" +"thai_broken" "Thai (Broken)" "gtk+" "/usr/share/locale" "" + +"/usr/lib/gtk-2.0/2.2.0/immodules/im-ti-er.so" +"ti_er" "Tigrigna-Eritrean (EZ+)" "gtk+" "/usr/share/locale" "ti" + +"/usr/lib/gtk-2.0/2.2.0/immodules/im-ti-et.so" +"ti_et" "Tigrigna-Ethiopian (EZ+)" "gtk+" "/usr/share/locale" "ti" + +"/usr/lib/gtk-2.0/2.2.0/immodules/im-viqr.so" +"viqr" "Vietnamese (VIQR)" "gtk+" "/usr/share/locale" "vi" + +"/usr/lib/gtk-2.0/2.2.0/immodules/im-xim.so" +"xim" "X Input Method" "gtk+" "/usr/share/locale" "ko:ja:zh" |