pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/misc/colorize colorize: switch master site to github. ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/7df6625d8093
branches:  trunk
changeset: 383427:7df6625d8093
user:      tnn <tnn%pkgsrc.org@localhost>
date:      Fri Aug 19 02:00:50 2022 +0000

description:
colorize: switch master site to github. update to 0.3.4

Unknown changes.

diffstat:

 misc/colorize/Makefile |  39 +++++++++++++++++++--------------------
 misc/colorize/PLIST    |   4 ++--
 misc/colorize/distinfo |   8 ++++----
 3 files changed, 25 insertions(+), 26 deletions(-)

diffs (102 lines):

diff -r 8e8a6c91b6fd -r 7df6625d8093 misc/colorize/Makefile
--- a/misc/colorize/Makefile    Fri Aug 19 01:46:09 2022 +0000
+++ b/misc/colorize/Makefile    Fri Aug 19 02:00:50 2022 +0000
@@ -1,51 +1,50 @@
-# $NetBSD: Makefile,v 1.29 2022/06/28 11:34:47 wiz Exp $
+# $NetBSD: Makefile,v 1.30 2022/08/19 02:00:50 tnn Exp $
 #
 
-DISTNAME=      colorize_0.3.0
-PKGNAME=       colorize-0.3.0
-PKGREVISION=   11
+DISTNAME=      colorize-0.3.4
 CATEGORIES=    misc
-MASTER_SITES=  http://colorize.raszi.hu/downloads/
-EXTRACT_SUFX=  .tar.bz2
+MASTER_SITES=  ${MASTER_SITE_GITHUB:=raszi/}
+GITHUB_TAG=    v${PKGVERSION_NOREV}
 
 MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
-HOMEPAGE=      # http://colorize.raszi.hu/
+HOMEPAGE=      https://github.com/raszi/colorize
 COMMENT=       Log colorize perl script
+LICENSE=       gnu-gpl-v2
 
-WRKSRC=                ${WRKDIR}/${PKGNAME_NOREV}
 NO_BUILD=      yes
 
 USE_TOOLS+=            gunzip perl:run
-INSTALLATION_DIRS=     bin ${PKGMANDIR}/man1
 
 SUBST_CLASSES+=                color
 SUBST_STAGE.color=     pre-configure
 SUBST_MESSAGE.color=   Fixing hard-coded paths.
-SUBST_FILES.color=     colorize.pl examples/*.sh
-SUBST_SED.color+=      -e "s,/usr/bin/perl,${LOCALBASE}/bin/perl,"
+SUBST_FILES.color=     colorize colorize.1
 SUBST_SED.color+=      -e "s,/etc/colorizerc,${PKG_SYSCONFDIR}/colorizerc,"
-SUBST_SED.color+=      -e "s,/bin/bash,"${SH:Q}","
+
+REPLACE_PERL+=         colorize
+REPLACE_SH+=           examples/*.sh
+
+INSTALLATION_DIRS+=    bin
+INSTALLATION_DIRS+=    ${PKGMANDIR}/man1
+INSTALLATION_DIRS+=    share/examples/colorize
+INSTALLATION_DIRS+=    share/doc/colorize
 
 post-extract:
-       ${GUNZIP_CMD} ${WRKSRC}/colorize.pl.1.gz
-       ${GUNZIP_CMD} ${WRKSRC}/examples/colorize-fifo.sh.gz
-       ${GUNZIP_CMD} ${WRKSRC}/examples/colorize-tail.sh.gz
+       ${GUNZIP_CMD} ${WRKSRC}/colorize.1.gz
 
 do-install:
-       ${INSTALL_SCRIPT} ${WRKSRC}/colorize.pl ${DESTDIR}${PREFIX}/bin/colorize
-       ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/examples/colorize
+       ${INSTALL_SCRIPT} ${WRKSRC}/colorize ${DESTDIR}${PREFIX}/bin/colorize
        ${INSTALL_DATA} ${WRKSRC}/colorizerc                            \
                ${DESTDIR}${PREFIX}/share/examples/colorize
-       ${INSTALL_MAN} ${WRKSRC}/colorize.pl.1                          \
+       ${INSTALL_MAN} ${WRKSRC}/colorize.1                             \
                ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/colorize.1
-       ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/doc/colorize
        cd ${WRKSRC} && ${INSTALL_DATA} README TIPS                     \
                ${DESTDIR}${PREFIX}/share/doc/colorize
        ${INSTALL_SCRIPT} ${WRKSRC}/examples/colorize-fifo.sh           \
                ${DESTDIR}${PREFIX}/share/examples/colorize
        ${INSTALL_SCRIPT} ${WRKSRC}/examples/colorize-tail.sh           \
                ${DESTDIR}${PREFIX}/share/examples/colorize
-       ${INSTALL_DATA} ${WRKSRC}/examples/Xlog.tar.gz                  \
+       ${INSTALL_DATA} ${WRKSRC}/examples/Xlog.tar                     \
                ${DESTDIR}${PREFIX}/share/examples/colorize
 
 .include "../../mk/bsd.pkg.mk"
diff -r 8e8a6c91b6fd -r 7df6625d8093 misc/colorize/PLIST
--- a/misc/colorize/PLIST       Fri Aug 19 01:46:09 2022 +0000
+++ b/misc/colorize/PLIST       Fri Aug 19 02:00:50 2022 +0000
@@ -1,9 +1,9 @@
-@comment $NetBSD: PLIST,v 1.3 2009/06/14 18:07:19 joerg Exp $
+@comment $NetBSD: PLIST,v 1.4 2022/08/19 02:00:50 tnn Exp $
 bin/colorize
 man/man1/colorize.1
 share/doc/colorize/README
 share/doc/colorize/TIPS
-share/examples/colorize/Xlog.tar.gz
+share/examples/colorize/Xlog.tar
 share/examples/colorize/colorize-fifo.sh
 share/examples/colorize/colorize-tail.sh
 share/examples/colorize/colorizerc
diff -r 8e8a6c91b6fd -r 7df6625d8093 misc/colorize/distinfo
--- a/misc/colorize/distinfo    Fri Aug 19 01:46:09 2022 +0000
+++ b/misc/colorize/distinfo    Fri Aug 19 02:00:50 2022 +0000
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.7 2021/10/26 10:58:59 nia Exp $
+$NetBSD: distinfo,v 1.8 2022/08/19 02:00:50 tnn Exp $
 
-BLAKE2s (colorize_0.3.0.tar.bz2) = f0446391e7b46887486bbf9046ed0545d1621e10526aa2a6298d1d9b28ebb8fa
-SHA512 (colorize_0.3.0.tar.bz2) = df01b7b15c54e792202be1a75e534fa2565159cfb1b5b428dc61630e6bb876e4b1cc9ada09c926cde016c446a0625f46ae8e8fdce93ea810420c8bbef3b45adb
-Size (colorize_0.3.0.tar.bz2) = 16337 bytes
+BLAKE2s (colorize-0.3.4.tar.gz) = f7f4aec25864f40e5f4caf1a373afea02884287876029ca8abfecba46190be86
+SHA512 (colorize-0.3.4.tar.gz) = 2d17e3fd6006c82a829e2bf899c32d79ae4c496b01b4a47680ca52fde7010afa19884a0fb940d744baa9208bd23a26e34e54c695bf96500c389eccf047a16db8
+Size (colorize-0.3.4.tar.gz) = 17404 bytes



Home | Main Index | Thread Index | Old Index