diff options
Diffstat (limited to 'x11-toolkits/linux-f10-gtk2')
-rw-r--r-- | x11-toolkits/linux-f10-gtk2/Makefile | 16 | ||||
-rw-r--r-- | x11-toolkits/linux-f10-gtk2/files/gtk.immodules | 35 |
2 files changed, 47 insertions, 4 deletions
diff --git a/x11-toolkits/linux-f10-gtk2/Makefile b/x11-toolkits/linux-f10-gtk2/Makefile index 3e41144..f615ee4 100644 --- a/x11-toolkits/linux-f10-gtk2/Makefile +++ b/x11-toolkits/linux-f10-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-f10-gtk2/files/gtk.immodules b/x11-toolkits/linux-f10-gtk2/files/gtk.immodules new file mode 100644 index 0000000..8e72725 --- /dev/null +++ b/x11-toolkits/linux-f10-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" |