openbsd-ports/net/tcptraceroute/Makefile
pvalchev 36aeccd4bd Install examples in share/examples, not share/doc.
From Sebastian Stark; ok'ed by maintainer Patroklos G. Argyroudis
2002-12-24 01:08:43 +00:00

38 lines
931 B
Makefile

# $OpenBSD: Makefile,v 1.9 2002/12/24 01:08:43 pvalchev Exp $
COMMENT= "traceroute implementation using TCP packets"
DISTNAME= tcptraceroute-1.4
PKGNAME= ${DISTNAME}p1
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=
NO_REGRESS= Yes
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/tcptraceroute ${PREFIX}/sbin
${INSTALL_DATA} ${WRKSRC}/tcptraceroute.8 ${PREFIX}/man/man8
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/tcptraceroute
${INSTALL_DATA} ${WRKSRC}/examples.txt ${PREFIX}/share/examples/tcptraceroute
.include <bsd.port.mk>