Index: head/benchmarks/dbs/pkg-plist =================================================================== --- head/benchmarks/dbs/pkg-plist (revision 297070) +++ head/benchmarks/dbs/pkg-plist (nonexistent) @@ -1,11 +0,0 @@ -bin/dbs_view -bin/dbsc -bin/dbsd -%%PORTDOCS%%%%DOCSDIR%%/Copyright -%%PORTDOCS%%%%DOCSDIR%%/dbs.man -%%PORTDOCS%%%%DOCSDIR%%/dbs.man.jis -%%PORTDOCS%%%%DOCSDIR%%/dbs_paper.ps -%%EXAMPLESDIR%%/TCP2.cmd -%%EXAMPLESDIR%%/TCPvsMPEG.cmd -%%PORTDOCS%%@dirrm %%DOCSDIR%% -@dirrm %%EXAMPLESDIR%% Property changes on: head/benchmarks/dbs/pkg-plist ___________________________________________________________________ Deleted: cvs2svn:cvs-rev ## -1 +0,0 ## -1.3 \ No newline at end of property Deleted: fbsd:nokeywords ## -1 +0,0 ## -yes \ No newline at end of property Index: head/benchmarks/dbs/Makefile =================================================================== --- head/benchmarks/dbs/Makefile (revision 297070) +++ head/benchmarks/dbs/Makefile (revision 297071) @@ -1,46 +1,57 @@ # New ports collection makefile for: dbs # Date created: 1 August 1998 # Whom: jkoshy # # $FreeBSD$ # PORTNAME= dbs PORTVERSION= 1.1.5 -PORTREVISION= 4 +PORTREVISION= 5 CATEGORIES= benchmarks MASTER_SITES= http://www.kusa.ac.jp/~yukio-m/dbs/software1.1.5/ \ - ${MASTER_SITE_LOCAL} -MASTER_SITE_SUBDIR= jkoshy + LOCAL/jkoshy MAINTAINER= ports@FreeBSD.org COMMENT= A distributed network benchmarking system RUN_DEPENDS= gnuplot:${PORTSDIR}/math/gnuplot -DOCDIR= ${PREFIX}/share/doc/dbs/ -DOCS= dbs.man dbs.man.jis dbs_paper.ps Copyright -EXDIR= ${PREFIX}/share/examples/dbs/ -EXS= TCP2.cmd TCPvsMPEG.cmd +BUILD_WRKSRC= ${WRKSRC}/obj/${OPSYS} +INSTALL_WRKSRC= ${WRKSRC}/obj/${OPSYS} -.include +USE_PERL5_RUN= yes +MAKEFILE= makefile -.if ${OSVERSION} >= 900000 -BROKEN= does not compile on FreeBSD 9.X -.endif +PORTDOCS= * +PORTEXAMPLES= * +PLIST_FILES= bin/dbs_view bin/dbsc bin/dbsd -do-build: +post-patch: + @${REINPLACE_CMD} -e \ + 's|/usr/local/bin/perl|${PERL}|' ${WRKSRC}/script/dbs_view + +pre-build: cd ${WRKSRC}/src; ${MAKE} dir - cd ${WRKSRC}/obj/${OPSYS}; ${MAKE} ${ALL_TARGET} PREFIX=${PREFIX} do-install: - cd ${WRKSRC}/obj/${OPSYS}; ${MAKE} ${INSTALL_TARGET} PREFIX=${PREFIX} - ${STRIP_CMD} ${PREFIX}/bin/dbsc ${PREFIX}/bin/dbsd - ${MKDIR} ${EXDIR} - cd ${WRKSRC}/sample; ${CP} -p ${EXS} ${EXDIR} +.for bin in dbsc dbsd + cd ${INSTALL_WRKSRC}; ${INSTALL_PROGRAM} ${bin} ${PREFIX}/bin +.endfor +.for bin in dbs_view + cd ${WRKSRC}/script; ${INSTALL_SCRIPT} ${bin} ${PREFIX}/bin +.endfor .if !defined(NOPORTDOCS) - ${MKDIR} ${DOCDIR} - cd ${WRKSRC}/doc; ${CP} -p ${DOCS} ${DOCDIR} + @${MKDIR} ${DOCSDIR} +.for doc in Copyright dbs.man dbs.man.jis dbs_paper.ps + cd ${WRKSRC}/doc; ${INSTALL_DATA} ${doc} ${DOCSDIR} +.endfor .endif +.if !defined(NOPORTEXAMPLES) + @${MKDIR} ${EXAMPLESDIR} +.for ex in TCP2.cmd TCPvsMPEG.cmd + cd ${WRKSRC}/sample; ${INSTALL_DATA} ${ex} ${EXAMPLESDIR} +.endfor +.endif -.include +.include Property changes on: head/benchmarks/dbs/Makefile ___________________________________________________________________ Modified: cvs2svn:cvs-rev ## -1 +1 ## -1.17 \ No newline at end of property +1.18 \ No newline at end of property Index: head/benchmarks/dbs/files/patch-af =================================================================== --- head/benchmarks/dbs/files/patch-af (revision 297070) +++ head/benchmarks/dbs/files/patch-af (nonexistent) @@ -1,12 +0,0 @@ ---- script/dbs_view-- Fri Jul 11 00:53:57 1997 -+++ script/dbs_view Sat Aug 1 20:44:46 1998 -@@ -1,7 +1,7 @@ --#!/usr/local/bin/perl --#!/usr/local/bin/perl -d - #!/usr/bin/perl - #!/usr/bin/perl -d -+#!/usr/local/bin/perl -+#!/usr/local/bin/perl -d - - ###################################################################### - # DBS: Distributed Benchmark System Property changes on: head/benchmarks/dbs/files/patch-af ___________________________________________________________________ Deleted: cvs2svn:cvs-rev ## -1 +0,0 ## -1.1.1.1 \ No newline at end of property Deleted: fbsd:nokeywords ## -1 +0,0 ## -yes \ No newline at end of property Index: head/benchmarks/dbs/files/patch-aa =================================================================== --- head/benchmarks/dbs/files/patch-aa (revision 297070) +++ head/benchmarks/dbs/files/patch-aa (revision 297071) @@ -1,33 +1,33 @@ --- src/Makefile-- Sat Aug 1 19:13:01 1998 +++ src/Makefile Sat Aug 1 19:44:49 1998 @@ -27,10 +27,10 @@ # make install # -BIN =/usr/local/etc +BIN = ${PREFIX}/bin #CC =gcc -CFLAGS =-O -+CFLAGS =-O -DHAVE_SYS_PARAM_H ++CFLAGS +=-DHAVE_SYS_PARAM_H #CFLAGS =-g # debug #CFLAGS =-g -DDEBUGMODE @@ -51,7 +51,7 @@ obj:: (cd ../obj/$(UNAME); make) -UNAME = `uname|tr -d '/'``uname -r|tr -d '/'` +UNAME = `uname|tr -d '/'` dir:: -@ mkdir ../obj -@ mkdir ../obj/$(UNAME) @@ -74,7 +74,7 @@ etags *.c *.h install:: - cp -p dbsc dbsd ../script/dbs_view $(BIN) + cp -p dbsc dbsd ../../script/dbs_view $(BIN) dbsc: dbsc.o scan.o dbs.o $(CC) $(BSTATIC) dbsc.o scan.o dbs.o -o $@ -lm $(LDFLAGS) Property changes on: head/benchmarks/dbs/files/patch-aa ___________________________________________________________________ Modified: cvs2svn:cvs-rev ## -1 +1 ## -1.1.1.1 \ No newline at end of property +1.2 \ No newline at end of property Index: head/benchmarks/dbs/files/patch-src__record.h =================================================================== --- head/benchmarks/dbs/files/patch-src__record.h (nonexistent) +++ head/benchmarks/dbs/files/patch-src__record.h (revision 297071) @@ -0,0 +1,12 @@ +--- src/record.h.orig 1997-10-13 09:36:38.000000000 +0900 ++++ src/record.h 2012-04-29 03:08:53.000000000 +0900 +@@ -69,7 +69,9 @@ + #include + + #ifndef __linux__ ++#ifndef __FreeBSD__ + #include ++#endif + #include + #include + /*#define TCPSTATES*/ Property changes on: head/benchmarks/dbs/files/patch-src__record.h ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.1 \ No newline at end of property Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property