summaryrefslogtreecommitdiff
path: root/net/irrtoolset5/Makefile
blob: 4eaf556c63639165248830184be193f5757db203 (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.3 2010/04/13 21:19:55 spz Exp $
#

DISTNAME=		irrtoolset-5.0.0
CATEGORIES=		net
MASTER_SITES=		ftp://ftp.isc.org/isc/IRRToolSet/IRRToolSet-5.0.0/

OWNER=			spz@NetBSD.org
HOMEPAGE=		http://irrtoolset.isc.org/
COMMENT=		The Internet Routing Registry Toolset - client to IRRd
LICENSE=		gnu-gpl-v2 AND mit AND modified-bsd

CONFLICTS=		IRRToolSet-4.*{,nb*}

PKG_DESTDIR_SUPPORT=	user-destdir

.include "../../mk/bsd.prefs.mk"

INSTALLATION_DIRS=	${PKGBINDIR} ${PKGMANDIR}/man1

USE_LIBTOOL=		yes
GNU_CONFIGURE=		yes
USE_LANGUAGES=		c c++
USE_TOOLS+=		bison flex
GCC_REQD+=		3.0

CONFIG_GUESS_OVERRIDE=	config.guess
CONFIG_SUB_OVERRIDE=	config.sub

.if !empty(MACHINE_PLATFORM:MNetBSD-[1-4].*) || !empty(MACHINE_PLATFORM:MNetBSD-5\.[0-9][\._]*)
CONFIGURE_ENV+=		LEX="${PREFIX}/bin/flex"
.include "../../devel/flex/buildlink3.mk"
.endif

.include "../../devel/readline/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"