Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 5 Jan 2014 01:49:25 +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: r338742 - head/benchmarks/httperf
Message-ID:  <201401050149.s051nPv4014381@svn.freebsd.org>

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

Log:
  Support stage

Modified:
  head/benchmarks/httperf/Makefile

Modified: head/benchmarks/httperf/Makefile
==============================================================================
--- head/benchmarks/httperf/Makefile	Sun Jan  5 01:47:42 2014	(r338741)
+++ head/benchmarks/httperf/Makefile	Sun Jan  5 01:49:24 2014	(r338742)
@@ -7,7 +7,7 @@ CATEGORIES=	benchmarks www
 MASTER_SITES=	GOOGLE_CODE
 
 MAINTAINER=	jlaffaye@FreeBSD.org
-COMMENT=	A tool for measuring webserver performance
+COMMENT=	Tool for measuring webserver performance
 
 LICENSE=	GPLv2
 
@@ -17,24 +17,16 @@ USES=		gmake
 MAKE_ARGS=	LIBUTIL_OBJS=ssl_writev.o \
 		exec_prefix=${PREFIX}
 
-PLIST_FILES=	bin/httperf
+PLIST_FILES=	bin/httperf \
+		man/man1/httperf.1.gz
 PORTDOCS=	ChangeLog NEWS README TODO
-MAN1=		httperf.1
 
-NO_STAGE=	yes
-
-.include <bsd.port.options.mk>
-
-post-install:
-.if ${PORT_OPTIONS:MDOCS}
-	@${MKDIR} ${DOCSDIR}
+do-install:
+	${INSTALL_MAN} ${WRKSRC}/man/${PORTNAME}.1 ${STAGEDIR}${MAN1PREFIX}/man/man1/
+	${INSTALL_PROGRAM} ${WRKSRC}/src/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}
 .for file in ${PORTDOCS}
-	${INSTALL_MAN} ${WRKSRC}/${file} ${DOCSDIR}
+	${INSTALL_MAN} ${WRKSRC}/${file} ${STAGEDIR}${DOCSDIR}
 .endfor
-.endif
-
-do-install:
-	@${INSTALL_MAN} ${WRKSRC}/man/${PORTNAME}.1 ${MAN1PREFIX}/man/man1/
-	@${INSTALL_PROGRAM} ${WRKSRC}/src/${PORTNAME} ${PREFIX}/bin/
 
 .include <bsd.port.mk>



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