aboutsummaryrefslogtreecommitdiff
path: root/benchmarks/ttcp
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2014-01-05 00:39:01 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2014-01-05 00:39:01 +0000
commit045de129bb79d8899bde0fd3391fcb9020533927 (patch)
treec026612c0a27292ad8ff0b6629de1939c65c8388 /benchmarks/ttcp
parent6986191f5571054191c47d298137aea883347fc8 (diff)
downloadports-045de129bb79d8899bde0fd3391fcb9020533927.tar.gz
ports-045de129bb79d8899bde0fd3391fcb9020533927.zip
Support stage
Notes
Notes: svn path=/head/; revision=338717
Diffstat (limited to 'benchmarks/ttcp')
-rw-r--r--benchmarks/ttcp/Makefile15
-rw-r--r--benchmarks/ttcp/pkg-plist1
2 files changed, 5 insertions, 11 deletions
diff --git a/benchmarks/ttcp/Makefile b/benchmarks/ttcp/Makefile
index 9ee4d02512e5..84a46747e644 100644
--- a/benchmarks/ttcp/Makefile
+++ b/benchmarks/ttcp/Makefile
@@ -20,11 +20,6 @@ LICENSE_TEXT= The license: ${_LICENSE} (${_LICENSE_NAME}) is standard, please re
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>
diff --git a/benchmarks/ttcp/pkg-plist b/benchmarks/ttcp/pkg-plist
index d2d4cd8cbf1d..d29275caeb34 100644
--- a/benchmarks/ttcp/pkg-plist
+++ b/benchmarks/ttcp/pkg-plist
@@ -1,3 +1,4 @@
bin/ttcp
+man/man1/ttcp.1.gz
%%PORTDOCS%%%%DOCSDIR%%/README
%%PORTDOCS%%@dirrm %%DOCSDIR%%