summaryrefslogtreecommitdiffstats
path: root/www/galeon2
diff options
context:
space:
mode:
authormarcus <marcus@FreeBSD.org>2003-08-17 19:19:30 +0000
committermarcus <marcus@FreeBSD.org>2003-08-17 19:19:30 +0000
commita1b38624f677dd1cc403c2f86bf442fb0f1b28f5 (patch)
tree2581e60f022218a1d0cbe46bbc40b1dbe5d46359 /www/galeon2
parente2698ccbe1c254f72bbd8f38a98e2e7ef219a18c (diff)
downloadFreeBSD-ports-a1b38624f677dd1cc403c2f86bf442fb0f1b28f5.zip
FreeBSD-ports-a1b38624f677dd1cc403c2f86bf442fb0f1b28f5.tar.gz
* Fix the locale dir [1]
* Fix the path to some of the bookmarks editor pixmaps Reported by: Pav Lucistnik <pav@oook.cz>
Diffstat (limited to 'www/galeon2')
-rw-r--r--www/galeon2/Makefile3
-rw-r--r--www/galeon2/files/patch-src_Makefile.in10
-rw-r--r--www/galeon2/files/patch-src_galeon-main.c11
3 files changed, 24 insertions, 0 deletions
diff --git a/www/galeon2/Makefile b/www/galeon2/Makefile
index 6cd6e43..ab5b13a 100644
--- a/www/galeon2/Makefile
+++ b/www/galeon2/Makefile
@@ -7,6 +7,7 @@
PORTNAME= galeon2
PORTVERSION= 1.3.7
+PORTREVISION= 1
CATEGORIES= www gnome
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME:S/2$//}
@@ -81,6 +82,8 @@ post-patch:
's|-lpthread|${PTHREAD_LIBS}|g'
@${FIND} ${WRKSRC} -name "*.cpp" | ${XARGS} ${REINPLACE_CMD} -e \
's|malloc\.h|stdlib.h|g'
+ @${REINPLACE_CMD} -e 's|@prefix@/@DATADIRNAME@|@datadir@|g' \
+ ${WRKSRC}/ui/galeon-bookmarks-editor-ui.xml.in
post-configure:
@${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|g ; \
diff --git a/www/galeon2/files/patch-src_Makefile.in b/www/galeon2/files/patch-src_Makefile.in
new file mode 100644
index 0000000..75df3ad
--- /dev/null
+++ b/www/galeon2/files/patch-src_Makefile.in
@@ -0,0 +1,10 @@
+--- src/Makefile.in.orig Sun Aug 17 15:00:55 2003
++++ src/Makefile.in Sun Aug 17 15:01:50 2003
+@@ -205,6 +205,7 @@
+ $(GALEON_DEPENDENCY_CFLAGS) \
+ -DSHARE_DIR=\"$(pkgdatadir)\" \
+ -DDATADIR=\""$(datadir)"\" \
++ -DGNOMELOCALEDIR=\""$(prefix)/share/locale"\" \
+ -DG_DISABLE_DEPRECATED \
+ -DGDK_DISABLE_DEPRECATED \
+ -DGTK_DISABLE_DEPRECATED \
diff --git a/www/galeon2/files/patch-src_galeon-main.c b/www/galeon2/files/patch-src_galeon-main.c
new file mode 100644
index 0000000..bbcc1395
--- /dev/null
+++ b/www/galeon2/files/patch-src_galeon-main.c
@@ -0,0 +1,11 @@
+--- src/galeon-main.c.orig Sun Aug 17 14:59:02 2003
++++ src/galeon-main.c Sun Aug 17 15:00:25 2003
+@@ -126,7 +126,7 @@
+
+ #ifdef ENABLE_NLS
+ /* Initialize the i18n stuff */
+- bindtextdomain(GETTEXT_PACKAGE, DATADIR "/locale");
++ bindtextdomain(GETTEXT_PACKAGE, GNOMELOCALEDIR);
+ bind_textdomain_codeset(GETTEXT_PACKAGE, "UTF-8");
+ textdomain(GETTEXT_PACKAGE);
+ #endif
OpenPOWER on IntegriCloud