diff options
author | wiz <wiz@pkgsrc.org> | 2002-01-12 10:59:30 +0000 |
---|---|---|
committer | wiz <wiz@pkgsrc.org> | 2002-01-12 10:59:30 +0000 |
commit | c673b557463560668e15cafde5a974a56fae463d (patch) | |
tree | 5602fc111c275529c6d68f5a2b4cc07acf635a2f /editors/nvi | |
parent | 3dffe59de52500dc742a751fb736b237add99628 (diff) | |
download | pkgsrc-c673b557463560668e15cafde5a974a56fae463d.tar.gz |
Initial import of nvi 1.81.5.
Nvi is an implementation of the ex/vi text editor originally distributed
as part of the Fourth Berkeley Software Distribution (4BSD), by the
University of California, Berkeley. The source code to nvi is freely
available, and nvi may be freely redistributed.
Diffstat (limited to 'editors/nvi')
-rw-r--r-- | editors/nvi/DESCR | 4 | ||||
-rw-r--r-- | editors/nvi/Makefile | 39 | ||||
-rw-r--r-- | editors/nvi/PLIST | 35 | ||||
-rw-r--r-- | editors/nvi/distinfo | 5 | ||||
-rw-r--r-- | editors/nvi/patches/patch-aa | 35 |
5 files changed, 118 insertions, 0 deletions
diff --git a/editors/nvi/DESCR b/editors/nvi/DESCR new file mode 100644 index 00000000000..708e7b4574a --- /dev/null +++ b/editors/nvi/DESCR @@ -0,0 +1,4 @@ +Nvi is an implementation of the ex/vi text editor originally distributed +as part of the Fourth Berkeley Software Distribution (4BSD), by the +University of California, Berkeley. The source code to nvi is freely +available, and nvi may be freely redistributed. diff --git a/editors/nvi/Makefile b/editors/nvi/Makefile new file mode 100644 index 00000000000..28af5d4256c --- /dev/null +++ b/editors/nvi/Makefile @@ -0,0 +1,39 @@ +# $NetBSD: Makefile,v 1.1.1.1 2002/01/12 10:59:30 wiz Exp $ +# + +DISTNAME= nvi-1.81.5 +CATEGORIES= editors +MASTER_SITES= http://www.kotnet.org/~skimo/nvi/devel/ +EXTRACT_SUFX= .tar.bz2 + +MAINTAINER= aymeric@netbsd.org +HOMEPAGE= http://www.kotnet.org/~skimo/nvi/devel/ +COMMENT= Berkeley nvi with additional features + +GNU_CONFIGURE= YES +CONFIGURE_SCRIPT= ../dist/configure +CONFIGURE_ARGS+= --with-db3=${BUILDLINK_DIR} +USE_LIBTOOL= YES +LTCONFIG_OVERRIDE= ${WRKSRC}/../dist/ltconfig + +USE_BUILDLINK_ONLY= YES + +WRKSRC= ${WRKDIR}/${DISTNAME}/build.unix + +# --program-prefix doesn't work because of a problem with sed +post-install: + cd ${PREFIX}/bin && \ + ${MV} vi nvi && \ + ${MV} ex nex && \ + ${MV} view nview + cd ${PREFIX}/man/cat1 && \ + ${MV} vi.0 nvi.0 && \ + ${MV} ex.0 nex.0 && \ + ${MV} view.0 nview.0 + cd ${PREFIX}/man/man1 && \ + ${MV} vi.1 nvi.1 && \ + ${MV} ex.1 nex.1 && \ + ${MV} view.1 nview.1 + +.include "../../databases/db3/buildlink.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/editors/nvi/PLIST b/editors/nvi/PLIST new file mode 100644 index 00000000000..b32805214d1 --- /dev/null +++ b/editors/nvi/PLIST @@ -0,0 +1,35 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2002/01/12 10:59:30 wiz Exp $ +bin/nex +bin/nvi +bin/nview +lib/libvi.a +lib/libvi.la +lib/libvi.so +lib/libvi.so.0 +lib/libvi.so.0.0 +man/cat1/nex.0 +man/cat1/nvi.0 +man/cat1/nview.0 +man/man1/nex.1 +man/man1/nvi.1 +man/man1/nview.1 +share/vi/catalog/dutch +share/vi/catalog/english +share/vi/catalog/french +share/vi/catalog/german +share/vi/catalog/ru_SU.KOI8-R +share/vi/catalog/spanish +share/vi/catalog/swedish +share/vi/perl/forall.pl +share/vi/perl/make.pl +share/vi/perl/tk.pl +share/vi/perl/wc.pl +share/vi/recover +share/vi/tcl/errors.tcl +share/vi/tcl/gnats.tcl +share/vi/tcl/mailprocs.tcl +share/vi/tcl/wc.tcl +@dirrm share/vi/tcl +@dirrm share/vi/perl +@dirrm share/vi/catalog +@dirrm share/vi diff --git a/editors/nvi/distinfo b/editors/nvi/distinfo new file mode 100644 index 00000000000..0aed37dc191 --- /dev/null +++ b/editors/nvi/distinfo @@ -0,0 +1,5 @@ +$NetBSD: distinfo,v 1.1.1.1 2002/01/12 10:59:30 wiz Exp $ + +SHA1 (nvi-1.81.5.tar.bz2) = 63a5837cf9e726c10a9927323b451390e267765e +Size (nvi-1.81.5.tar.bz2) = 1274353 bytes +SHA1 (patch-aa) = 4dcab66a7326e2f25d50bf188d941c7961a5955d diff --git a/editors/nvi/patches/patch-aa b/editors/nvi/patches/patch-aa new file mode 100644 index 00000000000..f5f3e9a706f --- /dev/null +++ b/editors/nvi/patches/patch-aa @@ -0,0 +1,35 @@ +$NetBSD: patch-aa,v 1.1.1.1 2002/01/12 10:59:30 wiz Exp $ + +--- ../dist/configure.orig Tue Aug 21 14:41:01 2001 ++++ ../dist/configure +@@ -10676,17 +10676,17 @@ + saveLDFLAGS="$LDFLAGS" + if test "x$with_db3" != "x"; then + LDFLAGS="-L$with_db3/lib $LDFLAGS" +- CFLAGS="-I$with_db3/include $CFLAGS" ++ CFLAGS="-I$with_db3/include/db3 $CFLAGS" + fi; + +-echo $ac_n "checking for db_create in -ldb""... $ac_c" 1>&6 +-echo "configure:10684: checking for db_create in -ldb" >&5 ++echo $ac_n "checking for db_create in -ldb3""... $ac_c" 1>&6 ++echo "configure:10684: checking for db_create in -ldb3" >&5 + ac_lib_var=`echo db'_'db_create | sed 'y%./+-%__p_%'` + if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 + else + ac_save_LIBS="$LIBS" +-LIBS="-ldb $LIBS" ++LIBS="-ldb3 $LIBS" + cat > conftest.$ac_ext <<EOF + #line 10692 "configure" + #include "confdefs.h" +@@ -10835,7 +10835,7 @@ + dl_src=../common/dldb.c + LIBS="-ldl $LIBS" + else +- LIBS="-ldb $LIBS" ++ LIBS="-ldb3 $LIBS" + if test "X$with_db3" != "X"; then + LDFLAGS="`echo $with_db3/lib | sed "$LRscript"` $LDFLAGS" + fi |