diff options
author | Craig Leres <leres@FreeBSD.org> | 2020-08-02 05:35:30 +0800 |
---|---|---|
committer | Craig Leres <leres@FreeBSD.org> | 2020-08-02 05:35:30 +0800 |
commit | 843548a8639592ac4e071ab5a8f74831462482af (patch) | |
tree | 3458ca741ec74d5900c73cb0424371029fe3e3f4 /editors | |
parent | 20755d7d5d8987c5d0c243ace4b2d1584cdda69b (diff) | |
download | freebsd-ports-gnome-843548a8639592ac4e071ab5a8f74831462482af.tar.gz freebsd-ports-gnome-843548a8639592ac4e071ab5a8f74831462482af.tar.zst freebsd-ports-gnome-843548a8639592ac4e071ab5a8f74831462482af.zip |
editors/nvi2: Update to the 2020801 version
- The expandtab option now applies to lines filtered with the !
command
- Enable Ninja for the build thanks to upstream changes
- Add symlinks for the nex and nview man pages
Diffstat (limited to 'editors')
-rw-r--r-- | editors/nvi2/Makefile | 20 | ||||
-rw-r--r-- | editors/nvi2/distinfo | 6 | ||||
-rw-r--r-- | editors/nvi2/pkg-descr | 4 |
3 files changed, 14 insertions, 16 deletions
diff --git a/editors/nvi2/Makefile b/editors/nvi2/Makefile index 04d9c6b2ee88..2b42fe61be65 100644 --- a/editors/nvi2/Makefile +++ b/editors/nvi2/Makefile @@ -2,7 +2,7 @@ # $FreeBSD$ PORTNAME= nvi2 -PORTVERSION= 2.1.3.g2020726 +PORTVERSION= 2.1.3.g2020801 CATEGORIES= editors MAINTAINER= leres@FreeBSD.org @@ -10,11 +10,11 @@ COMMENT= Updated implementation of the ex/vi text editor LICENSE= BSD3CLAUSE -USES= bdb cmake:noninja ncurses +USES= bdb cmake ncurses USE_GITHUB= yes GH_ACCOUNT= lichray -GH_TAGNAME= 0ef1c82 +GH_TAGNAME= 6a8af80 CONFLICTS_INSTALL= nvi-m17n-[0-9]* nvi-[0-9]* @@ -29,18 +29,12 @@ ICONV_CMAKE_BOOL= ENABLE_ICONV ICONV_USES= iconv WIDECHAR_CMAKE_BOOL= ENABLE_WIDECHAR -CMAKE_SOURCE_PATH= ${WRKSRC}/build - PLIST_FILES= bin/nex \ bin/nvi \ bin/nview \ - man/man1/nvi.1.gz - -post-patch: - ${REINPLACE_CMD} -E \ - -e 's,\.\./(cl|common|ex|regex|vi)/,${WRKSRC}/\1/,g' \ - -e 's,\.\./(regex|README),${WRKSRC}/\1,g' \ - ${WRKSRC}/build/CMakeLists.txt + man/man1/nex.1.gz \ + man/man1/nvi.1.gz \ + man/man1/nview.1.gz do-install: ${INSTALL_PROGRAM} ${BUILD_WRKSRC}/nvi ${STAGEDIR}${PREFIX}/bin @@ -48,5 +42,7 @@ do-install: ${LN} ${STAGEDIR}${PREFIX}/bin/nvi ${STAGEDIR}${PREFIX}/bin/nview ${INSTALL_MAN} ${WRKSRC}/man/vi.1 \ ${STAGEDIR}${MAN1PREFIX}/man/man1/nvi.1 + ${LN} -sf nvi.1 ${STAGEDIR}${MAN1PREFIX}/man/man1/nex.1 + ${LN} -sf nvi.1 ${STAGEDIR}${MAN1PREFIX}/man/man1/nview.1 .include <bsd.port.mk> diff --git a/editors/nvi2/distinfo b/editors/nvi2/distinfo index b41e32704a7d..30de1dadce10 100644 --- a/editors/nvi2/distinfo +++ b/editors/nvi2/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1595813081 -SHA256 (lichray-nvi2-2.1.3.g2020726-0ef1c82_GH0.tar.gz) = f18507f88866203d72bb0cd3f5ea744c57a8498066f7d6492b6796cad8f5afc6 -SIZE (lichray-nvi2-2.1.3.g2020726-0ef1c82_GH0.tar.gz) = 438819 +TIMESTAMP = 1596316771 +SHA256 (lichray-nvi2-2.1.3.g2020801-6a8af80_GH0.tar.gz) = e16c63352426a490c35543825fbccbb3436f4876439d6f21a5c6f1ba341bc2a3 +SIZE (lichray-nvi2-2.1.3.g2020801-6a8af80_GH0.tar.gz) = 439562 diff --git a/editors/nvi2/pkg-descr b/editors/nvi2/pkg-descr index 99905b4aa470..49e1017e3807 100644 --- a/editors/nvi2/pkg-descr +++ b/editors/nvi2/pkg-descr @@ -7,6 +7,8 @@ nvi was written by Keith Bostic and was distributed as part of the Fourth Berkeley Software Distribution (4BSD) by the University of California, Berkeley. -This version is based on a fork of nvi by Sven Verdoolaege. +This version is based on a fork of nvi by Sven Verdoolaege. It is +very similar to the base vi but includes the expandtab option from +NetBSD which is handy for Python development. WWW: https://github.com/lichray/nvi2/ |