ports/math/geogram/Makefile
Tobias C. Berner 707c6bf295 Change cmake default behaviour to outsource.
Ports that build out of source now simply can use "USES=cmake"
instead of "USES=cmake:outsource". Ports that fail to build
out of source now need to specify "USES=cmake:insource".

I tried to only set insource where explictely needed.

PR:		232038
Exp-run by:	antoine
2018-12-25 20:25:39 +00:00

31 lines
742 B
Makefile

# $FreeBSD$
PORTNAME= geogram
DISTVERSION= 1.6.9
PORTREVISION= 1
CATEGORIES= math
MASTER_SITES= https://gforge.inria.fr/frs/download.php/file/37779/
DISTNAME= ${PORTNAME}_${DISTVERSION}
MAINTAINER= yuri@FreeBSD.org
COMMENT= Programming library of geometric algorithms
LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/doc/devkit/license.dox
LIB_DEPENDS= libglfw.so:graphics/glfw
USES= cmake gl localbase:ldflags
USE_XORG= x11 xcursor xi xinerama xrandr xxf86vm
USE_GL= gl glu
USE_LDCONFIG= yes
CMAKE_ON= GEOGRAM_USE_SYSTEM_GLFW3 VORPALINE_BUILD_DYNAMIC
CMAKE_ARGS= -DVORPALINE_PLATFORM:STRING=FreeBSD
LDFLAGS+= -pthread
post-stage:
@${RMDIR} ${STAGEDIR}${PREFIX}/include/geogram1/geogram_gfx/glup_viewer/colormaps
.include <bsd.port.mk>