pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

vis-editor: Update to version 0.2



Module Name:	pkgsrc-wip
Committed By:	Eric Garver <e%erig.me@localhost>
Pushed By:	erig
Date:		Sat Apr 9 21:34:15 2016 -0400
Changeset:	854e314e1626abfea6329745d80693d58ccda5d9

Modified Files:
	vis-editor/Makefile
	vis-editor/PLIST
	vis-editor/distinfo

Log Message:
vis-editor: Update to version 0.2

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=854e314e1626abfea6329745d80693d58ccda5d9

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 vis-editor/Makefile | 31 +++++++++++++++++++------------
 vis-editor/PLIST    |  8 ++++++++
 vis-editor/distinfo |  8 ++++----
 3 files changed, 31 insertions(+), 16 deletions(-)

diffs:
diff --git a/vis-editor/Makefile b/vis-editor/Makefile
index 0b0a4d2..b53009e 100644
--- a/vis-editor/Makefile
+++ b/vis-editor/Makefile
@@ -1,6 +1,6 @@
 # $NetBSD$
 
-DISTNAME=		vis-0.1
+DISTNAME=		vis-0.2
 PKGNAME=		${DISTNAME:S/vis/vis-editor/}
 CATEGORIES=		wip
 MASTER_SITES=		${MASTER_SITE_GITHUB:=martanne/}
@@ -23,22 +23,18 @@ USE_TOOLS+=		gmake
 USE_TOOLS+=		gsed
 USE_TOOLS+=		pkg-config
 
-.include "../../mk/bsd.prefs.mk"
+HAS_CONFIGURE=		YES
+CONFIGURE_ARGS+=	--prefix=${PREFIX}
+CONFIGURE_ARGS+=	--sharedir=${PREFIX}/share
+CONFIGURE_ARGS+=	--mandir=${PREFIX}/${PKGMANDIR}
 
-.if ${OPSYS} != "Linux"
-SUBST_CLASSES+=			zap-ldl
-SUBST_MESSAGE.zap-ldl=		Remove -ldl from Makefiles.
-SUBST_STAGE.zap-ldl=		pre-build
-SUBST_FILES.zap-ldl=		Makefile config.mk
-SUBST_SED.zap-ldl=		-e 's/-ldl//g'
-.endif
+.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=		config.mk vis-lua.c vis.1
+SUBST_FILES.fix-paths=		vis-lua.c vis.1
 SUBST_SED.fix-paths=		-e "s,/usr/local,${PREFIX},g"
-SUBST_SED.fix-paths+=		-e "s,/share/man,/${PKGMANDIR},g"
 SUBST_SED.fix-paths+=		-e "s,/share/vis,/share/${PKGBASE},g"
 
 SUBST_CLASSES+=			vis-open
@@ -46,12 +42,23 @@ SUBST_STAGE.vis-open=		pre-build
 SUBST_FILES.vis-open=		vis-cmds.c
 SUBST_SED.vis-open=		-e 's,\("[^"]*\)'${DISTBASE}-open'\([^"]*"\),\1'${PKGBASE}-open'\2,g'
 
-BUILD_TARGET=	vis
+SUBST_CLASSES+=				vis-clipboard
+SUBST_STAGE.vis-clipboard=		pre-build
+SUBST_FILES.vis-clipboard=		register.c
+SUBST_SED.vis-clipboard=		-e 's,\("[^"]*\)'${DISTBASE}-clipboard'\([^"]*"\),\1'${PKGBASE}-clipboard'\2,g'
+
+SUBST_CLASSES+=		fix-pie
+SUBST_STAGE.fix-pie=	pre-configure
+SUBST_MESSAGE.fix-pie=	Fixing LDFLAGS -pie flag.
+SUBST_FILES.fix-pie=	configure
+SUBST_SED.fix-pie=	-e "s,-Wl[,]-pie,-pie,g"
 
 post-install:
 	${MV} ${DESTDIR}${PREFIX}/bin/${DISTBASE} ${DESTDIR}${PREFIX}/bin/${PKGBASE}
 	${MV} ${DESTDIR}${PREFIX}/bin/${DISTBASE}-open ${DESTDIR}${PREFIX}/bin/${PKGBASE}-open
+	${MV} ${DESTDIR}${PREFIX}/bin/${DISTBASE}-clipboard ${DESTDIR}${PREFIX}/bin/${PKGBASE}-clipboard
 	${MV} ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/${DISTBASE}.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/${PKGBASE}.1
+	${MV} ${DESTDIR}${PREFIX}/share/${DISTBASE} ${DESTDIR}${PREFIX}/share/${PKGBASE}
 
 DEPENDS+=	${LUA_PKGPREFIX}-lpeg-[0-9]*:../../devel/lua-lpeg
 .include "../../lang/lua/buildlink3.mk"
