freebsd-ports/devel/open-beagle/Makefile
Stefan Eßer 819f25b36d */*: Remove redundant '-[0-9]*' from CONFLICTS
The conflict checks compare the patterns first against the package
names without version (as reported by "pkg query "%n"), then - if
there was no match - agsinst the full package names including the
version (as reported by "pkg query "%n-%v").

Many CONFLICTS definitions used patterns like "bash-[0-9]*" to filter
for the bash package in any version. But that pattern is functionally
identical with just "bash".

Approved by:	portmgr (blanket)
2021-10-29 11:50:18 +02:00

33 lines
912 B
Makefile

# 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>