403Webshell
Server IP : 82.208.35.60  /  Your IP : 216.73.216.89
Web Server : Apache/2.4.55 (FreeBSD) OpenSSL/1.1.1q-freebsd PHP/7.3.31
System : FreeBSD server7.d2m.cz 12.4-RELEASE-p9 FreeBSD 12.4-RELEASE-p9 GENERIC amd64
User : studiokobylisy_cz ( 1008)
PHP Version : 7.3.31
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /usr/ports/math/topcom/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /usr/ports/math/topcom/Makefile
PORTNAME=	topcom
DISTVERSION=	0.17.8
PORTREVISION=	1
CATEGORIES=	math
MASTER_SITES=	http://www.rambau.wm.uni-bayreuth.de/Software/
DISTNAME=	${PORTNAME:tu}-${DISTVERSION}

MAINTAINER=	yuri@FreeBSD.org
COMMENT=	Computing triangulations of point configurations and oriented matroids
WWW=		http://www.rambau.wm.uni-bayreuth.de/TOPCOM/

LICENSE=	GPLv2
LICENSE_FILE=	${WRKSRC}/COPYING

LIB_DEPENDS=	libcddgmp.so:math/cddlib \
		libgmp.so:math/gmp

USES=		autoreconf gmake localbase:ldflags
GNU_CONFIGURE=	yes

CFLAGS+=	-I${LOCALBASE}/include/cdd/
LDFLAGS+=	-lgmp -lgmpxx -lcddgmp

CONFLICTS_INSTALL=	p5-Set-CrossProduct # bin/cross

WRKSRC=		${WRKDIR}/${PORTNAME}-${DISTVERSION}

OPTIONS_DEFINE=		SOPLEX # SOPLEX shouldn't be made default because SoPlex's license prevents packaging.

SOPLEX_DESC=		Build with SoPlex linear programming problem solver
SOPLEX_CXXFLAGS=	-I${LOCALBASE}/include/soplex
SOPLEX_LIB_DEPENDS=	libsoplex.so:math/SoPlex
SOPLEX_BROKEN=		not compatible with SoPlex-5.0.2 - missing header, reported to the upstream author vie e-mail

post-extract:
	@${RM} -r ${WRKSRC}/external

post-patch:
	@${FIND} ${WRKSRC} -name "Makefile*" \
		| ${XARGS} ${REINPLACE_CMD} ' \
			s|\.\./external/lib/libcddgmp\.a|${LOCALBASE}/lib/libcddgmp.so| ; \
			s|\.\./external/lib/libgmp\.a|${LOCALBASE}/lib/libgmp.so| ; \
			s|\.\./external/lib/libgmpxx\.a|${LOCALBASE}/lib/libgmpxx.so|'

post-patch-SOPLEX-off:
	@${REINPLACE_CMD} -e 's|AC_CHECK_LIB(soplex,|AC_CHECK_LIB(soplex_disabled,|' ${WRKSRC}/configure.ac

.include <bsd.port.mk>

Youez - 2016 - github.com/yon3zu
LinuXploit