pkgsrc/net/bing/Makefile
mef dac4c92caf Updated net/bing to 1.0.4 to 1.1.3
----------------------------------
Release 1.1.3:
 - The RTT measurement on Win32 is now on a par with that of Unix, i.e.
   the precision is in the order of 10 microseconds.
 - bing has been made more portable. You should have fewer problems
   compiling bing 1.1.3 on your platform.
 - bing now displays Mbps or Kbps as most sensible.


Release 1.1.2:
 - All the icmp specific code has been put in the "mod_icmp" module.
   The bing core accesses this code via the interface defined in
   "mod_icmp.h".
 - The files layout has been modified to accomodate the Unix/Win32
   duality. This layout is not yet really satisfactory.
 - The code has been "cleaned". The process if far from being
   finished yet (imho).
 - Pierre added two options '-u' and 'f'
 - bing now supports multiple hosts on the command line, not only two.
 - Also read the ChangeLog.
2017-02-11 02:51:53 +00:00

34 lines
863 B
Makefile

# $NetBSD: Makefile,v 1.28 2017/02/11 02:51:53 mef Exp $
DISTNAME= bing_src-1.1.3
PKGNAME= ${DISTNAME:S/_src//}
CATEGORIES= net
MASTER_SITES= http://fgouget.free.fr/bing/
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://fgouget.free.fr/bing/index-en.shtml
COMMENT= Bing is a point-to-point bandwidth measurement tool
LICENSE= original-bsd
LDFLAGS.SunOS+= -lsocket -lnsl
INSTALLATION_DIRS= bin ${PKGMANDIR}/man8 share/doc/bing
post-install:
${INSTALL_DATA} ${WRKSRC}/Readme.txt ${DESTDIR}${PREFIX}/share/doc/bing
.include "../../mk/bsd.pkg.mk"
# 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