2013-09-05 18:20:13 +02:00
|
|
|
# Created by: gahr
|
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= abacus
|
|
|
|
DISTVERSION= 3.2betaU1
|
2015-02-13 02:01:35 +01:00
|
|
|
PORTREVISION= 4
|
2013-09-05 18:20:13 +02:00
|
|
|
CATEGORIES= math
|
|
|
|
MASTER_SITES= http://www.informatik.uni-koeln.de/abacus/
|
|
|
|
|
2014-12-10 23:29:14 +01:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2014-07-07 17:31:01 +02:00
|
|
|
COMMENT= Branch-And-CUt System
|
2013-09-05 18:20:13 +02:00
|
|
|
|
|
|
|
LICENSE= GPLv2
|
|
|
|
|
2013-10-07 10:25:11 +02:00
|
|
|
LIB_DEPENDS= libClp.so:${PORTSDIR}/math/coinmp
|
2013-09-05 18:20:13 +02:00
|
|
|
|
2013-10-08 09:14:27 +02:00
|
|
|
USE_GCC= yes
|
2013-09-05 18:20:13 +02:00
|
|
|
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:
|
2013-10-07 10:25:11 +02:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/lib/linux20-gcc44/libabacus-osi.a ${STAGEDIR}${PREFIX}/lib/libabacus-osi.a
|
2014-07-28 09:41:22 +02:00
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/lib/linux20-gcc44/libabacus-osi.so ${STAGEDIR}${PREFIX}/lib/libabacus-osi.so.1
|
2013-10-07 10:25:11 +02:00
|
|
|
${LN} -sf libabacus-osi.so.1 ${STAGEDIR}${PREFIX}/lib/libabacus-osi.so
|
|
|
|
cd ${WRKSRC}/Include && ${COPYTREE_SHARE} abacus ${STAGEDIR}${PREFIX}/include
|
2013-09-05 18:20:13 +02:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|