9c8b5ede43
developer is officially maintaining the package. The rationale for changing this from "tech-pkg" to "pkgsrc-users" is that it implies that any user can try to maintain the package (by submitting patches to the mailing list). Since the folks most likely to care about the package are the folks that want to use it or are already using it, this would leverage the energy of users who aren't developers.
35 lines
851 B
Makefile
35 lines
851 B
Makefile
# $NetBSD: Makefile,v 1.20 2006/03/04 21:30:17 jlam Exp $
|
|
|
|
DISTNAME= bing-1.0.4
|
|
CATEGORIES= net
|
|
MASTER_SITES= ftp://ftp.ibp.fr/pub/networking/
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
HOMEPAGE= http://www.cnam.fr/reseau/bing.html
|
|
COMMENT= Bing is a point-to-point bandwidth measurement tool
|
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
|
|
.if ${OPSYS} == "SunOS"
|
|
LDFLAGS+= -lsocket -lnsl
|
|
.endif
|
|
|
|
post-install:
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/bing
|
|
${INSTALL_DATA} ${WRKSRC}/README ${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
|