ABACUS is a software system written in C++ that provides a framework for the implementation of branch-and-bound algorithms using linear programming relaxations. Cutting planes or columns can be generated dynamically (branch-and-cut, branch-and-price, branch-and-cut-and-price). WWW: http://www.informatik.uni-koeln.de/abacus/
37 lines
885 B
Makefile
37 lines
885 B
Makefile
# Created by: gahr
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= abacus
|
|
DISTVERSION= 3.2betaU1
|
|
CATEGORIES= math
|
|
MASTER_SITES= http://www.informatik.uni-koeln.de/abacus/
|
|
|
|
MAINTAINER= gahr@FreeBSD.org
|
|
COMMENT= A Branch-And-CUt System
|
|
|
|
LICENSE= GPLv2
|
|
|
|
LIB_DEPENDS= Clp:${PORTSDIR}/math/coinmp
|
|
|
|
USE_GCC= 4.4+
|
|
USES= gmake perl5
|
|
USE_PERL5= build
|
|
USE_LDCONFIG= yes
|
|
ALL_TARGET= abacus
|
|
|
|
WRKSRC= ${WRKDIR}
|
|
|
|
post-patch:
|
|
${REINPLACE_CMD} -e '\
|
|
s|%%LOCALBASE%%|${LOCALBASE}|g; \
|
|
s|%%CXX%%|${CXX}|g; \
|
|
s|%%PERL5%%|${PERL5}|g' \
|
|
${WRKSRC}/Makefile
|
|
|
|
do-install:
|
|
${INSTALL_DATA} ${WRKSRC}/lib/linux20-gcc44/libabacus-osi.a ${PREFIX}/lib/libabacus-osi.a
|
|
${INSTALL_DATA} ${WRKSRC}/lib/linux20-gcc44/libabacus-osi.so ${PREFIX}/lib/libabacus-osi.so.1
|
|
${LN} -sf libabacus-osi.so.1 ${PREFIX}/lib/libabacus-osi.so
|
|
cd ${WRKSRC}/Include && ${COPYTREE_SHARE} abacus ${PREFIX}/include
|
|
|
|
.include <bsd.port.mk>
|