pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/net/unison2.51 Rename bin/unison to bin/unison-2.51 so...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/98e791689b78
branches:  trunk
changeset: 342342:98e791689b78
user:      pho <pho%pkgsrc.org@localhost>
date:      Fri Oct 18 11:47:17 2019 +0000

description:
Rename bin/unison to bin/unison-2.51 so it can co-exist with other versions of unison

Also add ALTERNATIVES file.

diffstat:

 net/unison2.51/ALTERNATIVES |   1 +
 net/unison2.51/Makefile     |  21 +++++++++++----------
 net/unison2.51/PLIST        |  18 +++++++++---------
 3 files changed, 21 insertions(+), 19 deletions(-)

diffs (66 lines):

diff -r 25ff8f0cf4dd -r 98e791689b78 net/unison2.51/ALTERNATIVES
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/unison2.51/ALTERNATIVES       Fri Oct 18 11:47:17 2019 +0000
@@ -0,0 +1,1 @@
+bin/unison @PREFIX@/bin/unison-2.51
diff -r 25ff8f0cf4dd -r 98e791689b78 net/unison2.51/Makefile
--- a/net/unison2.51/Makefile   Fri Oct 18 11:28:19 2019 +0000
+++ b/net/unison2.51/Makefile   Fri Oct 18 11:47:17 2019 +0000
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.14 2019/07/21 22:25:35 wiz Exp $
+# $NetBSD: Makefile,v 1.15 2019/10/18 11:47:17 pho Exp $
 
 DISTNAME=      unison-2.51.2
-PKGREVISION=   13
+PKGREVISION=   14
 CATEGORIES=    net
 MASTER_SITES=  ${MASTER_SITE_GITHUB:=bcpierce00/}
 GITHUB_TAG=    v${PKGVERSION_NOREV}
@@ -48,16 +48,17 @@
 BUILD_TARGET=  buildexecutable
 
 INSTALLATION_DIRS=     bin
-INSTALLATION_DIRS+=    share/doc/unison
+INSTALLATION_DIRS+=    share/doc/unison-2.51
 
 post-install:
-       ${INSTALL_MAN} ${WRKSRC}/src/BUGS.txt ${DESTDIR}${PREFIX}/share/doc/unison
-       ${INSTALL_MAN} ${WRKSRC}/src/CONTRIB ${DESTDIR}${PREFIX}/share/doc/unison
-       ${INSTALL_MAN} ${WRKSRC}/src/COPYING ${DESTDIR}${PREFIX}/share/doc/unison
-       ${INSTALL_MAN} ${WRKSRC}/src/NEWS ${DESTDIR}${PREFIX}/share/doc/unison
-       ${INSTALL_MAN} ${WRKSRC}/src/README ${DESTDIR}${PREFIX}/share/doc/unison
-       ${INSTALL_MAN} ${WRKSRC}/src/ROADMAP.txt ${DESTDIR}${PREFIX}/share/doc/unison
-       ${INSTALL_MAN} ${WRKSRC}/src/TODO.txt ${DESTDIR}${PREFIX}/share/doc/unison
+       ${MV} ${DESTDIR}${PREFIX}/bin/unison ${DESTDIR}${PREFIX}/bin/unison-2.51
+       ${INSTALL_MAN} ${WRKSRC}/src/BUGS.txt ${DESTDIR}${PREFIX}/share/doc/unison-2.51
+       ${INSTALL_MAN} ${WRKSRC}/src/CONTRIB ${DESTDIR}${PREFIX}/share/doc/unison-2.51
+       ${INSTALL_MAN} ${WRKSRC}/src/COPYING ${DESTDIR}${PREFIX}/share/doc/unison-2.51
+       ${INSTALL_MAN} ${WRKSRC}/src/NEWS ${DESTDIR}${PREFIX}/share/doc/unison-2.51
+       ${INSTALL_MAN} ${WRKSRC}/src/README ${DESTDIR}${PREFIX}/share/doc/unison-2.51
+       ${INSTALL_MAN} ${WRKSRC}/src/ROADMAP.txt ${DESTDIR}${PREFIX}/share/doc/unison-2.51
+       ${INSTALL_MAN} ${WRKSRC}/src/TODO.txt ${DESTDIR}${PREFIX}/share/doc/unison-2.51
 
 .include "../../lang/ocaml/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r 25ff8f0cf4dd -r 98e791689b78 net/unison2.51/PLIST
--- a/net/unison2.51/PLIST      Fri Oct 18 11:28:19 2019 +0000
+++ b/net/unison2.51/PLIST      Fri Oct 18 11:47:17 2019 +0000
@@ -1,9 +1,9 @@
-@comment $NetBSD: PLIST,v 1.1 2018/04/30 10:14:29 wiz Exp $
-bin/unison
-share/doc/unison/BUGS.txt
-share/doc/unison/CONTRIB
-share/doc/unison/COPYING
-share/doc/unison/NEWS
-share/doc/unison/README
-share/doc/unison/ROADMAP.txt
-share/doc/unison/TODO.txt
+@comment $NetBSD: PLIST,v 1.2 2019/10/18 11:47:17 pho Exp $
+bin/unison-2.51
+share/doc/unison-2.51/BUGS.txt
+share/doc/unison-2.51/CONTRIB
+share/doc/unison-2.51/COPYING
+share/doc/unison-2.51/NEWS
+share/doc/unison-2.51/README
+share/doc/unison-2.51/ROADMAP.txt
+share/doc/unison-2.51/TODO.txt



Home | Main Index | Thread Index | Old Index