aboutsummaryrefslogtreecommitdiffstats
path: root/editors/glimmer
diff options
context:
space:
mode:
authorsobomax <sobomax@FreeBSD.org>2000-09-25 15:16:53 +0800
committersobomax <sobomax@FreeBSD.org>2000-09-25 15:16:53 +0800
commit95cc429239f48e3236a1d6d5b3f57a2ed928a0a9 (patch)
tree4821763611bcc18ef0d2b45f6f51e16060278418 /editors/glimmer
parent944dcdd94d75deeb49d65e202280ea30c02bf8ba (diff)
downloadfreebsd-ports-gnome-95cc429239f48e3236a1d6d5b3f57a2ed928a0a9.tar.gz
freebsd-ports-gnome-95cc429239f48e3236a1d6d5b3f57a2ed928a0a9.tar.zst
freebsd-ports-gnome-95cc429239f48e3236a1d6d5b3f57a2ed928a0a9.zip
Fix hardcoded paths.
Diffstat (limited to 'editors/glimmer')
-rw-r--r--editors/glimmer/Makefile1
-rw-r--r--editors/glimmer/files/patch-ab13
-rw-r--r--editors/glimmer/files/patch-ac11
3 files changed, 25 insertions, 0 deletions
diff --git a/editors/glimmer/Makefile b/editors/glimmer/Makefile
index fa5c6e89cf17..dd25599107ea 100644
--- a/editors/glimmer/Makefile
+++ b/editors/glimmer/Makefile
@@ -7,6 +7,7 @@
PORTNAME= glimmer
PORTVERSION= 0.9.19
+PORTREVISION= 1
CATEGORIES= editors gnome python
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
diff --git a/editors/glimmer/files/patch-ab b/editors/glimmer/files/patch-ab
new file mode 100644
index 000000000000..25d60da27721
--- /dev/null
+++ b/editors/glimmer/files/patch-ab
@@ -0,0 +1,13 @@
+--- src/declarations.h 2000/09/23 17:26:18 1.1
++++ src/declarations.h 2000/09/23 17:26:55
+@@ -48,8 +48,8 @@
+
+ #define MAX_FILES 30
+
+-#define PIXMAP_DIR (PREFIX "/share/pixmaps")
+-#define LANG_DIR (PREFIX "/share/" PACKAGE "/languages")
++#define PIXMAP_DIR (PREFIX "/share/gnome/pixmaps")
++#define LANG_DIR (PREFIX "/share/gnome/" PACKAGE "/languages")
+
+ #define URL "http://glimmer.sourceforge.net"
+
diff --git a/editors/glimmer/files/patch-ac b/editors/glimmer/files/patch-ac
new file mode 100644
index 000000000000..a4f408baea3a
--- /dev/null
+++ b/editors/glimmer/files/patch-ac
@@ -0,0 +1,11 @@
+--- src/macro-language.c 2000/09/23 17:27:54 1.1
++++ src/macro-language.c 2000/09/23 17:28:19
+@@ -100,7 +100,7 @@
+ void build_scripts_menu(void)
+ {
+ gchar path[384];
+- g_snprintf(path, sizeof(path), PREFIX "/share/" PACKAGE "/scripts");
++ g_snprintf(path, sizeof(path), PREFIX "/share/gnome/" PACKAGE "/scripts");
+ build_menu_from_scripts_dir(path, scriptsmenu);
+ g_snprintf(path, sizeof(path), "%s/." PACKAGE "/scripts", getenv("HOME"));
+ build_menu_from_scripts_dir(path, scriptsmenu);