blob: 652ceb5532a835da0818c13ef28fb09dc5b9193e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
# $NetBSD: Makefile,v 1.30 2006/10/04 21:53:17 wiz Exp $
DISTNAME= pchar-1.5
CATEGORIES= net
MASTER_SITES= http://www.kitchenlab.org/www/bmah/Software/pchar/
MAINTAINER= soren@NetBSD.org
HOMEPAGE= http://www.kitchenlab.org/www/bmah/Software/pchar/
COMMENT= Tool for measuring Internet path characteristics
GNU_CONFIGURE= yes
USE_LANGUAGES= c c++
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/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"
|