diff options
author | salo <salo@pkgsrc.org> | 2003-04-19 08:36:38 +0000 |
---|---|---|
committer | salo <salo@pkgsrc.org> | 2003-04-19 08:36:38 +0000 |
commit | ac994fdb9aa9babf9a3d663c84ae9940a373ba14 (patch) | |
tree | fb55afcd61f3761cf893e7e15e8b3b9c23f52e33 /editors/beaver | |
parent | 037e8a4cf5665cb0bd0306c5919f4b8213beebbe (diff) | |
download | pkgsrc-ac994fdb9aa9babf9a3d663c84ae9940a373ba14.tar.gz |
Import of beaver-0.2.6: Lightweight GTK+ text editor with syntax highlighting:
Beaver is an Early AdVanced EditoR, for Linux and other Unices
(and even Windows); in other words, it's a text editor that is
intended to be light-weight, but full of useful features for
programming, from editing of web sites to C coding.
It is based upon the GTK+ toolkit, supports many languages
through config files and offers functions such as automatic
indentation and completion or syntax highlighting. In fact,
it is 100% compatible with Ultraedit's wordfile.txt files,
and has its own mini macro language.
Package submitted by Vincent Derrien via PR pkg/21180 with modifications
by me (with short stop in pkgsrc-wip).
Diffstat (limited to 'editors/beaver')
-rw-r--r-- | editors/beaver/DESCR | 10 | ||||
-rw-r--r-- | editors/beaver/Makefile | 18 | ||||
-rw-r--r-- | editors/beaver/PLIST | 9 | ||||
-rw-r--r-- | editors/beaver/distinfo | 5 | ||||
-rw-r--r-- | editors/beaver/patches/patch-aa | 85 |
5 files changed, 127 insertions, 0 deletions
diff --git a/editors/beaver/DESCR b/editors/beaver/DESCR new file mode 100644 index 00000000000..1ef43ed0e5d --- /dev/null +++ b/editors/beaver/DESCR @@ -0,0 +1,10 @@ +Beaver is an Early AdVanced EditoR, for Linux and other Unices +(and even Windows); in other words, it's a text editor that is +intended to be light-weight, but full of useful features for +programming, from editing of web sites to C coding. + +It is based upon the GTK+ toolkit, supports many languages +through config files and offers functions such as automatic +indentation and completion or syntax highlighting. In fact, +it is 100% compatible with Ultraedit's wordfile.txt files, +and has its own mini macro language. diff --git a/editors/beaver/Makefile b/editors/beaver/Makefile new file mode 100644 index 00000000000..e4f127d4e2e --- /dev/null +++ b/editors/beaver/Makefile @@ -0,0 +1,18 @@ +# $NetBSD: Makefile,v 1.1.1.1 2003/04/19 08:36:38 salo Exp $ +# + +DISTNAME= beaver-0.2.6 +WRKSRC= ${WRKDIR}/${DISTNAME}/src +CATEGORIES= editors +MASTER_SITES= http://savannah.nongnu.org/download/beaver/ + +MAINTAINER= vincent.derrien@ahoup.net +HOMEPAGE= http://www.beaver-project.org/ +COMMENT= Lightweight GTK+ text editor with syntax highlighting + +USE_BUILDLINK2= YES +USE_X11= YES + +.include "../../x11/gtk/buildlink2.mk" + +.include "../../mk/bsd.pkg.mk" diff --git a/editors/beaver/PLIST b/editors/beaver/PLIST new file mode 100644 index 00000000000..5067cfed2f4 --- /dev/null +++ b/editors/beaver/PLIST @@ -0,0 +1,9 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2003/04/19 08:36:38 salo Exp $ +bin/beaver +man/man1/beaver.1 +share/beaver/bl/example1.bl +share/beaver/bl/example2.bl +share/beaver/bl/glib.bl +share/pixmaps/beaver.png +@dirrm share/beaver/bl +@dirrm share/beaver diff --git a/editors/beaver/distinfo b/editors/beaver/distinfo new file mode 100644 index 00000000000..375fe122032 --- /dev/null +++ b/editors/beaver/distinfo @@ -0,0 +1,5 @@ +$NetBSD: distinfo,v 1.1.1.1 2003/04/19 08:36:38 salo Exp $ + +SHA1 (beaver-0.2.6.tar.gz) = 608231b84871d26133eb8c20b3ce0ec6b754434c +Size (beaver-0.2.6.tar.gz) = 133938 bytes +SHA1 (patch-aa) = 8c83e5a7be01d71e1a3501840c657210b6ff8423 diff --git a/editors/beaver/patches/patch-aa b/editors/beaver/patches/patch-aa new file mode 100644 index 00000000000..d1f364344cb --- /dev/null +++ b/editors/beaver/patches/patch-aa @@ -0,0 +1,85 @@ +$NetBSD: patch-aa,v 1.1.1.1 2003/04/19 08:36:39 salo Exp $ + +--- Makefile.orig 2002-07-18 15:20:32.000000000 +0200 ++++ Makefile 2003-04-19 10:14:12.000000000 +0200 +@@ -7,11 +7,11 @@ + + ############## Public section. Modify according to your needs. ############### + +-CC = gcc +-RM = rm -f +-CP = cp ++#CC = gcc ++#RM = rm -f ++#CP = cp + +-DESTDIR = /usr/local ++DESTDIR = ${PREFIX} + IPATH = + LPATH = + OPTI = -O3 -funroll-loops -fomit-frame-pointer #-mcpu=i686 +@@ -19,8 +19,8 @@ + WARN = #-W -Wall #-pedantic -ansi + + ### Unix version ### +-CFLAGS = ${OPTI} ${DBUG} ${WARN} ${IPATH} `gtk-config --cflags` +-LDFLAGS = ${OPTI} ${DBUG} ${WARN} ${LPATH} `gtk-config --libs` ++CFLAGS += `gtk-config --cflags` ++LDFLAGS += `gtk-config --libs` + NAME = beaver + + ### Windows version ### +@@ -32,10 +32,6 @@ + + ###################### Private section. Do not modify ######################## + +-ifndef DBUG +- STRIP = strip --strip-all ${NAME} +-endif +- + SRC = main.c search.c tools.c languages.c editor.c prefs.c conf.c msgbar.c\ + toolbar.c interface.c filesops.c completion.c undoredo.c + INC = ${SRC:.c=.h} struct.h wordfile.h +@@ -43,7 +39,6 @@ + + all : ${OBJ} + ${CC} -o ${NAME} ${OBJ} ${LDFLAGS} +- @${STRIP} + + .c.o : + ${CC} ${CFLAGS} -c $< -o $@ +@@ -51,29 +46,11 @@ + ${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 +- gzip -c9 ../beaver.1x > ../beaver.1x.gz +- install -d $(DESTDIR)/man/man1 +- $(CP) ../beaver.1x.gz $(DESTDIR)/man/man1 +- @echo +- @echo "Files installed :" +- @echo "-----------------" +- @echo +- @echo "$(DESTDIR)/bin/beaver" +- @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)/man/man1/beaver.1x.gz" +- @echo +- @echo ",----------------------------------." +- @echo "| Beaver succesfully installed ^_^ |" +- @echo "\`----------------------------------'" ++ ${BSD_INSTALL_PROGRAM} beaver $(DESTDIR)/bin ++ ${BSD_INSTALL_DATA_DIR} $(DESTDIR)/share/beaver/bl ++ ${BSD_INSTALL_DATA} ../bl/* $(DESTDIR)/share/beaver/bl ++ ${BSD_INSTALL_DATA} ../pixmaps/beaver.png $(DESTDIR)/share/pixmaps ++ ${BSD_INSTALL_MAN} ../beaver.1x $(DESTDIR)/man/man1/beaver.1 + + .PHONY: clean re + |