svn commit: r338717 - head/benchmarks/ttcp

Baptiste Daroussin bapt at FreeBSD.org
Sun Jan 5 00:39:02 UTC 2014


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%%


More information about the svn-ports-all mailing list