summaryrefslogtreecommitdiff
path: root/net/scli/Makefile
blob: ec18645ae09e08db170d38ecf933417bea572130 (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
# $NetBSD: Makefile,v 1.3 2003/07/13 13:53:00 wiz Exp $
#

DISTNAME=		scli-0.2.12
PKGREVISION=		2
CATEGORIES=		net
MASTER_SITES=		ftp://ftp.ibr.cs.tu-bs.de/pub/local/scli/

MAINTAINER=		seb@netbsd.org
HOMEPAGE=		http://www.ibr.cs.tu-bs.de/projects/scli/
COMMENT=		SNMP command line interface

USE_BUILDLINK2=		yes
GNU_CONFIGURE=		yes
AUTOMAKE_POST_PATTERNS+=	*.info *.info-*

CONFIGURE_ARGS+=	--with-glib-prefix=${BUILDLINK_PREFIX.glib}
USE_GNU_READLINE=	# history_list
BUILDLINK_DEPENDS.readline?=    readline>=4.0

CONFIGURE_ARGS+=	--with-xml-prefix=${BUILDLINK_PREFIX.libxml2}

.for _p_ in ncurses readline
CPPFLAGS+=		-I${BUILDLINK_PREFIX.${_p_}}/include
LDFLAGS+=		-Wl,${RPATH_FLAG}${BUILDLINK_PREFIX.${_p_}}/lib
LDFLAGS+=		-L${BUILDLINK_PREFIX.${_p_}}/lib
.endfor

.include "../../devel/readline/buildlink2.mk"
.include "../../devel/glib/buildlink2.mk"
.include "../../textproc/libxml2/buildlink2.mk"
.include "../../devel/ncurses/buildlink2.mk"
.include "../../mk/texinfo.mk"
.include "../../mk/bsd.pkg.mk"