2002-10-19 21:17:13 +02:00
|
|
|
# $NetBSD: Makefile,v 1.17 2002/10/19 19:17:13 soren Exp $
|
1999-11-04 05:38:10 +01:00
|
|
|
|
2001-06-13 21:18:24 +02:00
|
|
|
DISTNAME= pchar-1.4
|
1999-11-04 06:57:15 +01:00
|
|
|
CATEGORIES= net
|
2000-06-06 04:38:36 +02:00
|
|
|
MASTER_SITES= http://www.employees.org/~bmah/Software/pchar/
|
1999-11-04 05:38:10 +01:00
|
|
|
|
1999-11-04 06:57:15 +01:00
|
|
|
MAINTAINER= soren@netbsd.org
|
2000-10-11 17:07:47 +02:00
|
|
|
HOMEPAGE= http://www.employees.org/~bmah/Software/pchar/
|
2001-02-17 18:52:59 +01:00
|
|
|
COMMENT= Tool for measuring Internet path characteristics
|
1999-11-04 05:38:10 +01:00
|
|
|
|
1999-11-04 06:57:15 +01:00
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
|
2002-10-05 05:57:34 +02:00
|
|
|
USE_BUILDLINK2= yes
|
2000-07-03 17:13:18 +02:00
|
|
|
BUILD_DEFS+= USE_INET6
|
2000-06-06 04:38:36 +02:00
|
|
|
|
2000-01-25 00:23:53 +01:00
|
|
|
.include "../../mk/bsd.prefs.mk"
|
2000-07-03 17:13:18 +02:00
|
|
|
|
2000-01-25 00:23:53 +01:00
|
|
|
.if defined(USE_INET6) && ${USE_INET6} == YES
|
|
|
|
CONFIGURE_ARGS+= --with-ipv6
|
|
|
|
.endif
|
1999-11-04 06:57:15 +01:00
|
|
|
|
2001-04-10 00:03:37 +02:00
|
|
|
.if ${OPSYS} == "NetBSD"
|
2002-10-05 05:57:34 +02:00
|
|
|
.include "../ucd-snmp/buildlink2.mk"
|
2002-02-17 22:12:07 +01:00
|
|
|
|
2002-10-05 05:57:34 +02:00
|
|
|
CONFIGURE_ARGS+= --with-snmp=${BUILDLINK_PREFIX.ucd-snmp}
|
2002-02-17 22:25:43 +01:00
|
|
|
LIBS+= -lsnmp -lcrypto
|
2001-04-10 00:03:37 +02:00
|
|
|
.endif
|
2000-06-06 04:38:36 +02:00
|
|
|
|
1999-11-04 06:57:15 +01:00
|
|
|
do-install:
|
2000-01-25 00:23:53 +01:00
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/pchar ${PREFIX}/sbin
|
|
|
|
${INSTALL_MAN} ${WRKSRC}/pchar.8 ${PREFIX}/man/man8
|
1999-11-04 05:38:10 +01:00
|
|
|
|
2002-10-05 05:57:34 +02:00
|
|
|
.include "../../security/openssl/buildlink2.mk"
|
1999-11-04 05:38:10 +01:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|