1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-19 00:13:33 +00:00
freebsd-ports/math/lrslib/Makefile
Yuri Victorovich 97bbcc9132 math/lrslib: Update 071a → 7.2
Also switch to the versioning scheme A.B
according how versions are described on their
website.

Reported by:	portscout
2023-08-14 20:00:41 -07:00

39 lines
996 B
Makefile

PORTNAME= lrslib
PORTVERSION= 7.2
PORTEPOCH= 1
CATEGORIES= math
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
MAKEFILE= makefile
ALL_TARGET= all-shared
MAKE_ARGS= CFLAGS="${CFLAGS}" INCLUDEDIR=${LOCALBASE}/include LIBDIR=${LOCALBASE}/lib
LDFLAGS+= -lthr
BINARY_ALIAS= gcc=${CC}
post-install:
@cd ${STAGEDIR}${PREFIX} && ${STRIP_CMD} bin/* lib/*.so
.include <bsd.port.mk>