pkgsrc/net/arping/Makefile
obache f00b3dfe6c Some clean up realted to net/libnet{10,11}.
* buildlink bin/libnet{10,11}-config to bin/libnet-config for comvenience
  (they ware renamed in pkgsrc to avoid conflict)
* remove -lnet from BUILDLINK_CPPFLAGS.libnet11.
  linker flags should not be in CPPFLAGS, and it berak likage with libtool
  as reported in PR 37300.
* libnet11 install just a static library, so set defaut DEPMETHOD = build

Bump PKGREVISION for libnet11 related packages (net/isic will be updated later).
2009-12-09 12:27:27 +00:00

31 lines
896 B
Makefile

# $NetBSD: Makefile,v 1.17 2009/12/09 12:27:27 obache Exp $
#
DISTNAME= arping-2.08
PKGREVISION= 1
CATEGORIES= net
MASTER_SITES= ftp://ftp.habets.pp.se/pub/synscan/
MAINTAINER= cube@NetBSD.org
HOMEPAGE= http://www.habets.pp.se/synscan/programs.php?prog=arping
COMMENT= ARP-level ping utility
LICENSE= gnu-gpl-v2
PKG_DESTDIR_SUPPORT= user-destdir
LIBS+= -lnet -lpcap
LIBS.SunOS+= -lsocket -lnsl
INSTALLATION_DIRS= bin ${PKGMANDIR}/man8
CPPFLAGS+= -I${BUILDLINK_PREFIX.libnet11}/include/libnet11
do-build:
${CC} -o ${WRKSRC}/arping ${CPPFLAGS} ${CFLAGS} ${LDFLAGS} \
${WRKSRC}/arping-2/arping.c ${LIBS}
do-install:
${INSTALL_MAN} ${WRKSRC}/arping.8 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man8
${INSTALL_PROGRAM} ${WRKSRC}/arping ${DESTDIR}${PREFIX}/bin
.include "../../devel/libnet11/buildlink3.mk"
.include "../../net/libpcap/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"