From owner-svn-ports-head@FreeBSD.ORG Sat May 17 09:53:12 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 B5A69445; Sat, 17 May 2014 09:53:12 +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 89DF721A2; Sat, 17 May 2014 09:53:12 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.8/8.14.8) with ESMTP id s4H9rCQe080006; Sat, 17 May 2014 09:53:12 GMT (envelope-from miwi@svn.freebsd.org) Received: (from miwi@localhost) by svn.freebsd.org (8.14.8/8.14.8/Submit) id s4H9rCKp080004; Sat, 17 May 2014 09:53:12 GMT (envelope-from miwi@svn.freebsd.org) Message-Id: <201405170953.s4H9rCKp080004@svn.freebsd.org> From: Martin Wilke Date: Sat, 17 May 2014 09:53:12 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r354305 - head/sysutils/tty-clock 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: Sat, 17 May 2014 09:53:12 -0000 Author: miwi Date: Sat May 17 09:53:11 2014 New Revision: 354305 URL: http://svnweb.freebsd.org/changeset/ports/354305 QAT: https://qat.redports.org/buildarchive/r354305/ Log: - Support USE_GITHUB - Support ncurses USES macro - Add LICENSE PR: 187761 Submitted by: Ports Fury Modified: head/sysutils/tty-clock/Makefile head/sysutils/tty-clock/distinfo Modified: head/sysutils/tty-clock/Makefile ============================================================================== --- head/sysutils/tty-clock/Makefile Sat May 17 09:52:23 2014 (r354304) +++ head/sysutils/tty-clock/Makefile Sat May 17 09:53:11 2014 (r354305) @@ -5,25 +5,34 @@ PORTNAME= tty-clock 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 Modified: head/sysutils/tty-clock/distinfo ============================================================================== --- head/sysutils/tty-clock/distinfo Sat May 17 09:52:23 2014 (r354304) +++ head/sysutils/tty-clock/distinfo Sat May 17 09:53:11 2014 (r354305) @@ -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