blob: 8667ef7c97fc56cb882f4482e053e37dfdf36883 (
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
29
30
31
32
33
34
35
36
|
# $NetBSD: Makefile,v 1.17 2008/01/03 23:15:47 heinz Exp $
DISTNAME= netio126
PKGNAME= netio-1.26
CATEGORIES= benchmarks net
MASTER_SITES= http://www.ars.de/ars/ars.nsf/f24a6a0b94c22d82862566960071bf5a/aa577bc4be573b05c125706d004c75b5/\$$FILE/
EXTRACT_SUFX= .zip
HOMEPAGE= http://www.ars.de/ars/ars.nsf/docs/netio
MAINTAINER= tron@NetBSD.org
COMMENT= Network benchmark for OS/2 2.x, Windows NT/2000 and Unix
LICENSE= no-commercial-use
PKG_DESTDIR_SUPPORT= user-destdir
PKG_INSTALLATION_TYPES= overwrite pkgviews
WRKSRC= ${WRKDIR}
MAKE_FLAGS+= CC=${CC:Q} CFLAGS="-DUNIX ${PTHREAD_CFLAGS} ${CFLAGS}" \
LFLAGS="${PTHREAD_LDFLAGS} ${LDFLAGS}" \
LIBS="${PTHREAD_LIBS} ${LIBS}" O=.o OUT=-o X=
.include "../../mk/bsd.prefs.mk"
LIBS.SunOS+= -lsocket -lnsl
INSTALLATION_DIRS= bin
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/netio ${DESTDIR}${PREFIX}/bin
${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/doc/netio
${INSTALL_DATA} ${WRKSRC}/netio.doc \
${DESTDIR}${PREFIX}/share/doc/netio/netio.txt
.include "../../mk/pthread.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
|