37 lines
910 B
Makefile
37 lines
910 B
Makefile
# New ports collection makefile for: dbs
|
|
# Version required: 1.1.5
|
|
# Date created: 1 August 1998
|
|
# Whom: jkoshy
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
DISTNAME= dbs-1.1.5
|
|
CATEGORIES= benchmarks
|
|
MASTER_SITES= http://shika.aist-nara.ac.jp/member/yukio-m/dbs/software1.1.5/
|
|
|
|
MAINTAINER= jkoshy@freebsd.org
|
|
|
|
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
|
|
|
|
do-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 ${PREFIX}/bin/dbsc ${PREFIX}/bin/dbsd
|
|
${MKDIR} ${EXDIR}
|
|
cd ${WRKSRC}/sample; ${CP} -p ${EXS} ${EXDIR}
|
|
.if !defined(NOPORTDOCS)
|
|
${MKDIR} ${DOCDIR}
|
|
cd ${WRKSRC}/doc; ${CP} -p ${DOCS} ${DOCDIR}
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|