summaryrefslogtreecommitdiff
path: root/net/scli/Makefile
blob: 1144872cad704622ef4c6d87a38671ea1a3ce585 (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
# $NetBSD: Makefile,v 1.12 2004/08/27 06:29:09 jlam Exp $
#

DISTNAME=		scli-0.2.12
PKGREVISION=		4
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_BUILDLINK3=		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}

INFO_FILES=		scli.info

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

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