svn commit: r338742 - head/benchmarks/httperf

Baptiste Daroussin bapt at FreeBSD.org
Sun Jan 5 01:49:25 UTC 2014


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


More information about the svn-ports-all mailing list