pkgsrc-Changes archive

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

CVS commit: pkgsrc/misc/colorize



Module Name:    pkgsrc
Committed By:   tnn
Date:           Fri Aug 19 02:00:50 UTC 2022

Modified Files:
        pkgsrc/misc/colorize: Makefile PLIST distinfo

Log Message:
colorize: switch master site to github. update to 0.3.4

Unknown changes.


To generate a diff of this commit:
cvs rdiff -u -r1.29 -r1.30 pkgsrc/misc/colorize/Makefile
cvs rdiff -u -r1.3 -r1.4 pkgsrc/misc/colorize/PLIST
cvs rdiff -u -r1.7 -r1.8 pkgsrc/misc/colorize/distinfo

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

Modified files:

Index: pkgsrc/misc/colorize/Makefile
diff -u pkgsrc/misc/colorize/Makefile:1.29 pkgsrc/misc/colorize/Makefile:1.30
--- pkgsrc/misc/colorize/Makefile:1.29  Tue Jun 28 11:34:47 2022
+++ pkgsrc/misc/colorize/Makefile       Fri Aug 19 02:00:50 2022
@@ -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"

Index: pkgsrc/misc/colorize/PLIST
diff -u pkgsrc/misc/colorize/PLIST:1.3 pkgsrc/misc/colorize/PLIST:1.4
--- pkgsrc/misc/colorize/PLIST:1.3      Sun Jun 14 18:07:19 2009
+++ pkgsrc/misc/colorize/PLIST  Fri Aug 19 02:00:50 2022
@@ -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

Index: pkgsrc/misc/colorize/distinfo
diff -u pkgsrc/misc/colorize/distinfo:1.7 pkgsrc/misc/colorize/distinfo:1.8
--- pkgsrc/misc/colorize/distinfo:1.7   Tue Oct 26 10:58:59 2021
+++ pkgsrc/misc/colorize/distinfo       Fri Aug 19 02:00:50 2022
@@ -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