From owner-freebsd-ports-bugs@FreeBSD.ORG Wed Mar 19 18:40:08 2014 Return-Path: Delivered-To: freebsd-ports-bugs@smarthost.ysv.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 61FC06F2 for ; Wed, 19 Mar 2014 18:40:08 +0000 (UTC) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 42D5DC82 for ; Wed, 19 Mar 2014 18:40:08 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.8/8.14.8) with ESMTP id s2JIe8VP002631 for ; Wed, 19 Mar 2014 18:40:08 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.8/8.14.8/Submit) id s2JIe8eO002630; Wed, 19 Mar 2014 18:40:08 GMT (envelope-from gnats) Resent-Date: Wed, 19 Mar 2014 18:40:08 GMT Resent-Message-Id: <201403191840.s2JIe8eO002630@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, KATO Tsuguru Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id BBF964DB for ; Wed, 19 Mar 2014 18:32:37 +0000 (UTC) Received: from omta02.auone-net.jp (mail-or0-f67.auone-net.jp [106.187.230.67]) by mx1.freebsd.org (Postfix) with ESMTP id 8DDE2C0F for ; Wed, 19 Mar 2014 18:32:37 +0000 (UTC) Received: from coppermine.my.domain (ZT028161.ppp.dion.ne.jp [59.128.28.161]) by omta02.auone-net.jp (au one net mail) with ESMTP id 2CEAD1560005 for ; Thu, 20 Mar 2014 03:32:34 +0900 (JST) Message-Id: <20140320032656.cc61b0a95b8afafefa3ac522@yahoo.com> Date: Thu, 20 Mar 2014 03:26:56 +0900 From: KATO Tsuguru To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/187761: sysutils/tty-clock: Support USE_GITHUB X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 19 Mar 2014 18:40:08 -0000 >Number: 187761 >Category: ports >Synopsis: sysutils/tty-clock: Support USE_GITHUB >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Wed Mar 19 18:40:07 UTC 2014 >Closed-Date: >Last-Modified: >Originator: KATO Tsuguru >Release: FreeBSD 8.4-RELEASE-p7 i386 >Organization: >Environment: >Description: - Support USE_GITHUB - Support ncurses USES macro - Add LICENSE >How-To-Repeat: >Fix: diff -urN /usr/ports/sysutils/tty-clock/Makefile sysutils/tty-clock/Makefile --- /usr/ports/sysutils/tty-clock/Makefile 2014-01-03 19:19:02.000000000 +0900 +++ sysutils/tty-clock/Makefile 2014-03-20 00:00:00.000000000 +0900 @@ -5,25 +5,34 @@ PORTVERSION= 2.0.0 PORTREVISION= 1 CATEGORIES= sysutils -MASTER_SITES= http://github.com/xorg62/${PORTNAME}/tarball/ -DISTNAME= a82fd71 -EXTRACT_SUFX= # none +MASTER_SITES= GH MAINTAINER= ports@FreeBSD.org COMMENT= Terminal based clock -WRKSRC= "${WRKDIR}/xorg62-${PORTNAME}-${DISTNAME}" -PLIST_FILES= bin/tty-clock +LICENSE= BSD -post-patch: - @${REINPLACE_CMD} -e 's|/usr/local/|${PREFIX}/|' ${WRKSRC}/Makefile - @${REINPLACE_CMD} -e 's|CFLAGS =|CFLAGS \+=|' ${WRKSRC}/Makefile - @${REINPLACE_CMD} -e 's|LDFLAGS =|LDFLAGS \+=|' ${WRKSRC}/Makefile +USE_GITHUB= yes +GH_ACCOUNT= xorg62 +GH_TAGNAME= ${GH_COMMIT} +GH_COMMIT= a82fd71 -do-build: - cd ${WRKSRC} && ${MAKE} +USES= ncurses +ALL_TARGET= tty-clock -do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/tty-clock ${STAGEDIR}${PREFIX}/bin +PLIST_FILES= bin/tty-clock + +post-patch: + @${REINPLACE_CMD} -e \ + '/^CC/s| =| ?=| ; \ + s|/usr/local|$${PREFIX}| ; \ + /^CFLAGS/s| =| +=| ; \ + s|-Wall -g|-Wall| ; \ + /^LDFLAGS/s| =| +=| ; \ + /@echo /s|^|#| ; \ + s|@$${CC} |$${CC} | ; \ + s|@cp |$${BSD_INSTALL_PROGRAM} | ; \ + s| $${INSTALLPATH}| $${DESTDIR}$${INSTALLPATH}| ; \ + /@chmod /s|^|#|' ${WRKSRC}/Makefile .include diff -urN /usr/ports/sysutils/tty-clock/distinfo sysutils/tty-clock/distinfo --- /usr/ports/sysutils/tty-clock/distinfo 2014-01-23 04:25:23.000000000 +0900 +++ sysutils/tty-clock/distinfo 2014-03-20 00:00:00.000000000 +0900 @@ -1,2 +1,2 @@ -SHA256 (a82fd71) = 80fb9df9d257c73669c9363bc84823d9c42033e39f499d52abd74a698a4e5866 -SIZE (a82fd71) = 5033 +SHA256 (tty-clock-2.0.0.tar.gz) = 80fb9df9d257c73669c9363bc84823d9c42033e39f499d52abd74a698a4e5866 +SIZE (tty-clock-2.0.0.tar.gz) = 5033 >Release-Note: >Audit-Trail: >Unformatted: