2005-12-27 14:54:57 +01:00
|
|
|
# $NetBSD: Makefile,v 1.7 2005/12/27 13:54:58 seb Exp $
|
2001-10-17 00:40:11 +02:00
|
|
|
#
|
|
|
|
|
|
|
|
DISTNAME= traceroute_991603.tar
|
|
|
|
PKGNAME= traceroute-as-991603
|
|
|
|
CATEGORIES= net
|
|
|
|
MASTER_SITES= ftp://ftp.nikhef.nl/pub/network/
|
|
|
|
EXTRACT_SUFX= .Z
|
|
|
|
|
2005-12-27 14:54:57 +01:00
|
|
|
MAINTAINER= tech-pkg@NetBSD.org
|
2001-10-17 00:40:11 +02:00
|
|
|
COMMENT= Traceroute capable of reporting the AS number of hops
|
|
|
|
|
2004-01-20 13:18:15 +01:00
|
|
|
WRKSRC= ${WRKDIR}
|
|
|
|
|
2001-10-17 00:40:11 +02:00
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
|
|
|
|
|
|
.if ${OPSYS} == "SunOS"
|
|
|
|
PKG_SYSDEFS= -DSYSV
|
|
|
|
PKG_LIBRARIES= -lresolv -lsocket -lnsl
|
|
|
|
.endif
|
|
|
|
|
2005-12-05 21:49:47 +01:00
|
|
|
MAKE_FLAGS+= CC=${CC:Q} PKG_CFLAGS=${CFLAGS:M*:Q} PKG_SYSDEFS=${PKG_SYSDEFS:Q}
|
2001-10-17 00:40:11 +02:00
|
|
|
MAKE_FLAGS+= PKG_LIBRARIES=${PKG_LIBRARIES:Q}
|
2002-04-18 18:14:45 +02:00
|
|
|
INSTALL_PROGRAM_SUID= ${INSTALL} ${COPY} ${_STRIPFLAG_INSTALL} -o ${BINOWN} -g ${BINGRP} -m 4555
|
2005-12-05 21:49:47 +01:00
|
|
|
MAKE_ENV+= BSD_INSTALL_PROGRAM_SUID=${INSTALL_PROGRAM_SUID:Q}
|
2001-10-17 00:40:11 +02:00
|
|
|
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|