Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 5 Jan 2014 00:39:02 +0000 (UTC)
From:      Baptiste Daroussin <bapt@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r338717 - head/benchmarks/ttcp
Message-ID:  <201401050039.s050d2cL086352@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bapt
Date: Sun Jan  5 00:39:01 2014
New Revision: 338717
URL: http://svnweb.freebsd.org/changeset/ports/338717

Log:
  Support stage

Modified:
  head/benchmarks/ttcp/Makefile
  head/benchmarks/ttcp/pkg-plist

Modified: head/benchmarks/ttcp/Makefile
==============================================================================
--- head/benchmarks/ttcp/Makefile	Sun Jan  5 00:36:43 2014	(r338716)
+++ head/benchmarks/ttcp/Makefile	Sun Jan  5 00:39:01 2014	(r338717)
@@ -20,11 +20,6 @@ LICENSE_TEXT=	The license: ${_LICENSE} (
 
 NO_WRKSUBDIR=	yes
 DIST_SUBDIR=	${PORTNAME}
-MAN1=		ttcp.1
-
-NO_STAGE=	yes
-
-.include <bsd.port.options.mk>
 
 post-extract:
 	${CP} ${DISTDIR}/${DIST_SUBDIR}/ttcp.c ${WRKSRC}
@@ -35,11 +30,9 @@ do-build:
 	${CC} ${CFLAGS} -o ${WRKSRC}/ttcp ${WRKSRC}/ttcp.c
 
 do-install:
-	${INSTALL_PROGRAM} ${WRKSRC}/ttcp ${PREFIX}/bin
-	${INSTALL_MAN} ${WRKSRC}/ttcp.1 ${PREFIX}/man/man1
-.if ${PORT_OPTIONS:MDOCS}
-	${MKDIR} ${DOCSDIR}
-	${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
-.endif
+	${INSTALL_PROGRAM} ${WRKSRC}/ttcp ${STAGEDIR}${PREFIX}/bin
+	${INSTALL_MAN} ${WRKSRC}/ttcp.1 ${STAGEDIR}${MAN1PREFIX}/man/man1
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}
+	${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}
 
 .include <bsd.port.mk>

Modified: head/benchmarks/ttcp/pkg-plist
==============================================================================
--- head/benchmarks/ttcp/pkg-plist	Sun Jan  5 00:36:43 2014	(r338716)
+++ head/benchmarks/ttcp/pkg-plist	Sun Jan  5 00:39:01 2014	(r338717)
@@ -1,3 +1,4 @@
 bin/ttcp
+man/man1/ttcp.1.gz
 %%PORTDOCS%%%%DOCSDIR%%/README
 %%PORTDOCS%%@dirrm %%DOCSDIR%%



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