Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 21 Feb 2014 14:00:00 +0000 (UTC)
From:      Emanuel Haupt <ehaupt@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r345449 - head/misc/ttyrec
Message-ID:  <201402211400.s1LE007i080536@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: ehaupt
Date: Fri Feb 21 14:00:00 2014
New Revision: 345449
URL: http://svnweb.freebsd.org/changeset/ports/345449
QAT: https://qat.redports.org/buildarchive/r345449/

Log:
  Support staging

Modified:
  head/misc/ttyrec/Makefile

Modified: head/misc/ttyrec/Makefile
==============================================================================
--- head/misc/ttyrec/Makefile	Fri Feb 21 13:56:24 2014	(r345448)
+++ head/misc/ttyrec/Makefile	Fri Feb 21 14:00:00 2014	(r345449)
@@ -10,17 +10,15 @@ 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
+MANPAGE=	ttyplay.1 ttyrec.1
+BINS=		ttyplay ttyrec ttytime
 
 OPTIONS_DEFINE=	OPENPTY
 OPENPTY_DESC=	Use openpty instead
 
-NO_STAGE=	yes
+PLIST_FILES=	bin/ttyplay bin/ttyrec bin/ttytime \
+		man/man1/ttyplay.1.gz man/man1/ttyrec.1.gz
+
 .include <bsd.port.options.mk>
 
 post-patch:
@@ -28,8 +26,9 @@ post-patch:
 		${WRKSRC}/Makefile
 
 do-install:
-	${INSTALL_PROGRAM} ${BINS:S,^,${WRKSRC}/,} ${PREFIX}/bin
-	${INSTALL_MAN} ${MAN1:S,^,${WRKSRC}/,} ${MAN1PREFIX}/man/man1
+	${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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201402211400.s1LE007i080536>