2013-06-03 09:40:32 +02:00
|
|
|
# Created by: Ying-Chieh Liao <ijliao@FreeBSD.org>
|
2001-02-13 18:26:35 +01:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= ttyrec
|
2006-06-24 22:16:44 +02:00
|
|
|
PORTVERSION= 1.0.8
|
2012-05-24 18:12:25 +02:00
|
|
|
PORTREVISION= 2
|
2001-02-13 18:26:35 +01:00
|
|
|
CATEGORIES= misc
|
2006-06-24 22:16:44 +02:00
|
|
|
MASTER_SITES= http://0xcc.net/ttyrec/
|
2001-02-13 18:26:35 +01:00
|
|
|
|
2015-10-14 13:04:10 +02:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2003-02-20 20:00:52 +01:00
|
|
|
COMMENT= Tty recorder
|
2001-02-13 18:26:35 +01:00
|
|
|
|
2015-10-15 22:19:58 +02:00
|
|
|
LICENSE= BSD4CLAUSE
|
2002-02-16 09:58:37 +01:00
|
|
|
|
2013-06-03 09:40:32 +02:00
|
|
|
OPTIONS_DEFINE= OPENPTY
|
|
|
|
OPENPTY_DESC= Use openpty instead
|
2012-05-24 18:12:25 +02:00
|
|
|
|
2014-02-21 15:00:00 +01:00
|
|
|
PLIST_FILES= bin/ttyplay bin/ttyrec bin/ttytime \
|
|
|
|
man/man1/ttyplay.1.gz man/man1/ttyrec.1.gz
|
|
|
|
|
2015-10-15 22:19:58 +02:00
|
|
|
OPENPTY_CFLAGS= -DHAVE_openpty -lutil
|
2012-05-24 18:12:25 +02:00
|
|
|
|
2002-10-23 10:52:06 +02:00
|
|
|
post-patch:
|
2015-10-15 22:19:58 +02:00
|
|
|
@${REINPLACE_CMD} -e "s|^CC|#CC|g" -e "s|^CFLAGS|#CFLAGS|g" ${WRKSRC}/Makefile
|
2002-10-23 10:52:06 +02:00
|
|
|
|
2001-02-13 18:26:35 +01:00
|
|
|
do-install:
|
2015-10-15 22:19:58 +02:00
|
|
|
cd ${WRKSRC}/ && ${INSTALL_PROGRAM} ttyplay ttyrec ttytime ${STAGEDIR}${PREFIX}/bin/
|
|
|
|
cd ${WRKSRC}/ && ${INSTALL_MAN} ttyplay.1 ttyrec.1 ${STAGEDIR}${MANPREFIX}/man/man1/
|
2012-05-24 18:12:25 +02:00
|
|
|
|
2013-06-03 09:40:32 +02:00
|
|
|
.include <bsd.port.mk>
|