pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/math/cgal cgal: remove WRKDIR references from installe...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/b24d2be9754e
branches:  trunk
changeset: 457069:b24d2be9754e
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Sun Aug 15 14:35:08 2021 +0000

description:
cgal: remove WRKDIR references from installed files

>From Paul Ripke in PR 56362.

Bump PKGREVISION.

diffstat:

 math/cgal/Makefile |  11 ++++++++---
 1 files changed, 8 insertions(+), 3 deletions(-)

diffs (31 lines):

diff -r 4a2340b0adbc -r b24d2be9754e math/cgal/Makefile
--- a/math/cgal/Makefile        Sun Aug 15 14:23:57 2021 +0000
+++ b/math/cgal/Makefile        Sun Aug 15 14:35:08 2021 +0000
@@ -1,12 +1,11 @@
-# $NetBSD: Makefile,v 1.64 2021/07/30 12:26:58 ryoon Exp $
+# $NetBSD: Makefile,v 1.65 2021/08/15 14:35:08 wiz Exp $
 
 DISTNAME=      CGAL-4.14
 PKGNAME=       ${DISTNAME:tl}
-PKGREVISION=   20
+PKGREVISION=   21
 CATEGORIES=    math
 MASTER_SITES=  ${MASTER_SITE_GITHUB:=CGAL/}
 GITHUB_RELEASE=        releases/${DISTNAME}
-
 EXTRACT_SUFX=  .tar.xz
 
 MAINTAINER=    reinoud%NetBSD.org@localhost
@@ -21,6 +20,12 @@
 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 {} \;
 



Home | Main Index | Thread Index | Old Index