2017-02-11 03:51:53 +01:00
|
|
|
# $NetBSD: Makefile,v 1.28 2017/02/11 02:51:53 mef Exp $
|
1997-11-19 16:55:36 +01:00
|
|
|
|
2017-02-11 03:51:53 +01:00
|
|
|
DISTNAME= bing_src-1.1.3
|
|
|
|
PKGNAME= ${DISTNAME:S/_src//}
|
1997-11-19 16:55:36 +01:00
|
|
|
CATEGORIES= net
|
2006-10-04 23:53:15 +02:00
|
|
|
MASTER_SITES= http://fgouget.free.fr/bing/
|
1997-11-19 16:55:36 +01:00
|
|
|
|
2006-03-04 22:28:51 +01:00
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
2006-10-04 23:53:15 +02:00
|
|
|
HOMEPAGE= http://fgouget.free.fr/bing/index-en.shtml
|
2004-02-21 08:27:16 +01:00
|
|
|
COMMENT= Bing is a point-to-point bandwidth measurement tool
|
2017-02-11 03:51:53 +01:00
|
|
|
LICENSE= original-bsd
|
1997-11-19 16:55:36 +01:00
|
|
|
|
2016-02-25 17:20:49 +01:00
|
|
|
LDFLAGS.SunOS+= -lsocket -lnsl
|
2003-09-22 18:25:16 +02:00
|
|
|
|
2007-03-24 20:21:18 +01:00
|
|
|
INSTALLATION_DIRS= bin ${PKGMANDIR}/man8 share/doc/bing
|
|
|
|
|
1997-11-19 16:55:36 +01:00
|
|
|
post-install:
|
2017-02-11 03:51:53 +01:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/Readme.txt ${DESTDIR}${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
|
2003-03-28 21:28:56 +01:00
|
|
|
# XXX alpha
|
2003-02-08 17:26:55 +01:00
|
|
|
# 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")
|
2007-02-22 20:26:05 +01:00
|
|
|
CXXFLAGS:= ${CXXFLAGS:C/-O[0-9]*//g}
|
|
|
|
CFLAGS:= ${CFLAGS:C/-O[0-9]*//g}
|
2003-02-08 17:26:55 +01:00
|
|
|
. endif
|
|
|
|
.endif
|