blob: ea8544988a2eacbf845a68a290984d54a83f80b1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
# $NetBSD: Makefile,v 1.11 2012/09/11 22:37:14 asau Exp $
DISTNAME= nttcp-1.47
PKGREVISION= 1
CATEGORIES= benchmarks net
MASTER_SITES= http://www.sfr-fresh.com/unix/privat/
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= # http://home.leo.org/~elmar/nttcp/
COMMENT= New TCP testing and performance measuring tool
PKG_INSTALLATION_TYPES= overwrite pkgviews
.include "../../mk/bsd.prefs.mk"
.if ${OPSYS} == "SunOS"
MAKE_ENV+= LIB="-lsocket -lnsl"
.endif
INSTALLATION_DIRS= bin ${PKGMANDIR}/man1
do-install:
cd ${WRKSRC} && ${INSTALL_PROGRAM} nttcp \
${DESTDIR}${PREFIX}/bin/nttcp
cd ${WRKSRC} && ${INSTALL_MAN} nttcp.1 \
${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/nttcp.1
.include "../../mk/bsd.pkg.mk"
|