svn commit: r359174 - head/sysutils/colorize
Jason E. Hale
jhale at FreeBSD.org
Tue Jun 24 23:54:42 UTC 2014
Author: jhale
Date: Tue Jun 24 23:54:41 2014
New Revision: 359174
URL: http://svnweb.freebsd.org/changeset/ports/359174
QAT: https://qat.redports.org/buildarchive/r359174/
Log:
- Support staging
- Fix fetch by using USE_GITHUB. Checksum of distfile is different, but
contents are the same.
- Remove indefinite article from COMMENT
- Add LICENSE
- Use @sample in pkg-plist
Approved by: portmgr (blanket approval)
Modified:
head/sysutils/colorize/Makefile
head/sysutils/colorize/distinfo
head/sysutils/colorize/pkg-plist
Modified: head/sysutils/colorize/Makefile
==============================================================================
--- head/sysutils/colorize/Makefile Tue Jun 24 22:53:25 2014 (r359173)
+++ head/sysutils/colorize/Makefile Tue Jun 24 23:54:41 2014 (r359174)
@@ -3,38 +3,33 @@
PORTNAME= colorize
PORTVERSION= 0.3.4
+PORTREVISION= 1
CATEGORIES= sysutils
-MASTER_SITES= ftp://ftp.lissyara.su/distfiles/ \
- ftp://p3-800.lissyara.su/
-DISTNAME= ${PORTNAME}_${PORTVERSION}
MAINTAINER= admin at lissyara.su
-COMMENT= A robust log colorizer
+COMMENT= Robust log colorizer
+
+LICENSE= GPLv2
RUN_DEPENDS= p5-Term-ANSIColor>=0:${PORTSDIR}/devel/p5-Term-ANSIColor
-WRKSRC= ${WRKDIR}/${DISTNAME:S/_/-/}
+USE_GITHUB= yes
+GH_ACCOUNT= raszi
+GH_TAGNAME= v${PORTVERSION}
+GH_COMMIT= e84a7b0
NO_BUILD= yes
SUB_FILES= pkg-message
USES= shebangfix perl5
SHEBANG_FILES= colorize
-MAN1= colorize.1
-MANCOMPRESSED= yes
-
-NO_STAGE= yes
post-patch:
@${REINPLACE_CMD} -i '' -e 's|/etc/colorizerc|${PREFIX}/etc/colorizerc|' \
${WRKSRC}/colorize
do-install:
- @${INSTALL_SCRIPT} ${WRKSRC}/colorize ${PREFIX}/bin
- @${INSTALL_DATA} ${WRKSRC}/colorizerc ${PREFIX}/etc/colorizerc.dist
-.if !exists(${PREFIX}/etc/colorizerc)
- @${INSTALL_DATA} ${WRKSRC}/colorizerc ${PREFIX}/etc/colorizerc
-.endif
- @${INSTALL_MAN} ${WRKSRC}/colorize.1.gz ${PREFIX}/man/man1
- @${SED} -e "s!/usr/local/!${PREFIX}/!" < ${PKGMESSAGE}
+ @${INSTALL_SCRIPT} ${WRKSRC}/colorize ${STAGEDIR}${PREFIX}/bin
+ @${INSTALL_DATA} ${WRKSRC}/colorizerc ${STAGEDIR}${PREFIX}/etc/colorizerc.sample
+ @${INSTALL_MAN} ${WRKSRC}/colorize.1.gz ${STAGEDIR}${MAN1PREFIX}/man/man1
.include <bsd.port.mk>
Modified: head/sysutils/colorize/distinfo
==============================================================================
--- head/sysutils/colorize/distinfo Tue Jun 24 22:53:25 2014 (r359173)
+++ head/sysutils/colorize/distinfo Tue Jun 24 23:54:41 2014 (r359174)
@@ -1,2 +1,2 @@
-SHA256 (colorize_0.3.4.tar.gz) = b2271411e2501b73b50e59fb5b3a9ea60444b3c98d784c2ea585fb7ff6ce69fa
-SIZE (colorize_0.3.4.tar.gz) = 17291
+SHA256 (colorize-0.3.4.tar.gz) = a837dceec31050802fc942439dc0038cdefb14dff6a5e081b65fc4016fbb00f4
+SIZE (colorize-0.3.4.tar.gz) = 17408
Modified: head/sysutils/colorize/pkg-plist
==============================================================================
--- head/sysutils/colorize/pkg-plist Tue Jun 24 22:53:25 2014 (r359173)
+++ head/sysutils/colorize/pkg-plist Tue Jun 24 23:54:41 2014 (r359174)
@@ -1,4 +1,3 @@
bin/colorize
- at unexec if cmp -s %D/etc/colorizerc %D/etc/colorizerc.dist; then rm -f %D/etc/colorizerc; fi
-etc/colorizerc.dist
- at exec if [ ! -f %D/etc/colorizerc ]; then cp -f %D/etc/%f %D/etc/colorizerc; fi
+ at sample etc/colorizerc.sample
+man/man1/colorize.1.gz
More information about the svn-ports-all
mailing list