aboutsummaryrefslogtreecommitdiff
path: root/devel/open-beagle/Makefile
blob: 78225a8e273bd2ee8cd778b321b8990bcaf0bafd (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
# Created by: ijliao

PORTNAME=	open-beagle
PORTVERSION=	3.0.3
PORTREVISION=	1
CATEGORIES=	devel
MASTER_SITES=	SF/beagle/beagle/${PORTVERSION}
DISTNAME=	beagle-${PORTVERSION}

MAINTAINER=	ports@FreeBSD.org
COMMENT=	Evolutionary Computation Framework

CONFLICTS=	beagle

GNU_CONFIGURE=	yes
CONFIGURE_ARGS=	--enable-optimization --with-zlib=/usr
USE_LDCONFIG=	yes
USES=		gmake libtool
INSTALL_TARGET=	install-strip
PACCVERSION=	1.3.1b

PLIST_SUB=	PORTVERSION=${PORTVERSION} PACCVERSION=${PACCVERSION}
BUILD_DEPENDS+=	gsed:textproc/gsed

#unfortunately, some important sed statements rely on GNU sed behavior, and can't be
#easily changed to call GNU sed by means of the configure script
post-configure:
	${FIND} -X ${WRKSRC} -name 'Makefile' | ${XARGS} ${REINPLACE_CMD} \
	's/sed /gsed /g'
	@${REINPLACE_CMD} 's|push_back|this->push_back|' \
		${WRKSRC}/beagle/include/beagle/RouletteT.hpp

.include <bsd.port.mk>