openbsd-ports/net/tcptraceroute/Makefile

35 lines
879 B
Makefile

# $OpenBSD: Makefile,v 1.7 2002/07/31 17:14:30 pvalchev Exp $
COMMENT= "traceroute implementation using TCP packets"
DISTNAME= tcptraceroute-1.4
CATEGORIES= net
HOMEPAGE= http://michael.toren.net/code/tcptraceroute/
MAINTAINER= Patroklos Argyroudis <argp@ieee.org>
# GPL
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
MASTER_SITES= http://michael.toren.net/code/tcptraceroute/
LIB_DEPENDS= net::net/libnet
MAKE_FLAGS= CC="${CC}" \
CFLAGS="${CFLAGS} -L${LOCALBASE}/lib \
-I${LOCALBASE}/include"
ALL_TARGET=
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/tcptraceroute ${PREFIX}/sbin
${INSTALL_DATA} ${WRKSRC}/tcptraceroute.8 ${PREFIX}/man/man8
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/tcptraceroute
${INSTALL_DATA} ${WRKSRC}/examples.txt ${PREFIX}/share/doc/tcptraceroute
.include <bsd.port.mk>