1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-18 03:46:03 +00:00
freebsd-ports/misc/ttyrec/Makefile
Jason Helfman 549d976568 - adoption of optionsNG
- trim historical headers

Approved by:	portmgr (bapt)
2013-06-03 07:40:32 +00:00

38 lines
750 B
Makefile

# Created by: Ying-Chieh Liao <ijliao@FreeBSD.org>
# $FreeBSD$
PORTNAME= ttyrec
PORTVERSION= 1.0.8
PORTREVISION= 2
CATEGORIES= misc
MASTER_SITES= http://0xcc.net/ttyrec/
MAINTAINER= lippe@FreeBSD.org
COMMENT= Tty recorder
PLIST_FILES= bin/ttyplay \
bin/ttyrec \
bin/ttytime
MAN1= ttyplay.1 ttyrec.1
BINS= ttyplay ttyrec ttytime
OPTIONS_DEFINE= OPENPTY
OPENPTY_DESC= Use openpty instead
.include <bsd.port.options.mk>
post-patch:
@${REINPLACE_CMD} -e "s|^CC|#CC|g" -e "s|^CFLAGS|#CFLAGS|g" \
${WRKSRC}/Makefile
do-install:
${INSTALL_PROGRAM} ${BINS:S,^,${WRKSRC}/,} ${PREFIX}/bin
${INSTALL_MAN} ${MAN1:S,^,${WRKSRC}/,} ${MAN1PREFIX}/man/man1
.if ${PORT_OPTIONS:MOPENPTY}
CFLAGS+= -DHAVE_openpty -lutil
.endif
.include <bsd.port.mk>