pkgsrc/net/pchar/Makefile

36 lines
877 B
Makefile

# $NetBSD: Makefile,v 1.26 2005/06/17 03:50:27 jlam Exp $
DISTNAME= pchar-1.4
PKGREVISION= 4
CATEGORIES= net
MASTER_SITES= http://www.employees.org/~bmah/Software/pchar/
MAINTAINER= soren@NetBSD.org
HOMEPAGE= http://www.employees.org/~bmah/Software/pchar/
COMMENT= Tool for measuring Internet path characteristics
GNU_CONFIGURE= yes
BUILD_DEFS+= USE_INET6
.include "../../mk/bsd.prefs.mk"
.if defined(USE_INET6) && ${USE_INET6} == YES
CONFIGURE_ARGS+= --with-ipv6
.endif
.if ${OPSYS} == "NetBSD"
.include "../net-snmp/buildlink3.mk"
CONFIGURE_ARGS+= --with-snmp=${BUILDLINK_PREFIX.net-snmp}
LIBS+= -lsnmp -lcrypto -ldes
.endif
INSTALLATION_DIRS= man/man8 sbin
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/pchar ${PREFIX}/sbin
${INSTALL_MAN} ${WRKSRC}/pchar.8 ${PREFIX}/man/man8
.include "../../security/openssl/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"