2018-12-05 08:47:42 +01:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= lrslib
|
2020-09-14 07:47:50 +02:00
|
|
|
DISTVERSION= 071
|
2020-09-16 09:27:55 +02:00
|
|
|
PORTREVISION= 1
|
2018-12-05 08:47:42 +01:00
|
|
|
CATEGORIES= math
|
2020-09-14 07:47:50 +02:00
|
|
|
MASTER_SITES= http://cgm.cs.mcgill.ca/~avis/C/lrslib/archive/
|
2018-12-05 08:47:42 +01:00
|
|
|
|
|
|
|
MAINTAINER= yuri@FreeBSD.org
|
|
|
|
COMMENT= Reverse search algorithm for vertex enumeration/convex hull problems
|
|
|
|
|
|
|
|
LICENSE= GPLv2
|
|
|
|
LICENSE_FILE= ${WRKSRC}/COPYING
|
|
|
|
|
2020-09-22 17:48:43 +02:00
|
|
|
BROKEN_i386= error: __int128 is not supported on this target
|
|
|
|
|
2020-09-16 09:27:55 +02:00
|
|
|
LIB_DEPENDS= libgmp.so:math/gmp
|
2018-12-05 08:47:42 +01:00
|
|
|
|
2020-09-16 09:27:55 +02:00
|
|
|
USES= gmake libtool localbase:ldflags
|
2018-12-05 08:47:42 +01:00
|
|
|
USE_LDCONFIG= yes
|
|
|
|
|
2020-09-14 07:47:50 +02:00
|
|
|
MAKEFILE= makefile
|
|
|
|
|
|
|
|
ALL_TARGET= all-shared
|
|
|
|
|
|
|
|
MAKE_ARGS= CFLAGS="${CFLAGS}" INCLUDEDIR=${LOCALBASE}/include LIBDIR=${LOCALBASE}/lib
|
|
|
|
|
2018-12-05 08:47:42 +01:00
|
|
|
LDFLAGS+= -lthr
|
|
|
|
|
2020-09-14 07:47:50 +02:00
|
|
|
post-install:
|
|
|
|
@cd ${STAGEDIR}${PREFIX} && ${STRIP_CMD} bin/* lib/*.so
|
2018-12-05 08:47:42 +01:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|