2008-03-03 01:51:43 +01:00
|
|
|
# $NetBSD: Makefile,v 1.10 2008/03/03 00:51:44 jlam Exp $
|
2001-07-28 01:33:35 +02:00
|
|
|
|
2004-10-28 18:53:03 +02:00
|
|
|
DISTNAME= NetPIPE_2.4
|
|
|
|
PKGNAME= netpipe-2.4
|
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
|
|
|
|
|
2004-07-30 17:50:37 +02:00
|
|
|
PKG_INSTALLATION_TYPES= overwrite pkgviews
|
2008-03-03 01:51:43 +01:00
|
|
|
PKG_DESTDIR_SUPPORT= user-destdir
|
|
|
|
|
2004-11-02 14:28:12 +01:00
|
|
|
WRKSRC= ${WRKDIR}/netpipe-2.4
|
2004-07-30 17:50:37 +02:00
|
|
|
|
2003-09-19 20:14:02 +02:00
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
|
|
|
|
|
|
CFLAGS+= -DHAVE_GETRUSAGE
|
|
|
|
|
|
|
|
.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:
|
2008-03-03 01:51:43 +01:00
|
|
|
cd ${WRKSRC} && ${INSTALL_PROGRAM} NPtcp \
|
|
|
|
${DESTDIR}${PREFIX}/bin/NPtcp
|
|
|
|
cd ${WRKSRC} && ${INSTALL_MAN} netpipe.1 \
|
|
|
|
${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/netpipe.1
|
2001-07-28 01:33:35 +02:00
|
|
|
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|