diff options
author | marcus <marcus@FreeBSD.org> | 2003-04-13 13:31:27 +0800 |
---|---|---|
committer | marcus <marcus@FreeBSD.org> | 2003-04-13 13:31:27 +0800 |
commit | 40d453fa56eff76be927d2bc195eaa34372f7e42 (patch) | |
tree | a2c86e25446bb57002f5ca13e84af015246d58a0 /editors/beaver/files | |
parent | 5ee233da990ff12215de0a30de3c5c249e905210 (diff) | |
download | freebsd-ports-gnome-40d453fa56eff76be927d2bc195eaa34372f7e42.tar.gz freebsd-ports-gnome-40d453fa56eff76be927d2bc195eaa34372f7e42.tar.zst freebsd-ports-gnome-40d453fa56eff76be927d2bc195eaa34372f7e42.zip |
Add beaver, a programmer's text editor for GTK+ 2.0.
PR: 50800
Submitted by: Jean-Yves Lefort <jylefort@brutele.be>
Diffstat (limited to 'editors/beaver/files')
-rw-r--r-- | editors/beaver/files/patch-aa | 74 | ||||
-rw-r--r-- | editors/beaver/files/patch-ba | 18 |
2 files changed, 92 insertions, 0 deletions
diff --git a/editors/beaver/files/patch-aa b/editors/beaver/files/patch-aa new file mode 100644 index 000000000000..3e207061e4da --- /dev/null +++ b/editors/beaver/files/patch-aa @@ -0,0 +1,74 @@ +--- src/Makefile.orig Fri Apr 11 02:00:20 2003 ++++ src/Makefile Fri Apr 11 03:24:53 2003 +@@ -7,11 +7,11 @@ + + ############## Public section. Modify according to your needs. ############### + +-CC = gcc ++#CC = gcc + RM = rm -f + CP = cp + +-DESTDIR = /usr/local ++DESTDIR = $(PREFIX) + IPATH = + LPATH = + OPTI = -Wall -O3 -funroll-loops -fomit-frame-pointer #-DDEBUG_FCN +@@ -19,8 +19,8 @@ + WARN = #-W -Wall #-pedantic -ansi + + ### Unix version ### +-CFLAGS = ${OPTI} ${DBUG} ${WARN} ${IPATH} `pkg-config gtk+-2.0 --cflags` +-LDFLAGS = ${OPTI} ${DBUG} ${WARN} ${LPATH} `pkg-config gtk+-2.0 --libs` ++CFLAGS += ${DBUG} ${WARN} ${IPATH} $(shell pkg-config gtk+-2.0 --cflags) ++LDFLAGS = ${DBUG} ${WARN} ${LPATH} $(shell pkg-config gtk+-2.0 --libs) + NAME = beaver + + ### Windows version ### +@@ -43,7 +43,7 @@ + + all : ${OBJ} + ${CC} -o ${NAME} ${OBJ} ${LDFLAGS} +- @${STRIP} ++# @${STRIP} + + .c.o : + ${CC} ${CFLAGS} -c $< -o $@ +@@ -51,16 +51,17 @@ + ${OBJ} : ${INC} + + install : +- install -d $(DESTDIR)/bin +- install beaver $(DESTDIR)/bin +- install -d $(DESTDIR)/share/beaver/bl +- $(CP) ../bl/* $(DESTDIR)/share/beaver/bl +- install -d $(DESTDIR)/share/pixmaps +- $(CP) ../pixmaps/beaver.png $(DESTDIR)/share/pixmaps +- $(CP) ../beaver.desktop $(DESTDIR)/share/applications ++ -$(MKDIR) $(DESTDIR)/bin ++ $(INSTALL_PROGRAM) beaver $(DESTDIR)/bin ++ -$(MKDIR) $(DESTDIR)/share/beaver/bl ++ $(INSTALL_DATA) ../bl/* $(DESTDIR)/share/beaver/bl ++ -$(MKDIR) $(DESTDIR)/share/gnome/pixmaps ++ $(INSTALL_DATA) ../pixmaps/beaver.png $(DESTDIR)/share/gnome/pixmaps ++ -$(MKDIR) $(DESTDIR)/share/gnome/applications ++ $(INSTALL_DATA) ../beaver.desktop $(DESTDIR)/share/gnome/applications + gzip -c9 ../beaver.1x > ../beaver.1x.gz +- install -d $(DESTDIR)/man/man1 +- $(CP) ../beaver.1x.gz $(DESTDIR)/man/man1 ++ -$(MKDIR) $(DESTDIR)/man/man1 ++ $(INSTALL_MAN) ../beaver.1x.gz $(DESTDIR)/man/man1 + @echo + @echo "Files installed :" + @echo "-----------------" +@@ -69,8 +70,8 @@ + @echo "$(DESTDIR)/share/beaver/bl/example1.bl" + @echo "$(DESTDIR)/share/beaver/bl/example2.bl" + @echo "$(DESTDIR)/share/beaver/bl/glib.bl" +- @echo "$(DESTDIR)/share/pixmaps/beaver.png" +- @echo "$(DESTDIR)/share/applications/beaver.desktop" ++ @echo "$(DESTDIR)/share/gnome/pixmaps/beaver.png" ++ @echo "$(DESTDIR)/share/gnome/applications/beaver.desktop" + @echo "$(DESTDIR)/man/man1/beaver.1x.gz" + @echo + @echo ",----------------------------------." diff --git a/editors/beaver/files/patch-ba b/editors/beaver/files/patch-ba new file mode 100644 index 000000000000..300df8e06579 --- /dev/null +++ b/editors/beaver/files/patch-ba @@ -0,0 +1,18 @@ +--- src/languages.c.orig Fri Apr 11 02:04:36 2003 ++++ src/languages.c Fri Apr 11 02:04:37 2003 +@@ -88,13 +88,13 @@ + { + gchar *fixed = g_strdup (Prefs.L[lang].Description); + gchar *s; ++ GtkItemFactoryEntry NewEntry = {s, NULL, languages_treatment, ++ lang, "<Item>"}; + + fixed = str_replace_tokens (&fixed, '/', "\\"); + s = g_strconcat("/Language/", + fixed, + NULL); +- GtkItemFactoryEntry NewEntry = {s, NULL, languages_treatment, +- lang, "<Item>"}; + + gtk_item_factory_create_items + (gtk_item_factory_from_path ("<main>"), 1, &NewEntry, NULL); |