7e93cf2da1
instead of repeating it everywhere
33 lines
858 B
Makefile
33 lines
858 B
Makefile
# $OpenBSD: Makefile,v 1.16 2002/12/23 08:40:58 pvalchev Exp $
|
|
# $FreeBSD: ports/net/pchar/Makefile,v 1.1.1.1 1999/11/04 08:33:26 obrien Exp $
|
|
|
|
COMMENT= "Sandia Internet path characterization tool"
|
|
|
|
DISTNAME= pchar-1.4
|
|
CATEGORIES= net
|
|
|
|
MASTER_SITES= ${HOMEPAGE}
|
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
HOMEPAGE= http://www.ca.sandia.gov/~bmah/Software/pchar/
|
|
|
|
CONFIGURE_STYLE=gnu
|
|
CONFIGURE_ARGS= --with-ipv6 --with-pcap
|
|
|
|
NO_REGRESS= Yes
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/pchar ${PREFIX}/sbin
|
|
@/usr/bin/perl -pi.orig -e 's/pchar 1/pchar 8/g' ${WRKSRC}/pchar.8
|
|
${INSTALL_MAN} ${WRKSRC}/pchar.8 ${PREFIX}/man/man8/pchar.8
|
|
.if !defined(NOPORTDOCS)
|
|
@mkdir -p ${PREFIX}/share/doc/pchar
|
|
cd ${WRKSRC} ; ${INSTALL_DATA} README FAQ ${PREFIX}/share/doc/pchar
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|