30 lines
729 B
Makefile
30 lines
729 B
Makefile
# $NetBSD: Makefile,v 1.7 2004/11/27 18:14:24 wiz Exp $
|
|
|
|
DISTNAME= NetPIPE_2.4
|
|
PKGNAME= netpipe-2.4
|
|
CATEGORIES= benchmarks net
|
|
MASTER_SITES= http://www.scl.ameslab.gov/netpipe/code/
|
|
|
|
MAINTAINER= tech-pkg@NetBSD.org
|
|
HOMEPAGE= http://www.scl.ameslab.gov/netpipe/
|
|
COMMENT= TCP/PVM/MPI testing and performance measuring tool
|
|
|
|
PKG_INSTALLATION_TYPES= overwrite pkgviews
|
|
WRKSRC= ${WRKDIR}/netpipe-2.4
|
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
|
|
CFLAGS+= -DHAVE_GETRUSAGE
|
|
|
|
.if ${OPSYS} == "SunOS"
|
|
MAKE_ENV+= EXTRA_LIBS="-lsocket -lnsl"
|
|
.endif
|
|
|
|
INSTALLATION_DIRS= bin man/man1
|
|
|
|
do-install:
|
|
cd ${WRKSRC} ; \
|
|
${INSTALL_PROGRAM} NPtcp ${PREFIX}/bin/NPtcp ; \
|
|
${INSTALL_MAN} netpipe.1 ${PREFIX}/man/man1/netpipe.1
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|