diff options
author | Philip M. Gollucci <pgollucci@FreeBSD.org> | 2010-01-04 02:11:24 +0000 |
---|---|---|
committer | Philip M. Gollucci <pgollucci@FreeBSD.org> | 2010-01-04 02:11:24 +0000 |
commit | b96f14ddb3f84c8d882aa381875dfc0e593a61bf (patch) | |
tree | 180b99525ba4c6a1bdbe23fbdc17160e4393ae1e /benchmarks | |
parent | 275cf16e45e0f40e78155da2f8b3109eb067b761 (diff) | |
download | ports-b96f14ddb3f84c8d882aa381875dfc0e593a61bf.tar.gz ports-b96f14ddb3f84c8d882aa381875dfc0e593a61bf.zip |
Notes
Diffstat (limited to 'benchmarks')
-rw-r--r-- | benchmarks/ttcp/Makefile | 9 | ||||
-rw-r--r-- | benchmarks/ttcp/pkg-plist | 4 |
2 files changed, 8 insertions, 5 deletions
diff --git a/benchmarks/ttcp/Makefile b/benchmarks/ttcp/Makefile index ac221b0b735c..dbdd33b3cd82 100644 --- a/benchmarks/ttcp/Makefile +++ b/benchmarks/ttcp/Makefile @@ -7,6 +7,7 @@ PORTNAME= ttcp PORTVERSION= 1.12 +PORTREVISION= 1 CATEGORIES= benchmarks net MASTER_SITES= ftp://ftp.sgi.com/sgi/src/ttcp/ DISTFILES= ttcp.c ttcp.1 README @@ -15,7 +16,7 @@ EXTRACT_ONLY= #none MAINTAINER= pgollucci@FreeBSD.org COMMENT= Benchmarking tool for analysing TCP and UDP performance -MAKE_JOBS_SAFE= yes +MAKE_JOBS_SAFE= yes NO_WRKSUBDIR= yes DIST_SUBDIR= ${PORTNAME} @@ -32,7 +33,9 @@ do-build: do-install: ${INSTALL_PROGRAM} ${WRKSRC}/ttcp ${PREFIX}/bin ${INSTALL_MAN} ${WRKSRC}/ttcp.1 ${PREFIX}/man/man1 - ${MKDIR} ${PREFIX}/share/doc/ttcp - ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/ttcp/ +.if !defined(NOPORTDOCS) + ${MKDIR} ${DOCSDIR}/ + ${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}/ +.endif .include <bsd.port.mk> diff --git a/benchmarks/ttcp/pkg-plist b/benchmarks/ttcp/pkg-plist index 5d2266f36ebd..d2d4cd8cbf1d 100644 --- a/benchmarks/ttcp/pkg-plist +++ b/benchmarks/ttcp/pkg-plist @@ -1,3 +1,3 @@ bin/ttcp -share/doc/ttcp/README -@dirrm share/doc/ttcp +%%PORTDOCS%%%%DOCSDIR%%/README +%%PORTDOCS%%@dirrm %%DOCSDIR%% |