49 lines
1.2 KiB
Makefile
49 lines
1.2 KiB
Makefile
# $OpenBSD: Makefile,v 1.2 2011/04/30 01:07:14 matthew Exp $
|
|
|
|
# vax: no fenv.h support
|
|
NOT_FOR_ARCHS = vax
|
|
|
|
COMMENT = Computational Geometry Algorithms Library
|
|
|
|
V = 3.8
|
|
PKGNAME = cgal-${V}
|
|
DISTNAME = CGAL-${V}
|
|
|
|
SHARED_ONLY = Yes
|
|
SHARED_LIBS = CGAL 0.0 \
|
|
CGAL_Core 0.0 \
|
|
CGAL_ImageIO 0.0 \
|
|
CGAL_Qt4 0.0
|
|
|
|
CATEGORIES = math
|
|
|
|
HOMEPAGE = http://www.cgal.org/
|
|
|
|
# mix of LGPLv2.1 and QPL; see http://www.cgal.org/license.html
|
|
PERMIT_PACKAGE_CDROM = Yes
|
|
PERMIT_PACKAGE_FTP = Yes
|
|
PERMIT_DISTFILES_CDROM =Yes
|
|
PERMIT_DISTFILES_FTP = Yes
|
|
|
|
# m>=5.3 for fenv.h support
|
|
WANTLIB = GL GLU ICE SM X11 Xext boost_thread-mt gmp gmpxx \
|
|
lib/qt4/QtGui lib/qt4/QtOpenGL m>=5.3 mpfr stdc++ z
|
|
|
|
# Awkward hosting site; see https://gforge.inria.fr/frs/?group_id=52 for files index.
|
|
MASTER_SITES = https://gforge.inria.fr/frs/download.php/28500/
|
|
|
|
MODULES = devel/cmake \
|
|
x11/qt4
|
|
LIB_DEPENDS = devel/boost \
|
|
devel/gmp \
|
|
devel/mpfr
|
|
|
|
CONFIGURE_ENV = CFLAGS="${CFLAGS} -I${X11BASE}/include" \
|
|
CXXFLAGS="${CXXFLAGS} -I${X11BASE}/include" \
|
|
LDFLAGS="${LDFLAGS} -L${X11BASE}/lib"
|
|
|
|
post-patch:
|
|
rm ${WRKSRC}/scripts/cgal_make_macosx_app
|
|
|
|
.include <bsd.port.mk>
|