summaryrefslogtreecommitdiff
path: root/net/irrd/Makefile
blob: 9ead856ac810988a5f5507caae28bcbdb550b560 (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
37
38
39
40
41
42
# $NetBSD: Makefile,v 1.7 2000/09/13 20:31:43 fredb Exp $
#

DISTNAME=	irrd-1.5-beta-Sept-24-1999
PKGNAME=	irrd-1.5-beta-19990924
CATEGORIES=	net
MASTER_SITES=	http://www.merit.edu/radb/irrd/source/

MAINTAINER=	kim@tac.nyc.ny.us
HOMEPAGE=	http://www.irrd.net/

BUILD_DEPENDS+=	autoreconf:../../devel/autoconf
BUILD_DEPENDS+=	bison:../../devel/bison

WRKSRC=		${WRKDIR}/irrd-1.5

GNU_CONFIGURE=	yes
CONFIGURE_ARGS+= --without-gdbm --with-db1
CONFIGURE_ARGS+= --disable-thread
CONFIGURE_ENV+=	YACC=bison

pre-configure:
	@(cd ${WRKSRC} && autoreconf)

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

.if defined(IRRD_USE_PGP) && ${IRRD_USE_PGP} == 5
DEPENDS+=	pgp-5.*:../../security/pgp5
.elif defined(IRRD_USE_PGP) && ${IRRD_USE_PGP} == 2
DEPENDS+=	pgp-2.*:../../security/pgp2
.else
CONFIGURE_ARGS+= --without-pgp
.endif

.if defined(USE_INET6) && ${USE_INET6} == "YES"
# default
# CONFIGURE_ARGS+=	--enable-ipv6
.else
CONFIGURE_ARGS+=	--disable-ipv6
.endif

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