summaryrefslogtreecommitdiff
path: root/net/pchar/Makefile
blob: 7f0326dea04ac2abc4318f9727f632d8bfcae9ed (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
# $NetBSD: Makefile,v 1.5 2000/06/15 11:32:20 hubertf Exp $

DISTNAME=		pchar-1.2
CATEGORIES=		net
MASTER_SITES=		http://www.employees.org/~bmah/Software/pchar/

MAINTAINER=		soren@netbsd.org
HOMEPAGE=		http://www.ca.sandia.gov/~bmah/Software/pchar/

GNU_CONFIGURE=		yes

CONFIGURE_ARGS=		--with-snmp=${PREFIX}

BUILD_DEFS+=	USE_INET6
.include "../../mk/bsd.prefs.mk"
.if defined(USE_INET6) && ${USE_INET6} == YES
CONFIGURE_ARGS+=	--with-ipv6
.endif

DEPENDS+=		ucd-snmp-*:../../net/ucd-snmp

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/pchar ${PREFIX}/sbin
	${INSTALL_MAN} ${WRKSRC}/pchar.8 ${PREFIX}/man/man8

.include "../../mk/bsd.pkg.mk"