freebsd-ports/math/lrslib/Makefile

39 lines
996 B
Makefile
Raw Normal View History

PORTNAME= lrslib
PORTVERSION= 7.2
PORTEPOCH= 1
CATEGORIES= math
2020-09-14 07:47:50 +02:00
MASTER_SITES= http://cgm.cs.mcgill.ca/~avis/C/lrslib/archive/
DISTNAME= ${PORTNAME}-0${PORTVERSION:S/.//}
MAINTAINER= yuri@FreeBSD.org
COMMENT= Reverse search algorithm for vertex enumeration/convex hull problems
WWW= http://cgm.cs.mcgill.ca/~avis/C/lrs.html
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/COPYING
BROKEN_armv6= error: __int128 is not supported on this target
BROKEN_armv7= error: __int128 is not supported on this target
BROKEN_i386= error: __int128 is not supported on this target
BROKEN_powerpc= error: __int128 is not supported on this target
LIB_DEPENDS= libgmp.so:math/gmp
USES= compiler:c11 gmake libtool localbase:ldflags
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
LDFLAGS+= -lthr
BINARY_ALIAS= gcc=${CC}
2020-09-14 07:47:50 +02:00
post-install:
@cd ${STAGEDIR}${PREFIX} && ${STRIP_CMD} bin/* lib/*.so
.include <bsd.port.mk>