2021-02-07 07:30:06 +01:00
|
|
|
# $NetBSD: Makefile,v 1.60 2021/02/07 06:30:29 ryoon Exp $
|
2012-02-27 13:46:27 +01:00
|
|
|
|
2019-06-23 01:43:04 +02:00
|
|
|
DISTNAME= CGAL-4.14
|
2019-06-22 07:54:27 +02:00
|
|
|
PKGNAME= ${DISTNAME:tl}
|
2021-02-07 07:30:06 +01:00
|
|
|
PKGREVISION= 17
|
2012-02-27 13:46:27 +01:00
|
|
|
CATEGORIES= math
|
2019-06-22 07:54:27 +02:00
|
|
|
MASTER_SITES= ${MASTER_SITE_GITHUB:=CGAL/}
|
2019-06-23 01:43:04 +02:00
|
|
|
GITHUB_RELEASE= releases/${DISTNAME}
|
2019-06-22 07:54:27 +02:00
|
|
|
|
|
|
|
EXTRACT_SUFX= .tar.xz
|
2012-02-27 13:46:27 +01:00
|
|
|
|
|
|
|
MAINTAINER= reinoud@NetBSD.org
|
2020-01-26 18:30:40 +01:00
|
|
|
HOMEPAGE= https://www.cgal.org/
|
2012-02-27 13:46:27 +01:00
|
|
|
COMMENT= Computational Geometry Algorithms Library
|
|
|
|
LICENSE= gnu-lgpl-v3
|
|
|
|
|
|
|
|
USE_CMAKE= yes
|
2018-07-18 02:06:10 +02:00
|
|
|
USE_LANGUAGES= c c++03
|
2019-06-23 01:43:04 +02:00
|
|
|
CMAKE_ARGS+= -DCGAL_INSTALL_MAN_DIR=${PREFIX}/${PKGMANDIR}/man1
|
2019-06-22 07:54:27 +02:00
|
|
|
|
2019-06-23 01:43:04 +02:00
|
|
|
REPLACE_SH+= scripts/cgal_create_CMakeLists
|
|
|
|
REPLACE_SH+= scripts/cgal_create_cmake_script
|
2012-02-27 13:46:27 +01:00
|
|
|
|
2015-03-31 17:48:32 +02:00
|
|
|
pre-install:
|
2016-01-17 16:17:09 +01:00
|
|
|
find ${WRKSRC} -name \*.orig -exec rm {} \;
|
2014-02-08 13:16:12 +01:00
|
|
|
|
2012-02-27 13:46:27 +01:00
|
|
|
.include "../../devel/boost-headers/buildlink3.mk"
|
|
|
|
.include "../../devel/boost-libs/buildlink3.mk"
|
|
|
|
.include "../../math/mpfr/buildlink3.mk"
|
2019-06-22 07:54:27 +02:00
|
|
|
.include "../../devel/gmp/buildlink3.mk"
|
|
|
|
.include "../../devel/zlib/buildlink3.mk"
|
|
|
|
.include "../../graphics/MesaLib/buildlink3.mk"
|
|
|
|
.include "../../x11/qt5-qtbase/buildlink3.mk"
|
|
|
|
.include "../../x11/qt5-qttools/buildlink3.mk"
|
|
|
|
.include "../../x11/qt5-qtsvg/buildlink3.mk"
|
2012-02-27 13:46:27 +01:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|