pkgsrc/net/bing/Makefile

35 lines
863 B
Makefile
Raw Normal View History

# $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
2004-02-21 08:27:16 +01:00
COMMENT= Bing is a point-to-point bandwidth measurement tool
LICENSE= original-bsd
2016-02-25 17:20:49 +01:00
LDFLAGS.SunOS+= -lsocket -lnsl
2007-03-24 20:21:18 +01:00
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
2003-03-28 21:28:56 +01:00
# 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