1d91bfb332
no bump, because !mips64 packages didn't change, and mips64 didn't package.
38 lines
861 B
Makefile
38 lines
861 B
Makefile
# $OpenBSD: Makefile,v 1.21 2007/11/07 20:57:37 jasper Exp $
|
|
# $FreeBSD: Makefile,v 1.2 1999/03/03 03:48:56 jkoshy Exp $
|
|
|
|
COMMENT= self-scaling network benchmark
|
|
|
|
DISTNAME= netpipe-2.4
|
|
DISTFILES= NetPIPE_2.4.tar.gz
|
|
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
|
|
|
|
NO_REGRESS= Yes
|
|
|
|
# gcc 3.3.5 internal compiler error
|
|
.if ${MACHINE_ARCH} == "mips64"
|
|
EXTRA_CFLAGS= -O0
|
|
.endif
|
|
|
|
MAKE_FLAGS+= EXTRA_CFLAGS=${EXTRA_CFLAGS}
|
|
|
|
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>
|