pkgsrc/benchmarks/netpipe/Makefile

34 lines
826 B
Makefile
Raw Normal View History

# $NetBSD: Makefile,v 1.10 2008/03/03 00:51:44 jlam Exp $
DISTNAME= NetPIPE_2.4
PKGNAME= netpipe-2.4
CATEGORIES= benchmarks net
MASTER_SITES= http://www.scl.ameslab.gov/netpipe/code/
MAINTAINER= pkgsrc-users@NetBSD.org
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
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
.include "../../mk/bsd.prefs.mk"
CFLAGS+= -DHAVE_GETRUSAGE
.if ${OPSYS} == "SunOS"
MAKE_ENV+= EXTRA_LIBS="-lsocket -lnsl"
.endif
INSTALLATION_DIRS= bin ${PKGMANDIR}/man1
2004-07-30 17:50:37 +02:00
do-install:
cd ${WRKSRC} && ${INSTALL_PROGRAM} NPtcp \
${DESTDIR}${PREFIX}/bin/NPtcp
cd ${WRKSRC} && ${INSTALL_MAN} netpipe.1 \
${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/netpipe.1
.include "../../mk/bsd.pkg.mk"