33 lines
755 B
Makefile
33 lines
755 B
Makefile
# $OpenBSD: Makefile,v 1.18 2004/11/21 18:01:03 espie Exp $
|
|
# $FreeBSD: Makefile,v 1.2 1999/03/03 03:48:56 jkoshy Exp $
|
|
|
|
COMMENT= "self-scaling network benchmark"
|
|
|
|
DISTNAME= NetPIPE_2.4
|
|
PKGNAME= ${DISTNAME:L:S/_/-/}
|
|
CATEGORIES= benchmarks net
|
|
|
|
HOMEPAGE= http://www.scl.ameslab.gov/netpipe/
|
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
WANTLIB= c
|
|
|
|
MASTER_SITES= ${HOMEPAGE}/code/
|
|
|
|
MAKE_FLAGS= CC="${CC}" CFLAGS="${CFLAGS} -DHAVE_GETRUSAGE"
|
|
ALL_TARGET= NPtcp
|
|
|
|
WRKDIST= ${WRKDIR}/${PKGNAME}
|
|
|
|
NO_REGRESS= Yes
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKBUILD}/NPtcp ${PREFIX}/bin
|
|
${INSTALL_MAN} ${WRKBUILD}/netpipe.1 ${PREFIX}/man/man1
|
|
cd ${PREFIX}/bin && ln -sf NPtcp netpipe
|
|
|
|
.include <bsd.port.mk>
|