mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-26 09:46:09 +00:00
Add nvi-devel, the development snapshot of nvi.
This commit is contained in:
parent
2d0a1eee6a
commit
656dd7d5d2
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=44898
@ -81,6 +81,7 @@
|
||||
SUBDIR += mule-common
|
||||
SUBDIR += nano
|
||||
SUBDIR += nedit
|
||||
SUBDIR += nvi-devel
|
||||
SUBDIR += nvi-m17n
|
||||
SUBDIR += nvi-perl
|
||||
SUBDIR += offix-editor
|
||||
|
39
editors/nvi-devel/Makefile
Normal file
39
editors/nvi-devel/Makefile
Normal file
@ -0,0 +1,39 @@
|
||||
# New ports collection makefile for: nvi-devel
|
||||
# Date created: 6 July 2001
|
||||
# Whom: dd
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= nvi
|
||||
PORTVERSION= 1.81.4
|
||||
CATEGORIES= editors
|
||||
MASTER_SITES= http://www.kotnet.org/~skimo/nvi/devel/ \
|
||||
${MASTER_SITE_LOCAL} \
|
||||
http://www.unixfreak.org/~dima/distfiles/
|
||||
MASTER_SITE_SUBDIR= dd
|
||||
|
||||
MAINTAINER= dd@FreeBSD.org
|
||||
|
||||
BUILD_DEPENDS= iconv:${PORTSDIR}/converters/iconv
|
||||
LIB_DEPENDS= db3.2:${PORTSDIR}/databases/db3
|
||||
|
||||
WRKSRC= ${WRKDIR}/${DISTNAME}/build.unix
|
||||
PATCH_WRKSRC= ${WRKDIR}
|
||||
GNU_CONFIGURE= yes
|
||||
INSTALLS_SHLIB= yes
|
||||
CONFIGURE_ARGS+= --with-db3=${PREFIX}
|
||||
CONFIGURE_SCRIPT= ../dist/configure
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
# We need src/include/wchar.h and friends. This isn't the exact
|
||||
# version we need, but it's close enough.
|
||||
.if ${OSVERSION} < 500019
|
||||
BROKEN= "need wide character support"
|
||||
.endif
|
||||
|
||||
post-install:
|
||||
${MV} ${PREFIX}/bin/vi ${PREFIX}/bin/nvi-devel
|
||||
|
||||
.include <bsd.port.post.mk>
|
1
editors/nvi-devel/distinfo
Normal file
1
editors/nvi-devel/distinfo
Normal file
@ -0,0 +1 @@
|
||||
MD5 (nvi-1.81.4.tar.gz) = 5826bdceb43cb3787ee89ef57de033f6
|
17
editors/nvi-devel/files/patch-configure-incl
Normal file
17
editors/nvi-devel/files/patch-configure-incl
Normal file
@ -0,0 +1,17 @@
|
||||
# The db3 port installs its include files into ${PREFIX}/include/db3,
|
||||
# but the distfile assumes they're in ${PREFIX}/include. This seems
|
||||
# to be a FreeBSDism, so this patch has not, and probably should not,
|
||||
# be submitted to the maintainer.
|
||||
|
||||
diff -ru nvi-1.81.4.orig/dist/configure nvi-1.81.4/dist/configure
|
||||
--- nvi-1.81.4.orig/dist/configure Mon Jun 18 14:24:37 2001
|
||||
+++ nvi-1.81.4/dist/configure Fri Jul 6 03:27:53 2001
|
||||
@@ -6980,7 +6980,7 @@
|
||||
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 -I$with_db3/include/db3 $CFLAGS"
|
||||
fi;
|
||||
|
||||
echo $ac_n "checking for db_create in -ldb""... $ac_c" 1>&6
|
19
editors/nvi-devel/files/patch-lr-num
Normal file
19
editors/nvi-devel/files/patch-lr-num
Normal file
@ -0,0 +1,19 @@
|
||||
# This fixes an infinite loop in the case of:
|
||||
#
|
||||
# :set leftright
|
||||
# :set number
|
||||
#
|
||||
# See PR 28687. Patch has been submitted to maintainer.
|
||||
|
||||
diff -ru nvi-1.81.4.orig/vi/vs_refresh.c nvi-1.81.4/vi/vs_refresh.c
|
||||
--- nvi-1.81.4.orig/vi/vs_refresh.c Wed Jul 19 10:05:20 2000
|
||||
+++ nvi-1.81.4/vi/vs_refresh.c Sat Jul 7 16:11:51 2001
|
||||
@@ -573,7 +573,7 @@
|
||||
* for the number option offset.
|
||||
*/
|
||||
cnt = vs_columns(sp, NULL, LNO, &CNO, NULL);
|
||||
- if (O_ISSET(sp, O_NUMBER))
|
||||
+ if (O_ISSET(sp, O_NUMBER) && cnt >= O_NUMBER_LENGTH)
|
||||
cnt -= O_NUMBER_LENGTH;
|
||||
|
||||
/* Adjust the window towards the beginning of the line. */
|
1
editors/nvi-devel/pkg-comment
Normal file
1
editors/nvi-devel/pkg-comment
Normal file
@ -0,0 +1 @@
|
||||
Development snapshot of the world-renown nvi editor
|
4
editors/nvi-devel/pkg-descr
Normal file
4
editors/nvi-devel/pkg-descr
Normal file
@ -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/
|
5
editors/nvi-devel/pkg-plist
Normal file
5
editors/nvi-devel/pkg-plist
Normal file
@ -0,0 +1,5 @@
|
||||
bin/nvi-devel
|
||||
lib/libvi.a
|
||||
lib/libvi.la
|
||||
lib/libvi.so
|
||||
lib/libvi.so.0
|
Loading…
Reference in New Issue
Block a user