pkgsrc-WIP-changes archive

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

vimb: Install as vimb



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

Modified Files:
	vimb/Makefile
	vimb/PLIST

Log Message:
vimb: Install as vimb

Avoid the post-install rename dance and simplify the Makefile.
Now vimb is simply installed as `vimb' and the PKGNAME was adjusted
accordingly.

If there will be no negative feedback in a week or so this will be
used to update www/vimb.

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

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

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

diffs:
diff --git a/vimb/Makefile b/vimb/Makefile
index 6ad1f77caf..343db24cdd 100644
--- a/vimb/Makefile
+++ b/vimb/Makefile
@@ -1,11 +1,8 @@
 # $NetBSD$
 
-DISTNAME=	vimb-${GITHUB_TAG}
-PKGNAME=	${DISTNAME:S/vimb/vimb3/}
+DISTNAME=	vimb-3.3.0
 CATEGORIES=	www
 MASTER_SITES=	${MASTER_SITE_GITHUB:=fanglingsu/}
-GITHUB_PROJECT=	vimb
-GITHUB_TAG=	3.3.0
 
 MAINTAINER=	pkgsrc-users%NetBSD.org@localhost
 HOMEPAGE=	https://fanglingsu.github.io/vimb/
@@ -23,12 +20,6 @@ MAKE_FLAGS+=	EXAMPLEPREFIX="${DESTDIR}${EGDIR}"
 MAKE_FLAGS+=	MANPREFIX="${DESTDIR}${PREFIX}/${PKGMANDIR}"
 MAKE_FLAGS+=	RUNPREFIX="${PREFIX}"
 
-# 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/PLIST b/vimb/PLIST
index d09033bc01..8098322128 100644
--- a/vimb/PLIST
+++ b/vimb/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