diff --git a/vis-editor/PLIST b/vis-editor/PLIST
index 7661bc2..68a079b 100644
--- a/vis-editor/PLIST
+++ b/vis-editor/PLIST
@@ -1,5 +1,6 @@
 @comment $NetBSD$
 bin/vis-editor
+bin/vis-editor-clipboard
 bin/vis-editor-open
 man/man1/vis-editor.1
 share/vis-editor/lexers/LICENSE
@@ -13,6 +14,7 @@ share/vis-editor/lexers/apl.lua
 share/vis-editor/lexers/applescript.lua
 share/vis-editor/lexers/asm.lua
 share/vis-editor/lexers/asp.lua
+share/vis-editor/lexers/autoit.lua
 share/vis-editor/lexers/awk.lua
 share/vis-editor/lexers/bash.lua
 share/vis-editor/lexers/batch.lua
@@ -33,6 +35,7 @@ share/vis-editor/lexers/desktop.lua
 share/vis-editor/lexers/diff.lua
 share/vis-editor/lexers/django.lua
 share/vis-editor/lexers/dmd.lua
+share/vis-editor/lexers/dockerfile.lua
 share/vis-editor/lexers/dot.lua
 share/vis-editor/lexers/eiffel.lua
 share/vis-editor/lexers/elixir.lua
@@ -44,6 +47,7 @@ share/vis-editor/lexers/fortran.lua
 share/vis-editor/lexers/fsharp.lua
 share/vis-editor/lexers/gap.lua
 share/vis-editor/lexers/gettext.lua
+share/vis-editor/lexers/gherkin.lua
 share/vis-editor/lexers/glsl.lua
 share/vis-editor/lexers/gnuplot.lua
 share/vis-editor/lexers/go.lua
@@ -51,6 +55,7 @@ share/vis-editor/lexers/groovy.lua
 share/vis-editor/lexers/gtkrc.lua
 share/vis-editor/lexers/haskell.lua
 share/vis-editor/lexers/html.lua
+share/vis-editor/lexers/icon.lua
 share/vis-editor/lexers/idl.lua
 share/vis-editor/lexers/inform.lua
 share/vis-editor/lexers/ini.lua
@@ -71,6 +76,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/moonscript.lua
 share/vis-editor/lexers/nemerle.lua
 share/vis-editor/lexers/nim.lua
 share/vis-editor/lexers/nsis.lua
@@ -79,6 +85,7 @@ share/vis-editor/lexers/objective_c.lua
 share/vis-editor/lexers/pascal.lua
 share/vis-editor/lexers/perl.lua
 share/vis-editor/lexers/php.lua
+share/vis-editor/lexers/pico8.lua
 share/vis-editor/lexers/pike.lua
 share/vis-editor/lexers/pkgbuild.lua
 share/vis-editor/lexers/powershell.lua
@@ -99,6 +106,7 @@ share/vis-editor/lexers/sass.lua
 share/vis-editor/lexers/scala.lua
 share/vis-editor/lexers/scheme.lua
 share/vis-editor/lexers/smalltalk.lua
+share/vis-editor/lexers/snobol4.lua
 share/vis-editor/lexers/sql.lua
 share/vis-editor/lexers/tcl.lua
 share/vis-editor/lexers/template.txt
diff --git a/vis-editor/distinfo b/vis-editor/distinfo
index a74d4c9..740de7e 100644
--- a/vis-editor/distinfo
+++ b/vis-editor/distinfo
@@ -1,6 +1,6 @@
 $NetBSD$
 
-SHA1 (vis-0.1.tar.gz) = 7d0075ca631eed5acd2be951d8ef8126cb62a74a
-RMD160 (vis-0.1.tar.gz) = e4522bcfb77351ee2ba3c8a9579ae11173f1e14d
-SHA512 (vis-0.1.tar.gz) = f2647971660ceb14a16371129e01027264c80818e1143684dffd19a7b99df5ee83978751b497b5678bb36a910203f9546366db335ccaf721b906b8e5b1bb9100
-Size (vis-0.1.tar.gz) = 221342 bytes
+SHA1 (vis-0.2.tar.gz) = 220e6be60dd2d474a102a6f09aff1fe811412ef2
+RMD160 (vis-0.2.tar.gz) = b54475f3e77c515a245ae5a269ae516546183fb4
+SHA512 (vis-0.2.tar.gz) = ded2566105b890e21ee010f2f2809986e405f76bed2f7a969d2f818bcf437f3969a140ed0be2af7631e36b3c7fb6b73a3d715ba9ddb7fdd67a2e983b0765918a
+Size (vis-0.2.tar.gz) = 241415 bytes


Home | Main Index | Thread Index | Old Index