From owner-svn-ports-head@FreeBSD.ORG Tue Jun 24 23:54:42 2014 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id AD64EAD9; Tue, 24 Jun 2014 23:54:42 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 8E3822DD7; Tue, 24 Jun 2014 23:54:42 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.8/8.14.8) with ESMTP id s5ONsgwl030106; Tue, 24 Jun 2014 23:54:42 GMT (envelope-from jhale@svn.freebsd.org) Received: (from jhale@localhost) by svn.freebsd.org (8.14.8/8.14.8/Submit) id s5ONsg6m030102; Tue, 24 Jun 2014 23:54:42 GMT (envelope-from jhale@svn.freebsd.org) Message-Id: <201406242354.s5ONsg6m030102@svn.freebsd.org> From: "Jason E. Hale" Date: Tue, 24 Jun 2014 23:54:42 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r359174 - head/sysutils/colorize X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 24 Jun 2014 23:54:42 -0000 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@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 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 -@unexec if cmp -s %D/etc/colorizerc %D/etc/colorizerc.dist; then rm -f %D/etc/colorizerc; fi -etc/colorizerc.dist -@exec if [ ! -f %D/etc/colorizerc ]; then cp -f %D/etc/%f %D/etc/colorizerc; fi +@sample etc/colorizerc.sample +man/man1/colorize.1.gz