openbsd-ports/benchmarks/netpipe/Makefile
2000-09-24 07:03:59 +00:00

26 lines
658 B
Makefile

# $OpenBSD: Makefile,v 1.10 2000/09/24 07:04:02 brad Exp $
# $FreeBSD: Makefile,v 1.2 1999/03/03 03:48:56 jkoshy Exp $
DISTNAME= netpipe-2.4
CATEGORIES= benchmarks net
NEED_VERSION= 1.330
MASTER_SITES= ftp://ftp.scl.ameslab.gov/pub/netpipe/
MAINTAINER= Brad Smith <brad@openbsd.org>
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
MAKE_FLAGS= CC="${CC}" CFLAGS="${CFLAGS} -DHAVE_GETRUSAGE"
ALL_TARGET= NPtcp
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>