summaryrefslogtreecommitdiff
path: root/editors/lpe
diff options
context:
space:
mode:
authorsalo <salo>2003-05-15 21:02:16 +0000
committersalo <salo>2003-05-15 21:02:16 +0000
commit8689702efc1bf9bc590fd4c9597c1a842c393c99 (patch)
tree93e623628b4600c16228ddf8d5eada775194abfb /editors/lpe
parent6d8910ef350859031b41b56a9463e783f1327f92 (diff)
downloadpkgsrc-8689702efc1bf9bc590fd4c9597c1a842c393c99.tar.gz
Import of lpe-1.2.6: Small and efficient programmer's editor for UNIX systems.
LPE is a small, efficient programmer's editor for UNIX systems. It has grown from the result of a single night of hacking into a very capable and very versatile editor that defines it's own philosophy opf text editing. That philosophy is that awk and sed are the right tools for most advanced editing jobs, and a text editor should make simple operations easy and make text look good. Package provided by Juan RP via pkgsrc-wip with modifications by me.
Diffstat (limited to 'editors/lpe')
-rw-r--r--editors/lpe/DESCR6
-rw-r--r--editors/lpe/Makefile37
-rw-r--r--editors/lpe/PLIST51
-rw-r--r--editors/lpe/distinfo15
-rw-r--r--editors/lpe/patches/patch-aa13
-rw-r--r--editors/lpe/patches/patch-ab13
-rw-r--r--editors/lpe/patches/patch-ac13
-rw-r--r--editors/lpe/patches/patch-ad13
-rw-r--r--editors/lpe/patches/patch-ae13
-rw-r--r--editors/lpe/patches/patch-af16
-rw-r--r--editors/lpe/patches/patch-ag13
-rw-r--r--editors/lpe/patches/patch-ah34
-rw-r--r--editors/lpe/patches/patch-ai19
-rw-r--r--editors/lpe/patches/patch-aj13
-rw-r--r--editors/lpe/patches/patch-ak13
15 files changed, 282 insertions, 0 deletions
diff --git a/editors/lpe/DESCR b/editors/lpe/DESCR
new file mode 100644
index 00000000000..d409dcd3773
--- /dev/null
+++ b/editors/lpe/DESCR
@@ -0,0 +1,6 @@
+LPE is a small, efficient programmer's editor for UNIX systems. It has grown
+from the result of a single night of hacking into a very capable and very
+versatile editor that defines it's own philosophy opf text editing. That
+philosophy is that awk and sed are the right tools for most advanced editing
+jobs, and a text editor should make simple operations easy and make text look
+good.
diff --git a/editors/lpe/Makefile b/editors/lpe/Makefile
new file mode 100644
index 00000000000..ce51090e5fc
--- /dev/null
+++ b/editors/lpe/Makefile
@@ -0,0 +1,37 @@
+# $NetBSD: Makefile,v 1.1.1.1 2003/05/15 21:02:16 salo Exp $
+#
+
+DISTNAME= lpe-1.2.6
+CATEGORIES= editors
+MASTER_SITES= ftp://ftp.sasknow.com/pub/ \
+ ftp://ftp.twu.net/users/cdsmith/lpe/
+
+MAINTAINER= jrp@hispabsd.org
+HOMEPAGE= http://cdsmith.twu.net/professional/opensource/lpe.html
+COMMENT= Small and efficient programmer's editor for UNIX systems
+
+BUILD_USES_MSGFMT= YES
+
+USE_BUILDLINK2= YES
+USE_PKGLOCALEDIR= YES
+USE_PKGINSTALL= YES
+USE_LIBTOOL= YES
+USE_GMAKE= YES
+GNU_CONFIGURE= YES
+
+SHLIBTOOL_OVERRIDE= ${WRKSRC}/libtool
+
+CONFIGURE_ENV= EXPORT_SYMBOLS_LDFLAGS="${EXPORT_SYMBOLS_LDFLAGS}"
+MAKE_ENV= EXPORT_SYMBOLS_LDFLAGS="${EXPORT_SYMBOLS_LDFLAGS}"
+CFLAGS= -DPREFIX=\"\\\"${PREFIX}\\\"\"
+
+post-patch:
+ @cd ${WRKSRC}/man && \
+ for f in cs de en es; do \
+ ${MV} lpe.1.$${f} lpe.1.$${f}.orig; \
+ ${SED} ${FILES_SUBST_SED} lpe.1.$${f}.orig > lpe.1.$${f}; \
+ done
+
+.include "../../devel/libslang/buildlink2.mk"
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/editors/lpe/PLIST b/editors/lpe/PLIST
new file mode 100644
index 00000000000..f368f60606b
--- /dev/null
+++ b/editors/lpe/PLIST
@@ -0,0 +1,51 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2003/05/15 21:02:16 salo Exp $
+bin/lpe
+lib/lpe/cmode.la
+lib/lpe/cmode.so
+lib/lpe/cppmode.la
+lib/lpe/cppmode.so
+lib/lpe/htmlmode.la
+lib/lpe/htmlmode.so
+lib/lpe/javamode.la
+lib/lpe/javamode.so
+lib/lpe/lispmode.la
+lib/lpe/lispmode.so
+lib/lpe/mailmode.la
+lib/lpe/mailmode.so
+lib/lpe/perlmode.la
+lib/lpe/perlmode.so
+lib/lpe/sgmlmode.la
+lib/lpe/sgmlmode.so
+man/bg/man1/lpe.1
+man/cs/man1/lpe.1
+man/de/man1/lpe.1
+man/es/man1/lpe.1
+man/fr/man1/lpe.1
+man/man1/lpe.1
+man/pl/man1/lpe.1
+share/doc/lpe/AUTHORS
+share/doc/lpe/BUGS
+share/doc/lpe/COPYING
+share/doc/lpe/CUSTOMIZE
+share/doc/lpe/IDEAS
+share/doc/lpe/MODES
+share/doc/lpe/NEWS
+share/doc/lpe/README
+share/doc/lpe/TODO
+share/examples/lpe/custom.ex
+${PKGLOCALEDIR}/locale/bg/LC_MESSAGES/lpe.mo
+${PKGLOCALEDIR}/locale/cs/LC_MESSAGES/lpe.mo
+${PKGLOCALEDIR}/locale/de/LC_MESSAGES/lpe.mo
+${PKGLOCALEDIR}/locale/es/LC_MESSAGES/lpe.mo
+${PKGLOCALEDIR}/locale/fr/LC_MESSAGES/lpe.mo
+${PKGLOCALEDIR}/locale/hu/LC_MESSAGES/lpe.mo
+${PKGLOCALEDIR}/locale/pl/LC_MESSAGES/lpe.mo
+${PKGLOCALEDIR}/locale/ru/LC_MESSAGES/lpe.mo
+share/lpe/conv.sl
+share/lpe/conv.slc
+share/lpe/init.sl
+share/lpe/init.slc
+@dirrm share/lpe
+@dirrm share/examples/lpe
+@dirrm share/doc/lpe
+@dirrm lib/lpe
diff --git a/editors/lpe/distinfo b/editors/lpe/distinfo
new file mode 100644
index 00000000000..b38dc593763
--- /dev/null
+++ b/editors/lpe/distinfo
@@ -0,0 +1,15 @@
+$NetBSD: distinfo,v 1.1.1.1 2003/05/15 21:02:16 salo Exp $
+
+SHA1 (lpe-1.2.6.tar.gz) = b69ef7d8ff3cee5bfb0d9709ed91182afccaf587
+Size (lpe-1.2.6.tar.gz) = 285618 bytes
+SHA1 (patch-aa) = b10ff6ce129bb8addbad688e1fd79b8d40cefbb1
+SHA1 (patch-ab) = 8b258595041ff3b51f7199ec7912729bb5547332
+SHA1 (patch-ac) = 615b0445d52ed9cc6b81403c26c3a4de975e4ec8
+SHA1 (patch-ad) = e60809ef84d950035e505e984bc2e8128aadf549
+SHA1 (patch-ae) = 060f369ded0f86d784333d823d398fbd7b13aecb
+SHA1 (patch-af) = 68cf5d5af37be425f3dbeb06bf157f918b758bbf
+SHA1 (patch-ag) = a4758145717099a1ca72a83e0a01660ea194ca6a
+SHA1 (patch-ah) = ac42f20b01fb56f8ecf3a3505f632962af03471c
+SHA1 (patch-ai) = 283608e9f1cde456395d4696cf5cb52afe536b19
+SHA1 (patch-aj) = cf72e180187e3eef42323bda6421cfe74d8cf543
+SHA1 (patch-ak) = 06db8f684a0b88e8f7daeb2293c2e20c95001c81
diff --git a/editors/lpe/patches/patch-aa b/editors/lpe/patches/patch-aa
new file mode 100644
index 00000000000..84718b12a44
--- /dev/null
+++ b/editors/lpe/patches/patch-aa
@@ -0,0 +1,13 @@
+$NetBSD: patch-aa,v 1.1.1.1 2003/05/15 21:02:16 salo Exp $
+
+--- man/Makefile.in.orig 2003-05-15 13:48:14.000000000 +0200
++++ man/Makefile.in 2003-05-15 14:01:51.000000000 +0200
+@@ -102,7 +102,7 @@
+
+ man_MANS = lpe.1
+
+-EXTRA_MANPAGES = lpe.1.bg lpe.1.cs lpe.1.de lpe.1.es lpe.1.fr lpe.1.pl lpe.1.ru
++EXTRA_MANPAGES = lpe.1.bg lpe.1.cs lpe.1.de lpe.1.es lpe.1.fr lpe.1.pl
+
+
+ EXTRA_DIST = $(EXTRA_MANPAGES) lpe.1.en
diff --git a/editors/lpe/patches/patch-ab b/editors/lpe/patches/patch-ab
new file mode 100644
index 00000000000..c9b8d7a73a9
--- /dev/null
+++ b/editors/lpe/patches/patch-ab
@@ -0,0 +1,13 @@
+$NetBSD: patch-ab,v 1.1.1.1 2003/05/15 21:02:16 salo Exp $
+
+--- man/lpe.1.en.orig 2003-05-15 13:48:27.000000000 +0200
++++ man/lpe.1.en 2003-05-15 13:56:54.000000000 +0200
+@@ -162,7 +162,7 @@
+ in this order:
+
+ \fB$HOME/.lpe\fP
+-\fB/usr/local/lib/lpe\fP
++\fB@PREFIX@/lib/lpe\fP
+ \fB/usr/lib/lpe\fP
+ \fB/etc/lpe\fP
+
diff --git a/editors/lpe/patches/patch-ac b/editors/lpe/patches/patch-ac
new file mode 100644
index 00000000000..471af107e23
--- /dev/null
+++ b/editors/lpe/patches/patch-ac
@@ -0,0 +1,13 @@
+$NetBSD: patch-ac,v 1.1.1.1 2003/05/15 21:02:16 salo Exp $
+
+--- man/lpe.1.cs.orig 1999-07-03 21:38:55.000000000 +0200
++++ man/lpe.1.cs 2003-05-15 13:57:25.000000000 +0200
+@@ -123,7 +123,7 @@
+
+ .SH SOUBORY
+ .TP
+-\fB/etc/lpe\fP
++\fB@PREFIX@/lib/lpe\fP
+ Umisteni defaultnich jazykovych modulu
+ .TP
+ \fB$HOME/.lpe\fP
diff --git a/editors/lpe/patches/patch-ad b/editors/lpe/patches/patch-ad
new file mode 100644
index 00000000000..e94f1e03cee
--- /dev/null
+++ b/editors/lpe/patches/patch-ad
@@ -0,0 +1,13 @@
+$NetBSD: patch-ad,v 1.1.1.1 2003/05/15 21:02:16 salo Exp $
+
+--- man/lpe.1.de.orig 1999-07-03 21:38:55.000000000 +0200
++++ man/lpe.1.de 2003-05-15 13:58:44.000000000 +0200
+@@ -127,7 +127,7 @@
+
+ .SH DATEIEN
+ .TP
+-\fB/etc/lpe\fP
++\fB@PREFIX@/lib/lpe\fP
+ Verzeichnis für systemweite Module
+ .TP
+ \fB$HOME/.lpe\fP
diff --git a/editors/lpe/patches/patch-ae b/editors/lpe/patches/patch-ae
new file mode 100644
index 00000000000..8b2fe6c16c3
--- /dev/null
+++ b/editors/lpe/patches/patch-ae
@@ -0,0 +1,13 @@
+$NetBSD: patch-ae,v 1.1.1.1 2003/05/15 21:02:16 salo Exp $
+
+--- man/lpe.1.es.orig 2000-07-24 03:19:53.000000000 +0200
++++ man/lpe.1.es 2003-05-15 13:59:06.000000000 +0200
+@@ -166,7 +166,7 @@
+ buscará los módulos es los siguientes directorios, y por este orden
+
+ \fB$HOME/.lpe\fP
+-\fB/usr/local/lib/lpe\fP
++\fB@PREFIX@/lib/lpe\fP
+ \fB/usr/lib/lpe\fP
+ \fB/etc/lpe\fP
+
diff --git a/editors/lpe/patches/patch-af b/editors/lpe/patches/patch-af
new file mode 100644
index 00000000000..ca8c8c7f524
--- /dev/null
+++ b/editors/lpe/patches/patch-af
@@ -0,0 +1,16 @@
+$NetBSD: patch-af,v 1.1.1.1 2003/05/15 21:02:16 salo Exp $
+
+--- src/modes/perlmode.c.orig 2000-07-21 18:42:56.000000000 +0200
++++ src/modes/perlmode.c 2003-05-15 14:10:20.000000000 +0200
+@@ -156,9 +156,9 @@
+ mode_util_set_slang_color ( "cmode", "illegal", COLOR_ILLEGAL, COLOR_ILLEGAL_FG, COLOR_ILLEGAL_BG );
+ mode_util_set_slang_color ( "cmode", "debug", COLOR_DEBUG, COLOR_DEBUG_FG, COLOR_DEBUG_BG );
+ mode_util_set_slang_color ( "perlmode", "variable", COLOR_VARIABLE, "brightcyan", "black" );
+- mode_util_set_slang_color ( "perlmode", "shell", COLOR_SHELL, "magneta", "black" );
++ mode_util_set_slang_color ( "perlmode", "shell", COLOR_SHELL, "magenta", "black" );
+ #ifdef HIGHLIGHT_REGEXPS
+- mode_util_set_slang_color ( "perlmode", "regexp", COLOR_REGEXP, "magneta", "black" );
++ mode_util_set_slang_color ( "perlmode", "regexp", COLOR_REGEXP, "magenta", "black" );
+ #endif /* HIGHLIGHT_REGEXPS */
+ }
+
diff --git a/editors/lpe/patches/patch-ag b/editors/lpe/patches/patch-ag
new file mode 100644
index 00000000000..514029de604
--- /dev/null
+++ b/editors/lpe/patches/patch-ag
@@ -0,0 +1,13 @@
+$NetBSD: patch-ag,v 1.1.1.1 2003/05/15 21:02:16 salo Exp $
+
+--- src/modes/sgmlmode.c.orig 2000-07-21 18:43:02.000000000 +0200
++++ src/modes/sgmlmode.c 2003-05-15 14:10:53.000000000 +0200
+@@ -71,7 +71,7 @@
+ mode_util_set_slang_color("sgmlmode", "argument", COLOR_ARGUMENT, "blue", "black" );
+ mode_util_set_slang_color("sgmlmode", "special", COLOR_SPECIAL, "brown", "black" );
+ mode_util_set_slang_color("sgmlmode", "value", COLOR_VALUE, "brightblue", "black" );
+- mode_util_set_slang_color("sgmlmode", "slash_text", COLOR_SLASH_TEXT, "magneta", "black" );
++ mode_util_set_slang_color("sgmlmode", "slash_text", COLOR_SLASH_TEXT, "magenta", "black" );
+ mode_util_set_slang_color("sgmlmode", "symbol", COLOR_SYMBOL, COLOR_SYMBOL_FG, COLOR_SYMBOL_BG );
+ mode_util_set_slang_color("sgmlmode", "brace", COLOR_BRACE, COLOR_BRACE_FG, COLOR_BRACE_BG );
+ mode_util_set_slang_color("sgmlmode", "illegal", COLOR_ILLEGAL, COLOR_ILLEGAL_FG, COLOR_ILLEGAL_BG );
diff --git a/editors/lpe/patches/patch-ah b/editors/lpe/patches/patch-ah
new file mode 100644
index 00000000000..dbb4934d85b
--- /dev/null
+++ b/editors/lpe/patches/patch-ah
@@ -0,0 +1,34 @@
+$NetBSD: patch-ah,v 1.1.1.1 2003/05/15 21:02:16 salo Exp $
+
+--- src/modes/Makefile.in.orig 2001-06-20 12:22:33.000000000 +0200
++++ src/modes/Makefile.in 2003-05-15 14:14:32.000000000 +0200
+@@ -110,21 +110,21 @@
+
+
+ cmode_la_SOURCES = cmode.c
+-cmode_la_LDFLAGS = -no-undefined -avoid-version -module -export-dynamic -rpath $(liblpedir)
++cmode_la_LDFLAGS = -no-undefined -avoid-version -module $(EXPORT_SYMBOLS_LDFLAGS) -rpath $(liblpedir)
+ cppmode_la_SOURCES = cppmode.c
+-cppmode_la_LDFLAGS = -no-undefined -avoid-version -module -export-dynamic -rpath $(liblpedir)
++cppmode_la_LDFLAGS = -no-undefined -avoid-version -module $(EXPORT_SYMBOLS_LDFLAGS) -rpath $(liblpedir)
+ perlmode_la_SOURCES = perlmode.c
+-perlmode_la_LDFLAGS = -no-undefined -avoid-version -module -export-dynamic -rpath $(liblpedir)
++perlmode_la_LDFLAGS = -no-undefined -avoid-version -module $(EXPORT_SYMBOLS_LDFLAGS) -rpath $(liblpedir)
+ htmlmode_la_SOURCES = htmlmode.c
+-htmlmode_la_LDFLAGS = -no-undefined -avoid-version -module -export-dynamic -rpath $(liblpedir)
++htmlmode_la_LDFLAGS = -no-undefined -avoid-version -module $(EXPORT_SYMBOLS_LDFLAGS) -rpath $(liblpedir)
+ sgmlmode_la_SOURCES = sgmlmode.c
+-sgmlmode_la_LDFLAGS = -no-undefined -avoid-version -module -export-dynamic -rpath $(liblpedir)
++sgmlmode_la_LDFLAGS = -no-undefined -avoid-version -module $(EXPORT_SYMBOLS_LDFLAGS) -rpath $(liblpedir)
+ mailmode_la_SOURCES = mailmode.c
+-mailmode_la_LDFLAGS = -no-undefined -avoid-version -module -export-dynamic -rpath $(liblpedir)
++mailmode_la_LDFLAGS = -no-undefined -avoid-version -module $(EXPORT_SYMBOLS_LDFLAGS) -rpath $(liblpedir)
+ javamode_la_SOURCES = javamode.c
+-javamode_la_LDFLAGS = -no-undefined -avoid-version -module -export-dynamic -rpath $(liblpedir)
++javamode_la_LDFLAGS = -no-undefined -avoid-version -module $(EXPORT_SYMBOLS_LDFLAGS) -rpath $(liblpedir)
+ lispmode_la_SOURCES = lispmode.c
+-lispmode_la_LDFLAGS = -no-undefined -avoid-version -module -export-dynamic -rpath $(liblpedir)
++lispmode_la_LDFLAGS = -no-undefined -avoid-version -module $(EXPORT_SYMBOLS_LDFLAGS) -rpath $(liblpedir)
+ mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
+ CONFIG_HEADER = ../../config.h
+ CONFIG_CLEAN_FILES =
diff --git a/editors/lpe/patches/patch-ai b/editors/lpe/patches/patch-ai
new file mode 100644
index 00000000000..454975f6322
--- /dev/null
+++ b/editors/lpe/patches/patch-ai
@@ -0,0 +1,19 @@
+$NetBSD: patch-ai,v 1.1.1.1 2003/05/15 21:02:16 salo Exp $
+
+--- configure.orig 2003-05-15 14:21:40.000000000 +0200
++++ configure 2003-05-15 14:26:34.000000000 +0200
+@@ -3921,12 +3921,12 @@
+ done
+ if test "$lpe_LDFLAGS" != ""
+ then
+- lpe_LDFLAGS="-export-dynamic $lpe_LDFLAGS"
++ lpe_LDFLAGS="${EXPORT_SYMBOLS_LDFLAGS} $lpe_LDFLAGS"
+ fi
+ else
+ if test "$MODES" != ""
+ then
+- lpe_LDFLAGS="-export-dynamic"
++ lpe_LDFLAGS="${EXPORT_SYMBOLS_LDFLAGS}"
+ fi
+ fi
+
diff --git a/editors/lpe/patches/patch-aj b/editors/lpe/patches/patch-aj
new file mode 100644
index 00000000000..a45db38d8f3
--- /dev/null
+++ b/editors/lpe/patches/patch-aj
@@ -0,0 +1,13 @@
+$NetBSD: patch-aj,v 1.1.1.1 2003/05/15 21:02:16 salo Exp $
+
+--- src/options.h.orig 2000-07-21 20:42:14.000000000 +0200
++++ src/options.h 2003-05-15 14:44:55.000000000 +0200
+@@ -27,7 +27,7 @@
+ #define CMD_SH "sh"
+ #define CMD_AWK "awk"
+ #define CMD_SED "sed"
+-#define DEF_MODULE_PATH "~/.lpe:/usr/local/lib/lpe:/usr/lib/lpe:/etc/lpe"
++#define DEF_MODULE_PATH "~/.lpe:"PREFIX"/lib/lpe:/usr/lib/lpe:/etc/lpe"
+ #define DEF_HARD_TAB_WIDTH 8
+ #define DEF_SOFT_TAB_WIDTH 4
+ #define DEF_FLASH_TIME 3
diff --git a/editors/lpe/patches/patch-ak b/editors/lpe/patches/patch-ak
new file mode 100644
index 00000000000..2dcd3152d3c
--- /dev/null
+++ b/editors/lpe/patches/patch-ak
@@ -0,0 +1,13 @@
+$NetBSD: patch-ak,v 1.1.1.1 2003/05/15 21:02:16 salo Exp $
+
+--- data/Makefile.in.orig 2001-06-20 12:22:28.000000000 +0200
++++ data/Makefile.in 2003-05-15 22:50:44.000000000 +0200
+@@ -111,7 +111,7 @@
+ lpe_datadir = $(datadir)/lpe
+ lpe_data_DATA = $(slang_sources) $(slang_compiled)
+
+-exdir = $(datadir)/doc/lpe/examples
++exdir = $(datadir)/examples/lpe
+ ex_DATA = custom.ex
+
+ EXTRA_DIST = $(ex_DATA) $(slang_sources) init.sl.in