pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/misc/moreutils moreutils: Install `parallel' and its m...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/8675da6fc041
branches:  trunk
changeset: 377332:8675da6fc041
user:      leot <leot%pkgsrc.org@localhost>
date:      Wed Mar 14 20:35:23 2018 +0000

description:
moreutils: Install `parallel' and its man page to `moreutils-parallel'

This avoid a possible conflict with `parallel' provided by
parallel/parallel package.

PKGREVISION++

Pointed out by Dr. Thomas Orgis via tech-pkg@.

diffstat:

 misc/moreutils/Makefile |  10 +++++++++-
 misc/moreutils/PLIST    |   6 +++---
 2 files changed, 12 insertions(+), 4 deletions(-)

diffs (52 lines):

diff -r d83ae7b5dffb -r 8675da6fc041 misc/moreutils/Makefile
--- a/misc/moreutils/Makefile   Wed Mar 14 17:42:28 2018 +0000
+++ b/misc/moreutils/Makefile   Wed Mar 14 20:35:23 2018 +0000
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.3 2017/09/07 08:18:44 leot Exp $
+# $NetBSD: Makefile,v 1.4 2018/03/14 20:35:23 leot Exp $
 
 DISTNAME=      moreutils_0.60.orig
 PKGNAME=       ${DISTNAME:S/_/-/:S/.orig//}
+PKGREVISION=   1
 CATEGORIES=    misc
 MASTER_SITES=  ${MASTER_SITE_DEBIAN:=pool/main/m/moreutils/}
 EXTRACT_SUFX=  .tar.xz
@@ -39,4 +40,11 @@
        INSTALL_MAN=${INSTALL_MAN:Q} \
        INSTALL_SCRIPT=${INSTALL_SCRIPT:Q}
 
+# Avoid possible conflicts with `parallel' of parallel/parallel
+post-install:
+       ${MV} ${DESTDIR}${PREFIX}/bin/parallel \
+           ${DESTDIR}${PREFIX}/bin/moreutils-parallel
+       ${MV} ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/parallel.1 \
+           ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/moreutils-parallel.1
+
 .include "../../mk/bsd.pkg.mk"
diff -r d83ae7b5dffb -r 8675da6fc041 misc/moreutils/PLIST
--- a/misc/moreutils/PLIST      Wed Mar 14 17:42:28 2018 +0000
+++ b/misc/moreutils/PLIST      Wed Mar 14 20:35:23 2018 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.2 2017/09/07 08:18:44 leot Exp $
+@comment $NetBSD: PLIST,v 1.3 2018/03/14 20:35:23 leot Exp $
 bin/chronic
 bin/combine
 bin/errno
@@ -7,7 +7,7 @@
 bin/isutf8
 bin/lckdo
 bin/mispipe
-bin/parallel
+bin/moreutils-parallel
 bin/pee
 bin/sponge
 bin/ts
@@ -22,7 +22,7 @@
 man/man1/isutf8.1
 man/man1/lckdo.1
 man/man1/mispipe.1
-man/man1/parallel.1
+man/man1/moreutils-parallel.1
 man/man1/pee.1
 man/man1/sponge.1
 man/man1/ts.1



Home | Main Index | Thread Index | Old Index