2012-09-12 00:37:10 +02:00
|
|
|
# $NetBSD: Makefile,v 1.12 2012/09/11 22:37:13 asau Exp $
|
2001-07-28 01:33:35 +02:00
|
|
|
|
2010-10-16 12:15:56 +02:00
|
|
|
DISTNAME= NetPIPE-3.7.1
|
|
|
|
PKGNAME= netpipe-3.7.1
|
2001-07-28 01:33:35 +02:00
|
|
|
CATEGORIES= benchmarks net
|
2004-10-28 18:53:03 +02:00
|
|
|
MASTER_SITES= http://www.scl.ameslab.gov/netpipe/code/
|
2001-07-28 01:33:35 +02:00
|
|
|
|
2006-03-04 22:28:51 +01:00
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
2001-07-28 01:33:35 +02:00
|
|
|
HOMEPAGE= http://www.scl.ameslab.gov/netpipe/
|
|
|
|
COMMENT= TCP/PVM/MPI testing and performance measuring tool
|
2010-10-16 12:15:56 +02:00
|
|
|
LICENSE= gnu-gpl-v2
|
2001-07-28 01:33:35 +02:00
|
|
|
|
2004-07-30 17:50:37 +02:00
|
|
|
PKG_INSTALLATION_TYPES= overwrite pkgviews
|
2008-03-03 01:51:43 +01:00
|
|
|
|
2010-10-16 12:15:56 +02:00
|
|
|
MAKE_FILE= makefile
|
|
|
|
CFLAGS+= -DHAVE_GETRUSAGE
|
2004-07-30 17:50:37 +02:00
|
|
|
|
2003-09-19 20:14:02 +02:00
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
|
|
|
|
|
|
.if ${OPSYS} == "SunOS"
|
|
|
|
MAKE_ENV+= EXTRA_LIBS="-lsocket -lnsl"
|
|
|
|
.endif
|
|
|
|
|
2007-01-07 10:13:46 +01:00
|
|
|
INSTALLATION_DIRS= bin ${PKGMANDIR}/man1
|
2004-07-30 17:50:37 +02:00
|
|
|
|
2001-07-28 01:33:35 +02:00
|
|
|
do-install:
|
2010-10-16 12:15:56 +02:00
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/NPtcp ${DESTDIR}${PREFIX}/bin/NPtcp
|
|
|
|
${INSTALL_MAN} ${WRKSRC}/dox/netpipe.1 \
|
2008-03-03 01:51:43 +01:00
|
|
|
${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/netpipe.1
|
2001-07-28 01:33:35 +02:00
|
|
|
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|