Update vis-editor to 0.7
OK erig-at-erig-dot-me and leot@
This commit is contained in:
parent
5f87e6df99
commit
09c2e0e1c7
|
@ -1,6 +1,6 @@
|
|||
# $NetBSD$
|
||||
|
||||
DISTNAME= vis-0.5
|
||||
DISTNAME= vis-0.7
|
||||
PKGNAME= ${DISTNAME:S/vis/vis-editor/}
|
||||
CATEGORIES= editors
|
||||
MASTER_SITES= ${MASTER_SITE_GITHUB:=martanne/}
|
||||
|
@ -17,10 +17,8 @@ DISTBASE= ${DISTNAME:C/(.*)-${PKGVERSION}/\1/}
|
|||
|
||||
WRKSRC= ${WRKDIR}/${DISTNAME}
|
||||
|
||||
LUA_VERSIONS_ACCEPTED= 52
|
||||
LUA_VERSIONS_ACCEPTED= 52 53
|
||||
|
||||
USE_TOOLS+= gmake
|
||||
USE_TOOLS+= gsed
|
||||
USE_TOOLS+= pkg-config
|
||||
|
||||
HAS_CONFIGURE= YES
|
||||
|
@ -28,17 +26,16 @@ CONFIGURE_ARGS+= --prefix=${PREFIX}
|
|||
CONFIGURE_ARGS+= --sharedir=${PREFIX}/share
|
||||
CONFIGURE_ARGS+= --mandir=${PREFIX}/${PKGMANDIR}
|
||||
|
||||
CFLAGS.NetBSD+= -D_NETBSD_SOURCE # XXX: needed for memrchr(3)
|
||||
|
||||
.include "../../mk/bsd.prefs.mk"
|
||||
|
||||
SUBST_CLASSES+= fix-paths
|
||||
SUBST_STAGE.fix-paths= pre-build
|
||||
SUBST_MESSAGE.fix-paths= Fixing absolute paths.
|
||||
SUBST_FILES.fix-paths= vis-lua.c man/vis.1 Makefile
|
||||
SUBST_SED.fix-paths= -e "s,/usr/local,${PREFIX},g"
|
||||
SUBST_SED.fix-paths+= -e "s,/share/${DISTBASE},/share/${PKGBASE},g"
|
||||
SUBST_SED.fix-paths+= -e "s,$${SHAREPREFIX}/${DISTBASE},$${SHAREPREFIX}/${PKGBASE},g"
|
||||
SUBST_SED.fix-paths= -e 's,/usr/local,${PREFIX},g'
|
||||
SUBST_SED.fix-paths+= -e 's,/share/${DISTBASE},/share/${PKGBASE},g'
|
||||
SUBST_SED.fix-paths+= -e 's,$${SHAREPREFIX}/${DISTBASE},$${SHAREPREFIX}/${PKGBASE},g'
|
||||
SUBST_SED.fix-paths+= -e 's,$${DOCPREFIX}/${DISTBASE},$${DOCPREFIX}/${PKGBASE},g'
|
||||
|
||||
SUBST_CLASSES+= binary-names
|
||||
SUBST_STAGE.binary-names= pre-build
|
||||
|
|
|
@ -53,16 +53,21 @@ share/vis-editor/lexers/dot.lua
|
|||
share/vis-editor/lexers/dsv.lua
|
||||
share/vis-editor/lexers/eiffel.lua
|
||||
share/vis-editor/lexers/elixir.lua
|
||||
share/vis-editor/lexers/elm.lua
|
||||
share/vis-editor/lexers/erlang.lua
|
||||
share/vis-editor/lexers/fantom.lua
|
||||
share/vis-editor/lexers/faust.lua
|
||||
share/vis-editor/lexers/fennel.lua
|
||||
share/vis-editor/lexers/fish.lua
|
||||
share/vis-editor/lexers/forth.lua
|
||||
share/vis-editor/lexers/fortran.lua
|
||||
share/vis-editor/lexers/fsharp.lua
|
||||
share/vis-editor/lexers/fstab.lua
|
||||
share/vis-editor/lexers/gap.lua
|
||||
share/vis-editor/lexers/gemini.lua
|
||||
share/vis-editor/lexers/gettext.lua
|
||||
share/vis-editor/lexers/gherkin.lua
|
||||
share/vis-editor/lexers/git-rebase.lua
|
||||
share/vis-editor/lexers/glsl.lua
|
||||
share/vis-editor/lexers/gnuplot.lua
|
||||
share/vis-editor/lexers/go.lua
|
||||
|
@ -79,6 +84,7 @@ share/vis-editor/lexers/java.lua
|
|||
share/vis-editor/lexers/javascript.lua
|
||||
share/vis-editor/lexers/json.lua
|
||||
share/vis-editor/lexers/jsp.lua
|
||||
share/vis-editor/lexers/julia.lua
|
||||
share/vis-editor/lexers/latex.lua
|
||||
share/vis-editor/lexers/ledger.lua
|
||||
share/vis-editor/lexers/less.lua
|
||||
|
@ -92,6 +98,7 @@ share/vis-editor/lexers/makefile.lua
|
|||
share/vis-editor/lexers/man.lua
|
||||
share/vis-editor/lexers/markdown.lua
|
||||
share/vis-editor/lexers/matlab.lua
|
||||
share/vis-editor/lexers/meson.lua
|
||||
share/vis-editor/lexers/moonscript.lua
|
||||
share/vis-editor/lexers/myrddin.lua
|
||||
share/vis-editor/lexers/nemerle.lua
|
||||
|
@ -121,6 +128,7 @@ share/vis-editor/lexers/rebol.lua
|
|||
share/vis-editor/lexers/rest.lua
|
||||
share/vis-editor/lexers/rexx.lua
|
||||
share/vis-editor/lexers/rhtml.lua
|
||||
share/vis-editor/lexers/routeros.lua
|
||||
share/vis-editor/lexers/rstats.lua
|
||||
share/vis-editor/lexers/ruby.lua
|
||||
share/vis-editor/lexers/rust.lua
|
||||
|
@ -151,6 +159,7 @@ share/vis-editor/lexers/xml.lua
|
|||
share/vis-editor/lexers/xs.lua
|
||||
share/vis-editor/lexers/xtend.lua
|
||||
share/vis-editor/lexers/yaml.lua
|
||||
share/vis-editor/lexers/zig.lua
|
||||
share/vis-editor/plugins/complete-filename.lua
|
||||
share/vis-editor/plugins/complete-word.lua
|
||||
share/vis-editor/plugins/digraph.lua
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
$NetBSD$
|
||||
|
||||
SHA1 (vis-0.5.tar.gz) = d2fa0788d4f70d5d69560e730f7c753d13729c52
|
||||
RMD160 (vis-0.5.tar.gz) = 5ff5a1636fd884c49ed931905878181a8182bdea
|
||||
SHA512 (vis-0.5.tar.gz) = e6ee7228c13d26342a4fb7884412c018118199a809cf18985eaa48232081fad0d7110364e55937e71e139bbe2cd24c2964d801e64f078d7ba7f2a999eeef72cc
|
||||
Size (vis-0.5.tar.gz) = 390440 bytes
|
||||
SHA1 (patch-configure) = 856635866c5b97f93dc7dc74e2d71d365de4af05
|
||||
SHA1 (vis-0.7.tar.gz) = c84a58f990378ddcee3f2c5ac0f3ed165c1bb405
|
||||
RMD160 (vis-0.7.tar.gz) = 8ebe72eed748feddabda6a1c0e9b7f3af0d370fd
|
||||
SHA512 (vis-0.7.tar.gz) = ccc6a054fea6917e7751882468a74c30c712f7ec400a913c95c0084691f706e2bee54efb86b75be8b121c9a209c7e587e72e5474c55271d9943e91fc8aaf9bac
|
||||
Size (vis-0.7.tar.gz) = 403918 bytes
|
||||
|
|
|
@ -1,16 +0,0 @@
|
|||
$NetBSD$
|
||||
|
||||
Gracefully fallback to curses(3) (no libcurses `.pc' file is present
|
||||
and `-l$libcurses' is used and hence `-lcurses' (not `-llibcurses'!)).
|
||||
|
||||
--- configure.orig 2017-07-23 17:38:55.000000000 +0000
|
||||
+++ configure
|
||||
@@ -308,7 +308,7 @@ int main(int argc, char *argv[]) {
|
||||
}
|
||||
EOF
|
||||
|
||||
- for libcurses in ncursesw ncurses libcurses; do
|
||||
+ for libcurses in ncursesw ncurses curses; do
|
||||
printf " checking for %s... " "$libcurses"
|
||||
|
||||
if test "$have_pkgconfig" = "yes" ; then
|
Loading…
Reference in New Issue