freebsd-ports/net/ntraceroute/Makefile
2021-04-06 16:31:07 +02:00

31 lines
653 B
Makefile

# Created by: Bruce M Simpson <bms@FreeBSD.org>
PORTNAME= ntraceroute
PORTVERSION= 6.4.2
PORTREVISION= 3
CATEGORIES= net
MASTER_SITES= ZI/ntraceroute
DISTNAME= traceroute.c
EXTRACT_SUFX=
DIST_SUBDIR= ${PORTNAME}
MAINTAINER= zi@FreeBSD.org
COMMENT= Ubiquitous network routing analysis tool
EXTRACT_CMD= ${CP}
EXTRACT_BEFORE_ARGS=
EXTRACT_AFTER_ARGS= .
NO_WRKSUBDIR= yes
PLIST_FILES= sbin/${PORTNAME}
BUILD_FLAGS= -DBYTESWAP_IP_FLAGS -DBYTESWAP_IP_LEN
do-build:
${CC} ${BUILD_FLAGS} -o ${WRKSRC}/${PORTNAME} -lm \
${WRKSRC}/${DISTFILES}
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/sbin
.include <bsd.port.mk>