pkgsrc-WIP-changes archive

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

vimb-git: Install vimb as `vimb'



Module Name:	pkgsrc-wip
Committed By:	Leonardo Taccari <leot%NetBSD.org@localhost>
Pushed By:	leot
Date:		Thu Nov 8 16:04:29 2018 +0100
Changeset:	a3a6e81b28187d898e99c06862759f07c5641c30

Modified Files:
	vimb-git/Makefile
	vimb-git/PLIST

Log Message:
vimb-git: Install vimb as `vimb'

Avoid post-install rename dance, adjust DISTNAME (and bump PKGVERSION
like upstream).  Now vimb is installed as `vimb' (not `vimb3').

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

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

diffstat:
 vimb-git/Makefile | 9 +--------
 vimb-git/PLIST    | 6 +++---
 2 files changed, 4 insertions(+), 11 deletions(-)

diffs:
diff --git a/vimb-git/Makefile b/vimb-git/Makefile
index 1ef0e12835..5d2b957914 100644
--- a/vimb-git/Makefile
+++ b/vimb-git/Makefile
@@ -1,7 +1,6 @@
 # $NetBSD: Makefile,v 1.21 2015/08/22 12:26:27 leot1990 Exp $
 
-DISTNAME=	vimb-3.2.0
-PKGNAME=	${DISTNAME:S/vimb/vimb3/}
+DISTNAME=	vimb-3.3.0
 CATEGORIES=	www
 MASTER_SITES=	${MASTER_SITE_GITHUB:=fanglingsu/}
 
@@ -27,12 +26,6 @@ MAKE_FLAGS+=	RUNPREFIX="${PREFIX}"
 
 TEST_TARGET=	test
 
-# Avoid conflicts with www/vimb
-post-install:
-	${MV} ${DESTDIR}${PREFIX}/bin/vimb ${DESTDIR}${PREFIX}/bin/vimb3
-	${MV} ${DESTDIR}${PREFIX}/share/applications/vimb.desktop ${DESTDIR}${PREFIX}/share/applications/vimb3.desktop
-	${MV} ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/vimb.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/vimb3.1
-
 .include "../../sysutils/desktop-file-utils/desktopdb.mk"
 .include "../../www/webkit-gtk/buildlink3.mk"
 .include "../../x11/gtk3/buildlink3.mk"
diff --git a/vimb-git/PLIST b/vimb-git/PLIST
index d09033bc01..8098322128 100644
--- a/vimb-git/PLIST
+++ b/vimb-git/PLIST
@@ -1,5 +1,5 @@
 @comment $NetBSD$
-bin/vimb3
+bin/vimb
 lib/vimb/webext_main.so
-man/man1/vimb3.1
-share/applications/vimb3.desktop
+man/man1/vimb.1
+share/applications/vimb.desktop


Home | Main Index | Thread Index | Old Index