Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 14 Jun 2017 16:10:51 +0000 (UTC)
From:      Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r443588 - in head/sysutils/tty-clock: . files
Message-ID:  <201706141610.v5EGApdU058968@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: sunpoet
Date: Wed Jun 14 16:10:51 2017
New Revision: 443588
URL: https://svnweb.freebsd.org/changeset/ports/443588

Log:
  Update to 2.3
  
  - Take maintainership

Deleted:
  head/sysutils/tty-clock/files/
Modified:
  head/sysutils/tty-clock/Makefile
  head/sysutils/tty-clock/distinfo

Modified: head/sysutils/tty-clock/Makefile
==============================================================================
--- head/sysutils/tty-clock/Makefile	Wed Jun 14 16:10:46 2017	(r443587)
+++ head/sysutils/tty-clock/Makefile	Wed Jun 14 16:10:51 2017	(r443588)
@@ -2,35 +2,30 @@
 # $FreeBSD$
 
 PORTNAME=	tty-clock
-PORTVERSION=	2.0.0
-PORTREVISION=	1
+PORTVERSION=	2.3
+DISTVERSIONPREFIX=	v
 CATEGORIES=	sysutils
 
-MAINTAINER=	ports@FreeBSD.org
+MAINTAINER=	sunpoet@FreeBSD.org
 COMMENT=	Terminal based clock
 
 LICENSE=	BSD3CLAUSE
 
-USE_GITHUB=	yes
-GH_ACCOUNT=	xorg62
-GH_TAGNAME=	a82fd71
-
-USES=		ncurses
 ALL_TARGET=	tty-clock
+LDFLAGS+=	-lncursesw
+USES=		gmake ncurses pkgconfig
 
-PLIST_FILES=	bin/tty-clock
+PLIST_FILES=	bin/tty-clock \
+		man/man1/tty-clock.1.gz
 
+GH_ACCOUNT=	xorg62
+USE_GITHUB=	yes
+
 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
+	@${REINPLACE_CMD} -e 's|share/man|man|; s| -g||; /@echo /d; /@chmod/d' ${WRKSRC}/Makefile
+
+do-install:
+	${INSTALL_PROGRAM} ${WRKSRC}/tty-clock ${STAGEDIR}${PREFIX}/bin/
+	${INSTALL_MAN} ${WRKSRC}/tty-clock.1 ${STAGEDIR}${PREFIX}/man/man1/
 
 .include <bsd.port.mk>

Modified: head/sysutils/tty-clock/distinfo
==============================================================================
--- head/sysutils/tty-clock/distinfo	Wed Jun 14 16:10:46 2017	(r443587)
+++ head/sysutils/tty-clock/distinfo	Wed Jun 14 16:10:51 2017	(r443588)
@@ -1,2 +1,3 @@
-SHA256 (xorg62-tty-clock-2.0.0-a82fd71_GH0.tar.gz) = 6123eff580a0f5f6e61d0ab8e4c74a4c97d9bb31fe9cd5c66c01c721da87eacc
-SIZE (xorg62-tty-clock-2.0.0-a82fd71_GH0.tar.gz) = 5028
+TIMESTAMP = 1497207906
+SHA256 (xorg62-tty-clock-v2.3_GH0.tar.gz) = 343e119858db7d5622a545e15a3bbfde65c107440700b62f9df0926db8f57984
+SIZE (xorg62-tty-clock-v2.3_GH0.tar.gz) = 7764



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201706141610.v5EGApdU058968>