aboutsummaryrefslogtreecommitdiffstats
path: root/benchmarks/webbench
diff options
context:
space:
mode:
authorbapt <bapt@FreeBSD.org>2014-01-05 08:35:05 +0800
committerbapt <bapt@FreeBSD.org>2014-01-05 08:35:05 +0800
commit8be04eeed3051df628da25137c1c8f3ff64135dc (patch)
tree7b3ee374e223b3bb6fa38e07bc8fee4036f06930 /benchmarks/webbench
parent9657bb93e72a614ca388a6a94a2bb0d3cfd7a640 (diff)
downloadfreebsd-ports-gnome-8be04eeed3051df628da25137c1c8f3ff64135dc.tar.gz
freebsd-ports-gnome-8be04eeed3051df628da25137c1c8f3ff64135dc.tar.zst
freebsd-ports-gnome-8be04eeed3051df628da25137c1c8f3ff64135dc.zip
Support stage
Diffstat (limited to 'benchmarks/webbench')
-rw-r--r--benchmarks/webbench/Makefile25
1 files changed, 7 insertions, 18 deletions
diff --git a/benchmarks/webbench/Makefile b/benchmarks/webbench/Makefile
index 986c4676322e..8dc0dff1bca5 100644
--- a/benchmarks/webbench/Makefile
+++ b/benchmarks/webbench/Makefile
@@ -12,27 +12,16 @@ COMMENT= Simple forking web benchmark
MAKE_ARGS+= CFLAGS="${CPPFLAGS} ${CFLAGS}"
-.if !defined(NO_INSTALL_MANPAGES)
-MAN1= webbench.1
-.endif
-
PORTDOCS= copyright changelog
-PLIST_FILES= bin/webbench
-
-NO_STAGE= yes
-
-.include <bsd.port.options.mk>
+PLIST_FILES= bin/webbench \
+ man/man1/webbench.1.gz
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/webbench ${PREFIX}/bin
-.if !defined(NO_INSTALL_MANPAGES)
- ${INSTALL_MAN} ${WRKSRC}/webbench.1 ${MAN1PREFIX}/man/man1
-.endif
-.if ${PORT_OPTIONS:MDOCS}
- ${MKDIR} ${DOCSDIR}
- ${INSTALL_DATA} ${WRKSRC}/debian/copyright ${DOCSDIR}
- ${INSTALL_DATA} ${WRKSRC}/debian/changelog ${DOCSDIR}
-.endif
+ ${INSTALL_PROGRAM} ${WRKSRC}/webbench ${STAGEDIR}${PREFIX}/bin
+ ${INSTALL_MAN} ${WRKSRC}/webbench.1 ${STAGEDIR}${MAN1PREFIX}/man/man1
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/debian/copyright ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/debian/changelog ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>