summaryrefslogtreecommitdiff
path: root/net/scli/Makefile
blob: f6e7e3faa94f1ba9769e43bca4e7d705b2819f27 (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.13 2004/10/03 00:17:58 tv Exp $
#

DISTNAME=		scli-0.2.12
PKGREVISION=		5
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"