Date: Thu, 15 Oct 2015 20:19:58 +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: r399407 - in head/misc/ttyrec: . files Message-ID: <201510152019.t9FKJwZU028308@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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 <bsd.port.options.mk> +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 <bsd.port.mk> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201510152019.t9FKJwZU028308>