summaryrefslogtreecommitdiff
path: root/net-mgmt/irrtoolset/Makefile
blob: 6a8966b950c82298b48fb062e20e33cb21cc1be4 (plain) (blame)
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
43
44
45
# New ports collection makefile for:	IRRToolSet
# Date created:				May 4th 1997
# Whom:	      				James FitzGibbon <jfitz@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=	irrtoolset
PORTVERSION=	4.7.3
CATEGORIES=	net tk82
MASTER_SITES=	ftp://ftp.ripe.net/tools/IRRToolSet/
DISTNAME=	IRRToolSet-${PORTVERSION}

MAINTAINER=	oberman@es.net
COMMENT=	A suite of routing policy tools to interact with the IRR

LIB_DEPENDS=	tk83.1:${PORTSDIR}/x11-toolkits/tk83

USE_BISON=	yes
USE_GMAKE=	yes
USE_GCC=	2.95
GNU_CONFIGURE=	Yes
CONFIGURE_ENV=	TCL_TK_INCLUDE_DIR="${PREFIX}/include/tcl8.3:${PREFIX}/include/tk8.3" \
		TCL_TK_LIBRARY_DIR=${PREFIX}/lib \
		TCL_LIBRARY=${PREFIX}/lib/tcl8.3 \
		TK_LIBRARY=${PREFIX}/lib/tk8.3 \
		LD_TCL_TK_LIBS="-ltk83 -ltcl83"

MAN1=		CIDRAdvisor.1 aoe.1 prpath.1 RtConfig.1 peval.1 \
		roe.1 rpslcheck.1 prtraceroute.1
MAN3=		librpsl.3

.include <bsd.port.pre.mk>

.if ${OSVERSION} >= 500113
BROKEN=         "Does not compile (bad C++ code)"
.endif

post-patch:
	@${SED} -i.orig -e 's|#include <malloc.h>|/* #include <malloc.h> */|' \
		${WRKSRC}/src/irr/birdwhoisc.cc

aLL_TARGET=	depend all

.include <bsd.port.post.mk>