mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-19 03:52:17 +00:00
39 lines
774 B
Makefile
39 lines
774 B
Makefile
# Created by: Bruce M Simpson <bms@FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= ntraceroute
|
|
PORTVERSION= 6.4.2
|
|
PORTREVISION= 3
|
|
CATEGORIES= net
|
|
MASTER_SITES= NETBSD/traceroute-nanog \
|
|
ZI
|
|
DISTNAME= traceroute.c
|
|
EXTRACT_SUFX=
|
|
DIST_SUBDIR= ${PORTNAME}
|
|
|
|
MAINTAINER= zi@FreeBSD.org
|
|
COMMENT= Ubiquitous network routing analysis tool
|
|
|
|
WRKSRC= ${WRKDIR}
|
|
|
|
EXTRACT_CMD= ${CP}
|
|
EXTRACT_BEFORE_ARGS=
|
|
EXTRACT_AFTER_ARGS= .
|
|
|
|
PLIST_FILES= sbin/${PORTNAME}
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1100030
|
|
BUILD_FLAGS= -DBYTESWAP_IP_FLAGS -DBYTESWAP_IP_LEN
|
|
.endif
|
|
|
|
do-build:
|
|
${CC} ${BUILD_FLAGS} -o ${WRKSRC}/${PORTNAME} -lm \
|
|
${WRKSRC}/${DISTFILES}
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/sbin
|
|
|
|
.include <bsd.port.post.mk>
|