freebsd-ports/math/lrslib/Makefile

34 lines
695 B
Makefile
Raw Normal View History

# $FreeBSD$
PORTNAME= lrslib
2020-09-14 07:47:50 +02:00
DISTVERSION= 071
PORTREVISION= 1
CATEGORIES= math
2020-09-14 07:47:50 +02:00
MASTER_SITES= http://cgm.cs.mcgill.ca/~avis/C/lrslib/archive/
MAINTAINER= yuri@FreeBSD.org
COMMENT= Reverse search algorithm for vertex enumeration/convex hull problems
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/COPYING
BROKEN_i386= error: __int128 is not supported on this target
LIB_DEPENDS= libgmp.so:math/gmp
USES= 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
2020-09-14 07:47:50 +02:00
post-install:
@cd ${STAGEDIR}${PREFIX} && ${STRIP_CMD} bin/* lib/*.so
.include <bsd.port.mk>