[BACK]Return to Makefile CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / math / cgal

File: [cvs.NetBSD.org] / pkgsrc / math / cgal / Makefile (download)

Revision 1.74, Wed Nov 23 16:20:34 2022 UTC (2 months, 1 week ago) by adam
Branch: MAIN
CVS Tags: pkgsrc-2022Q4-base, pkgsrc-2022Q4
Changes since 1.73: +2 -2 lines

massive revision bump after textproc/icu update

# $NetBSD: Makefile,v 1.74 2022/11/23 16:20:34 adam Exp $

DISTNAME=	CGAL-4.14
PKGNAME=	${DISTNAME:tl}
PKGREVISION=	30
CATEGORIES=	math
MASTER_SITES=	${MASTER_SITE_GITHUB:=CGAL/}
GITHUB_RELEASE=	releases/${DISTNAME}
EXTRACT_SUFX=	.tar.xz

MAINTAINER=	reinoud@NetBSD.org
HOMEPAGE=	https://www.cgal.org/
COMMENT=	Computational Geometry Algorithms Library
LICENSE=	gnu-lgpl-v3

USE_CMAKE=	yes
USE_LANGUAGES=	c c++11
CMAKE_ARGS+=	-DCGAL_INSTALL_MAN_DIR=${PREFIX}/${PKGMANDIR}/man1

REPLACE_SH+=	scripts/cgal_create_CMakeLists
REPLACE_SH+=	scripts/cgal_create_cmake_script

SUBST_CLASSES+=			cmakeworkdir
SUBST_STAGE.cmakeworkdir=	post-install
SUBST_MESSAGE.cmakeworkdir=	Removing $$WRKDIR from cmake files
SUBST_FILES.cmakeworkdir=	${DESTDIR}${PREFIX}/lib/cmake/CGAL/*.cmake
SUBST_SED.cmakeworkdir=		-e 's%${WRKDIR}/.buildlink%${PREFIX}%g'

pre-install:
	find ${WRKSRC} -name \*.orig -exec rm {} \;

.include "../../devel/boost-headers/buildlink3.mk"
.include "../../devel/boost-libs/buildlink3.mk"
.include "../../math/mpfr/buildlink3.mk"
.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"
.include "../../mk/bsd.pkg.mk"