blob: 0d20b581087f8d635bf95ab061f0f0805bdfd023 (
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
|
# $NetBSD: Makefile,v 1.10 2004/07/30 15:50:37 minskim Exp $
DISTNAME= netio114
PKGNAME= netio-1.14
PKGREVISION= 1
CATEGORIES= benchmarks net
MASTER_SITES= ftp://ftp.leo.org/pub/comp/os/os2/leo/systools/
EXTRACT_SUFX= .zip
MAINTAINER= tron@NetBSD.org
COMMENT= Network benchmark for DOS, OS/2 2.x, Windows NT/2000 and Unix
LICENSE= no-commercial-use
PKG_INSTALLATION_TYPES= overwrite pkgviews
WRKSRC= ${WRKDIR}
MAKE_FLAGS+= CC="${CC}" CFLAGS="-DUNIX ${CFLAGS}" LFLAGS="${LDFLAGS}" \
LIBS="${LIBS}" O=.o OUT=-o X=
.include "../../mk/bsd.prefs.mk"
.if (${OPSYS} == SunOS)
LIBS+= -lsocket -lnsl
.endif
INSTALLATION_DIRS= bin
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/netio ${PREFIX}/bin
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/netio
${INSTALL_DATA} ${WRKSRC}/netio.doc ${PREFIX}/share/doc/netio
.include "../../mk/bsd.pkg.mk"
|