[Midnightbsd-cvs] mports: mports/editors: Add nvi-devel.
laffer1 at midnightbsd.org
laffer1 at midnightbsd.org
Thu Dec 27 21:26:02 EST 2007
Log Message:
-----------
Add nvi-devel.
Modified Files:
--------------
mports/editors:
Makefile (r1.18 -> r1.19)
Added Files:
-----------
mports/editors/nvi-devel:
Makefile (r1.1)
distinfo (r1.1)
pkg-descr (r1.1)
pkg-plist (r1.1)
mports/editors/nvi-devel/files:
patch-config.h.in (r1.1)
patch-configure (r1.1)
-------------- next part --------------
--- /dev/null
+++ editors/nvi-devel/pkg-descr
@@ -0,0 +1,4 @@
+This is the development snapshot of the world-renown nvi editor
+maintained by Sven Verdoolaege and Keith Bostic.
+
+WWW: http://www.kotnet.org/~skimo/nvi/
--- /dev/null
+++ editors/nvi-devel/pkg-plist
@@ -0,0 +1,27 @@
+bin/ex
+bin/vi
+bin/view
+lib/libvi.a
+lib/libvi.la
+lib/libvi.so
+lib/libvi.so.0
+share/vi/catalog/german
+share/vi/catalog/spanish
+share/vi/catalog/ru_SU.KOI8-R
+share/vi/catalog/swedish
+share/vi/catalog/french
+share/vi/catalog/english
+share/vi/catalog/dutch
+ at dirrm share/vi/catalog
+share/vi/perl/wc.pl
+share/vi/perl/tk.pl
+share/vi/perl/make.pl
+share/vi/perl/forall.pl
+ at dirrm share/vi/perl
+share/vi/tcl/wc.tcl
+share/vi/tcl/mailprocs.tcl
+share/vi/tcl/gnats.tcl
+share/vi/tcl/errors.tcl
+share/vi/recover
+ at dirrm share/vi/tcl
+ at dirrm share/vi
--- /dev/null
+++ editors/nvi-devel/Makefile
@@ -0,0 +1,41 @@
+# New ports collection makefile for: nvi-devel
+# Date created: 27 Dec 2007
+# Whom: Lucas Holt <luke at midnightbsd.org>
+#
+# $MidnightBSD: mports/editors/nvi-devel/Makefile,v 1.1 2007/12/28 02:25:59 laffer1 Exp $
+#
+
+PORTNAME= nvi
+PORTVERSION= 1.81.5
+CATEGORIES= editors
+MASTER_SITES= http://193.190.253.81/~skimo/nvi/devel/ \
+ ${MASTER_SITE_LOCAL}
+MASTER_SITE_SUBDIR= dd
+
+MAINTAINER= ports at MidnightBSD.org
+COMMENT= Development snapshot of the world-renown nvi editor
+LICENSE= bsd3
+
+BUILD_DEPENDS= iconv:${PORTSDIR}/converters/libiconv
+LIB_DEPENDS= db3.3:${PORTSDIR}/databases/db3
+
+USE_BZIP2= yes
+WRKSRC= ${WRKDIR}/${DISTNAME}/build.unix
+USE_AUTOTOOLS= libtool:15
+USE_LDCONFIG= yes
+CONFIGURE_ARGS+= --with-db3=${LOCALBASE}
+CONFIGURE_SCRIPT= ../dist/configure
+MAN1= ex.1 vi.1 view.1
+
+.include <bsd.port.pre.mk>
+
+post-configure:
+ ${ECHO_CMD} "#undef HAVE_SYS_SELECT_H" >> ${WRKSRC}/config.h
+
+post-install:
+.for __p in ex vi view
+ @# XXX: Hack the Makefile in the distribution so this isn't necessary.
+ ${RM} ${PREFIX}/man/cat1/${__p}.0
+.endfor
+
+.include <bsd.port.post.mk>
--- /dev/null
+++ editors/nvi-devel/distinfo
@@ -0,0 +1,3 @@
+MD5 (nvi-1.81.5.tar.bz2) = 82262d08803b364033dd7ab38190305a
+SHA256 (nvi-1.81.5.tar.bz2) = e40e1810e5aa39ebcea4c99b4cabd385dd5c8c817d4f7eb74741939623d97eaf
+SIZE (nvi-1.81.5.tar.bz2) = 1274353
Index: Makefile
===================================================================
RCS file: /home/cvs/mports/editors/Makefile,v
retrieving revision 1.18
retrieving revision 1.19
diff -L editors/Makefile -L editors/Makefile -u -r1.18 -r1.19
--- editors/Makefile
+++ editors/Makefile
@@ -17,6 +17,7 @@
SUBDIR += manedit
SUBDIR += mg
SUBDIR += nano
+ SUBDIR += nvi-devel
SUBDIR += pico
SUBDIR += pico-alpine
SUBDIR += staroffice70
--- /dev/null
+++ editors/nvi-devel/files/patch-configure
@@ -0,0 +1,41 @@
+# This patch makes the following changes:
+#
+# - -ldb -> -ldb3
+# - db3 include files in include/db3, not include
+#
+# As far as I can tell, both of these are FreeBSDisms, so this patch
+# should not be submitted to the vendor.
+
+--- ../dist/configure~ Sun Feb 10 23:08:14 2002
++++ ../dist/configure Sun Feb 10 23:08:11 2002
+@@ -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
--- /dev/null
+++ editors/nvi-devel/files/patch-config.h.in
@@ -0,0 +1,12 @@
+--- ../dist/config.h.in- Fri May 9 12:50:29 2003
++++ ../dist/config.h.in Fri May 9 12:50:56 2003
+@@ -103,9 +103,6 @@
+ /* Define if you have <sys/select.h> */
+ #undef HAVE_SYS_SELECT_H
+
+-/* Define if you have the System V style pty calls. */
+-#undef HAVE_SYS5_PTY
+-
+ /* Define if you want to compile in the Tcl interpreter. */
+ #undef HAVE_TCL_INTERP
+
More information about the Midnightbsd-cvs
mailing list