diff --git a/x11/gentoo/Makefile b/x11/gentoo/Makefile
index 2d4b97ec6a7..f0fe239c2e2 100644
--- a/x11/gentoo/Makefile
+++ b/x11/gentoo/Makefile
@@ -1,9 +1,8 @@
-# $OpenBSD: Makefile,v 1.9 2006/11/13 13:01:37 steven Exp $
+# $OpenBSD: Makefile,v 1.10 2007/01/30 16:12:36 simon Exp $
COMMENT= "GTK+ Graphical filemanager"
-VERSION= 0.11.34
-DISTNAME= gentoo-${VERSION}
+DISTNAME= gentoo-0.11.56
CATEGORIES= x11
HOMEPAGE= http://www.obsession.se/gentoo/
@@ -16,7 +15,9 @@ PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
-WANTLIB= X11 Xext Xi c gmodule iconv intl m
+WANTLIB= X11 Xext Xi c gmodule m
+
+MODULES= devel/gettext
LIB_DEPENDS= gtk.>=1.2,gdk.>=1.2::x11/gtk+ \
glib.>=1::devel/glib
@@ -25,10 +26,14 @@ CONFIGURE_STYLE= gnu
NO_REGRESS= Yes
USE_X11= Yes
+post-extract:
+ @rm -f ${WRKSRC}/docs/gentoo.1x.bak
+
post-install:
${INSTALL_MAN} ${WRKSRC}/docs/gentoo.1x ${PREFIX}/man/man1/gentoo.1
+ ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/gentoo
.for i in gentoorc gentoogtkrc
- ${INSTALL_DATA} ${WRKSRC}/$i ${PREFIX}/share/gentoo
+ ${INSTALL_DATA} ${WRKSRC}/$i ${PREFIX}/share/examples/gentoo
.endfor
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/gentoo
@cd ${WRKSRC}/docs && \
diff --git a/x11/gentoo/distinfo b/x11/gentoo/distinfo
index 2a8f1888c1f..7ca7e297dd1 100644
--- a/x11/gentoo/distinfo
+++ b/x11/gentoo/distinfo
@@ -1,4 +1,4 @@
-MD5 (gentoo-0.11.34.tar.gz) = 90ea085260182a5774533dc92236e2d0
-RMD160 (gentoo-0.11.34.tar.gz) = 202970c06ab8f0ea1f5f240f83fd4e301719faaa
-SHA1 (gentoo-0.11.34.tar.gz) = 552046a36a64c4d03f9687432fb5280b462966e6
-SIZE (gentoo-0.11.34.tar.gz) = 1021899
+MD5 (gentoo-0.11.56.tar.gz) = c28b003a29527813f47908d69d3f44d0
+RMD160 (gentoo-0.11.56.tar.gz) = 8ab88f4a052d4ea41f561b2869e8ce20a2e4ece2
+SHA1 (gentoo-0.11.56.tar.gz) = f18dd760331b4e10c71852ea0833cf7dc929ae43
+SIZE (gentoo-0.11.56.tar.gz) = 1375769
diff --git a/x11/gentoo/patches/patch-Makefile_in b/x11/gentoo/patches/patch-Makefile_in
new file mode 100644
index 00000000000..3ac93af01a8
--- /dev/null
+++ b/x11/gentoo/patches/patch-Makefile_in
@@ -0,0 +1,12 @@
+$OpenBSD: patch-Makefile_in,v 1.1 2007/01/30 16:12:36 simon Exp $
+--- Makefile.in.orig Sun Jan 21 17:23:29 2007
++++ Makefile.in Sun Jan 21 17:24:29 2007
+@@ -595,7 +595,7 @@ info-am:
+
+ install-data-am:
+
+-install-exec-am: install-sysconfDATA
++install-exec-am:
+
+ install-info: install-info-recursive
+
diff --git a/x11/gentoo/patches/patch-gentoorc_in b/x11/gentoo/patches/patch-gentoorc_in
index d5d6b0ce65a..37fc934c0d4 100644
--- a/x11/gentoo/patches/patch-gentoorc_in
+++ b/x11/gentoo/patches/patch-gentoorc_in
@@ -1,7 +1,7 @@
-$OpenBSD: patch-gentoorc_in,v 1.1 2002/09/04 04:35:19 pvalchev Exp $
---- gentoorc.in.orig Sun Sep 1 22:41:40 2002
-+++ gentoorc.in Sun Sep 1 22:43:30 2002
-@@ -888,7 +888,7 @@
+$OpenBSD: patch-gentoorc_in,v 1.2 2007/01/30 16:12:36 simon Exp $
+--- gentoorc.in.orig Wed Aug 23 22:54:02 2006
++++ gentoorc.in Sun Nov 26 20:46:27 2006
+@@ -1046,7 +1046,7 @@
FALSE
@@ -10,7 +10,7 @@ $OpenBSD: patch-gentoorc_in,v 1.1 2002/09/04 04:35:19 pvalchev Exp $
TRUE
"%Y-%m-%d %H:%M.%S"
"%Y-%m-%d %H:%M.%S"
-@@ -2468,9 +2468,9 @@
+@@ -2739,9 +2739,9 @@
diff --git a/x11/gentoo/pkg/PLIST b/x11/gentoo/pkg/PLIST
index ace9ba425c5..872f81b9b83 100644
--- a/x11/gentoo/pkg/PLIST
+++ b/x11/gentoo/pkg/PLIST
@@ -1,4 +1,4 @@
-@comment $OpenBSD: PLIST,v 1.5 2004/08/09 18:23:21 xsa Exp $
+@comment $OpenBSD: PLIST,v 1.6 2007/01/30 16:12:36 simon Exp $
bin/gentoo
@man man/man1/gentoo.1
share/doc/gentoo/
@@ -85,10 +85,12 @@ share/doc/gentoo/template.html
share/doc/gentoo/template_toc.html
share/doc/gentoo/types.html
share/doc/gentoo/usage.html
-share/gentoo/
-share/gentoo/gentoogtkrc
-share/gentoo/gentoorc
+share/examples/gentoo/
+share/examples/gentoo/gentoogtkrc
+@sample ${SYSCONFDIR}/gentoogtkrc
+share/examples/gentoo/gentoorc
@sample ${SYSCONFDIR}/gentoorc
+share/gentoo/
share/gentoo/icons/
share/gentoo/icons/AbiWord.xpm
share/gentoo/icons/Amiga.xpm
@@ -213,13 +215,29 @@ share/gentoo/icons/xbm2.xpm
share/gentoo/icons/xcf.xpm
share/gentoo/icons/xpm.xpm
share/gentoo/icons/xpm2.xpm
-share/locale/
-share/locale/fr/
-share/locale/fr/LC_MESSAGES/
+share/locale/de/LC_MESSAGES/gentoo.mo
share/locale/fr/LC_MESSAGES/gentoo.mo
-share/locale/pl/
-share/locale/pl/LC_MESSAGES/
+share/locale/it/LC_MESSAGES/gentoo.mo
+share/locale/ja_JP.UTF-8/
+share/locale/ja_JP.UTF-8/LC_MESSAGES/
+share/locale/ja_JP.UTF-8/LC_MESSAGES/gentoo.mo
share/locale/pl/LC_MESSAGES/gentoo.mo
-share/locale/sv/
-share/locale/sv/LC_MESSAGES/
+share/locale/ru_RU.CP1251/
+share/locale/ru_RU.CP1251/LC_MESSAGES/
+share/locale/ru_RU.CP1251/LC_MESSAGES/gentoo.mo
+share/locale/ru_RU.KOI8-R/
+share/locale/ru_RU.KOI8-R/LC_MESSAGES/
+share/locale/ru_RU.KOI8-R/LC_MESSAGES/gentoo.mo
+share/locale/ru_RU.UTF-8/
+share/locale/ru_RU.UTF-8/LC_MESSAGES/
+share/locale/ru_RU.UTF-8/LC_MESSAGES/gentoo.mo
+share/locale/ru_RU.cp1251/
+share/locale/ru_RU.cp1251/LC_MESSAGES/
+share/locale/ru_RU.cp1251/LC_MESSAGES/gentoo.mo
+share/locale/ru_RU.koi8r/
+share/locale/ru_RU.koi8r/LC_MESSAGES/
+share/locale/ru_RU.koi8r/LC_MESSAGES/gentoo.mo
+share/locale/ru_RU.utf8/
+share/locale/ru_RU.utf8/LC_MESSAGES/
+share/locale/ru_RU.utf8/LC_MESSAGES/gentoo.mo
share/locale/sv/LC_MESSAGES/gentoo.mo