From 5bdbe50dbfb75a1f46e35800342366fc15a001b5 Mon Sep 17 00:00:00 2001 From: Marcelo Araujo Date: Thu, 13 Sep 2007 16:10:36 +0000 Subject: - Pass maintainership to submitter. - Reworked Makefile to move small pkg-plist to PLIST_FILES. - Bump PORTREVISION. PR: ports/116121 Submitted by: Felippe de Meirelles Motta Approved by: stas (mentor) --- misc/ttyrec/Makefile | 17 ++++++++--------- misc/ttyrec/files/patch-ttyrec.c | 14 ++++++++++++++ misc/ttyrec/files/patch-tyrec.c | 14 -------------- misc/ttyrec/pkg-plist | 3 --- 4 files changed, 22 insertions(+), 26 deletions(-) create mode 100644 misc/ttyrec/files/patch-ttyrec.c delete mode 100644 misc/ttyrec/files/patch-tyrec.c delete mode 100644 misc/ttyrec/pkg-plist (limited to 'misc') diff --git a/misc/ttyrec/Makefile b/misc/ttyrec/Makefile index ed35941f44f6..d01a6a72a949 100644 --- a/misc/ttyrec/Makefile +++ b/misc/ttyrec/Makefile @@ -1,4 +1,3 @@ -# ex:ts=8 # New ports collection makefile for: ttyrec # Date created: Feb 14, 2001 # Whom: Ying-Chieh Liao @@ -8,26 +7,26 @@ PORTNAME= ttyrec PORTVERSION= 1.0.8 +PORTREVISION= 1 CATEGORIES= misc MASTER_SITES= http://0xcc.net/ttyrec/ -MAINTAINER= ports@FreeBSD.org +MAINTAINER= lippe@freebsdbrasil.com.br COMMENT= Tty recorder -USE_GCC= 3.4+ +PLIST_FILES= bin/ttyplay \ + bin/ttyrec \ + bin/ttytime MAN1= ttyplay.1 ttyrec.1 +BINS= ttyplay ttyrec ttytime post-patch: @${REINPLACE_CMD} -e "s|^CC|#CC|g" -e "s|^CFLAGS|#CFLAGS|g" \ ${WRKSRC}/Makefile do-install: -.for file in ttyrec ttyplay ttytime - ${INSTALL_PROGRAM} ${WRKSRC}/${file} ${PREFIX}/bin -.endfor -.for file in ${MAN1} - ${INSTALL_MAN} ${WRKSRC}/${file} ${MAN1PREFIX}/man/man1 -.endfor + ${INSTALL_PROGRAM} ${BINS:S,^,${WRKSRC}/,} ${PREFIX}/bin + ${INSTALL_MAN} ${MAN1:S,^,${WRKSRC}/,} ${MAN1PREFIX}/man/man1 .include diff --git a/misc/ttyrec/files/patch-ttyrec.c b/misc/ttyrec/files/patch-ttyrec.c new file mode 100644 index 000000000000..aa0ba715e199 --- /dev/null +++ b/misc/ttyrec/files/patch-ttyrec.c @@ -0,0 +1,14 @@ +--- ttyrec.c.orig Tue Jun 4 21:52:00 2002 ++++ ttyrec.c Tue Jun 4 21:52:12 2002 +@@ -202,11 +202,7 @@ + void + finish() + { +-#if defined(SVR4) + int status; +-#else /* !SVR4 */ +- union wait status; +-#endif /* !SVR4 */ + register int pid; + register int die = 0; + diff --git a/misc/ttyrec/files/patch-tyrec.c b/misc/ttyrec/files/patch-tyrec.c deleted file mode 100644 index aa0ba715e199..000000000000 --- a/misc/ttyrec/files/patch-tyrec.c +++ /dev/null @@ -1,14 +0,0 @@ ---- ttyrec.c.orig Tue Jun 4 21:52:00 2002 -+++ ttyrec.c Tue Jun 4 21:52:12 2002 -@@ -202,11 +202,7 @@ - void - finish() - { --#if defined(SVR4) - int status; --#else /* !SVR4 */ -- union wait status; --#endif /* !SVR4 */ - register int pid; - register int die = 0; - diff --git a/misc/ttyrec/pkg-plist b/misc/ttyrec/pkg-plist deleted file mode 100644 index f060be729e01..000000000000 --- a/misc/ttyrec/pkg-plist +++ /dev/null @@ -1,3 +0,0 @@ -bin/ttyplay -bin/ttyrec -bin/ttytime -- cgit