From owner-svn-ports-all@freebsd.org Thu Oct 15 20:20:00 2015 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 4E50EA16445; Thu, 15 Oct 2015 20:20:00 +0000 (UTC) (envelope-from sunpoet@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::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 0D7D020A; Thu, 15 Oct 2015 20:19:59 +0000 (UTC) (envelope-from sunpoet@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id t9FKJxTJ028311; Thu, 15 Oct 2015 20:19:59 GMT (envelope-from sunpoet@FreeBSD.org) Received: (from sunpoet@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id t9FKJwZU028308; Thu, 15 Oct 2015 20:19:58 GMT (envelope-from sunpoet@FreeBSD.org) Message-Id: <201510152019.t9FKJwZU028308@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: sunpoet set sender to sunpoet@FreeBSD.org using -f From: Sunpoet Po-Chuan Hsieh Date: Thu, 15 Oct 2015 20:19:58 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r399407 - in head/misc/ttyrec: . files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 15 Oct 2015 20:20:00 -0000 Author: sunpoet Date: Thu Oct 15 20:19:58 2015 New Revision: 399407 URL: https://svnweb.freebsd.org/changeset/ports/399407 Log: - Add LICENSE - Convert to new options helper - Cosmetic change - Pet portlint: fix diff header of patch files Modified: head/misc/ttyrec/Makefile head/misc/ttyrec/files/patch-ttyrec.c head/misc/ttyrec/pkg-descr Modified: head/misc/ttyrec/Makefile ============================================================================== --- head/misc/ttyrec/Makefile Thu Oct 15 20:19:53 2015 (r399406) +++ head/misc/ttyrec/Makefile Thu Oct 15 20:19:58 2015 (r399407) @@ -10,8 +10,7 @@ MASTER_SITES= http://0xcc.net/ttyrec/ MAINTAINER= ports@FreeBSD.org COMMENT= Tty recorder -MANPAGE= ttyplay.1 ttyrec.1 -BINS= ttyplay ttyrec ttytime +LICENSE= BSD4CLAUSE OPTIONS_DEFINE= OPENPTY OPENPTY_DESC= Use openpty instead @@ -19,19 +18,13 @@ OPENPTY_DESC= Use openpty instead PLIST_FILES= bin/ttyplay bin/ttyrec bin/ttytime \ man/man1/ttyplay.1.gz man/man1/ttyrec.1.gz -.include +OPENPTY_CFLAGS= -DHAVE_openpty -lutil post-patch: - @${REINPLACE_CMD} -e "s|^CC|#CC|g" -e "s|^CFLAGS|#CFLAGS|g" \ - ${WRKSRC}/Makefile + @${REINPLACE_CMD} -e "s|^CC|#CC|g" -e "s|^CFLAGS|#CFLAGS|g" ${WRKSRC}/Makefile do-install: - ${INSTALL_PROGRAM} ${BINS:S,^,${WRKSRC}/,} ${STAGEDIR}${PREFIX}/bin - ${INSTALL_MAN} ${MANPAGE:S,^,${WRKSRC}/,} \ - ${STAGEDIR}${MANPREFIX}/man/man1 - -.if ${PORT_OPTIONS:MOPENPTY} -CFLAGS+= -DHAVE_openpty -lutil -.endif + cd ${WRKSRC}/ && ${INSTALL_PROGRAM} ttyplay ttyrec ttytime ${STAGEDIR}${PREFIX}/bin/ + cd ${WRKSRC}/ && ${INSTALL_MAN} ttyplay.1 ttyrec.1 ${STAGEDIR}${MANPREFIX}/man/man1/ .include Modified: head/misc/ttyrec/files/patch-ttyrec.c ============================================================================== --- head/misc/ttyrec/files/patch-ttyrec.c Thu Oct 15 20:19:53 2015 (r399406) +++ head/misc/ttyrec/files/patch-ttyrec.c Thu Oct 15 20:19:58 2015 (r399407) @@ -1,5 +1,5 @@ ---- ttyrec.c.orig Tue Jun 4 21:52:00 2002 -+++ ttyrec.c Tue Jun 4 21:52:12 2002 +--- ttyrec.c.orig 2002-06-04 21:52:00 UTC ++++ ttyrec.c @@ -202,11 +202,7 @@ void finish() Modified: head/misc/ttyrec/pkg-descr ============================================================================== --- head/misc/ttyrec/pkg-descr Thu Oct 15 20:19:53 2015 (r399406) +++ head/misc/ttyrec/pkg-descr Thu Oct 15 20:19:58 2015 (r399407) @@ -1,7 +1,6 @@ -ttyrec is a tty recorder. Recorded data can be played back with the -included ttyplay command. ttyrec is just a derivative of script -command for recording timing information with microsecond accuracy -as well. It can record emacs -nw, vi, lynx, or any programs running -on tty. +ttyrec is a tty recorder. Recorded data can be played back with the included +ttyplay command. ttyrec is just a derivative of script command for recording +timing information with microsecond accuracy as well. It can record emacs -nw, +vi, lynx, or any programs running on tty. WWW: http://0xcc.net/ttyrec/index.html.en