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.
This commit is contained in:
parent
d7f95160ee
commit
e36834e48c
15 changed files with 282 additions and 0 deletions
6
editors/lpe/DESCR
Normal file
6
editors/lpe/DESCR
Normal file
|
@ -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.
|
37
editors/lpe/Makefile
Normal file
37
editors/lpe/Makefile
Normal file
|
@ -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"
|
51
editors/lpe/PLIST
Normal file
51
editors/lpe/PLIST
Normal file
|
@ -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
|
15
editors/lpe/distinfo
Normal file
15
editors/lpe/distinfo
Normal file
|
@ -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
|
13
editors/lpe/patches/patch-aa
Normal file
13
editors/lpe/patches/patch-aa
Normal file
|
@ -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
|
13
editors/lpe/patches/patch-ab
Normal file
13
editors/lpe/patches/patch-ab
Normal file
|
@ -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
|
||||
|
13
editors/lpe/patches/patch-ac
Normal file
13
editors/lpe/patches/patch-ac
Normal file
|
@ -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
|
13
editors/lpe/patches/patch-ad
Normal file
13
editors/lpe/patches/patch-ad
Normal file
|
@ -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
|
13
editors/lpe/patches/patch-ae
Normal file
13
editors/lpe/patches/patch-ae
Normal file
|
@ -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
|
||||
|
16
editors/lpe/patches/patch-af
Normal file
16
editors/lpe/patches/patch-af
Normal file
|
@ -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 */
|
||||
}
|
||||
|
13
editors/lpe/patches/patch-ag
Normal file
13
editors/lpe/patches/patch-ag
Normal file
|
@ -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 );
|
34
editors/lpe/patches/patch-ah
Normal file
34
editors/lpe/patches/patch-ah
Normal file
|
@ -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 =
|
19
editors/lpe/patches/patch-ai
Normal file
19
editors/lpe/patches/patch-ai
Normal file
|
@ -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
|
||||
|
13
editors/lpe/patches/patch-aj
Normal file
13
editors/lpe/patches/patch-aj
Normal file
|
@ -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
|
13
editors/lpe/patches/patch-ak
Normal file
13
editors/lpe/patches/patch-ak
Normal file
|
@ -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
|
Loading…
Reference in a new issue