2003-02-08 17:26:55 +01:00
|
|
|
# $NetBSD: Makefile,v 1.12 2003/02/08 16:26:55 dmcmahill Exp $
|
1997-11-19 16:55:36 +01:00
|
|
|
# FreeBSD Id: Makefile,v 1.2 1997/10/13 09:14:49 tg Exp
|
|
|
|
#
|
|
|
|
|
|
|
|
DISTNAME= bing-1.0.4
|
|
|
|
CATEGORIES= net
|
|
|
|
MASTER_SITES= ftp://ftp.ibp.fr/pub/networking/
|
|
|
|
|
1998-04-20 13:56:17 +02:00
|
|
|
MAINTAINER= packages@netbsd.org
|
2003-01-19 08:29:41 +01:00
|
|
|
HOMEPAGE= http://www.cnam.fr/reseau/bing.html
|
2001-02-17 18:52:59 +01:00
|
|
|
COMMENT= Bing is a point-to-point bandwith measurement tool
|
1997-11-19 16:55:36 +01:00
|
|
|
|
|
|
|
post-install:
|
2001-02-25 05:17:35 +01:00
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/bing
|
1998-08-09 22:50:57 +02:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/bing
|
1997-11-19 16:55:36 +01:00
|
|
|
|
1998-04-15 12:38:15 +02:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|
2003-02-08 17:26:55 +01:00
|
|
|
|
|
|
|
# XXX On NetBSD the gcc-2.95.3 for:
|
|
|
|
# XXX
|
|
|
|
# XXX alpha
|
|
|
|
# XXX
|
|
|
|
# XXX has an optimization bug when compiling with -O2 that is tickled by
|
|
|
|
# XXX ${WRKSRC}/bing.c
|
|
|
|
#
|
|
|
|
.if ${OPSYS} == "NetBSD"
|
|
|
|
. if (${MACHINE_ARCH} == "alpha")
|
|
|
|
CXXFLAGS:= ${CXXFLAGS:C/-O[0-9]*//g}
|
|
|
|
CFLAGS:= ${CFLAGS:C/-O[0-9]*//g}
|
|
|
|
. endif
|
|
|
|
.endif
|
|
|
|
|