mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-26 05:02:18 +00:00
1cd277bdce
GCC 4.6.4 to GCC 4.7.3. This entails updating the lang/gcc port as well as changing the default in Mk/bsd.default-versions.mk. Part II, Bump PORTREVISIONs. PR: 182136 Supported by: Christoph Moench-Tegeder <cmt@burggraben.net> (fixing many ports) Tested by: bdrewery (two -exp runs)
39 lines
950 B
Makefile
39 lines
950 B
Makefile
# Created by: gahr
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= abacus
|
|
DISTVERSION= 3.2betaU1
|
|
PORTREVISION= 2
|
|
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= libClp.so:${PORTSDIR}/math/coinmp
|
|
|
|
USE_GCC= yes
|
|
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 ${STAGEDIR}${PREFIX}/lib/libabacus-osi.a
|
|
${INSTALL_DATA} ${WRKSRC}/lib/linux20-gcc44/libabacus-osi.so ${STAGEDIR}${PREFIX}/lib/libabacus-osi.so.1
|
|
${LN} -sf libabacus-osi.so.1 ${STAGEDIR}${PREFIX}/lib/libabacus-osi.so
|
|
cd ${WRKSRC}/Include && ${COPYTREE_SHARE} abacus ${STAGEDIR}${PREFIX}/include
|
|
|
|
.include <bsd.port.mk>
|