pkgsrc-Changes archive

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

CVS commit: pkgsrc/math/cgal



Module Name:    pkgsrc
Committed By:   wiz
Date:           Sun Aug 15 14:35:08 UTC 2021

Modified Files:
        pkgsrc/math/cgal: Makefile

Log Message:
cgal: remove WRKDIR references from installed files

>From Paul Ripke in PR 56362.

Bump PKGREVISION.


To generate a diff of this commit:
cvs rdiff -u -r1.64 -r1.65 pkgsrc/math/cgal/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/math/cgal/Makefile
diff -u pkgsrc/math/cgal/Makefile:1.64 pkgsrc/math/cgal/Makefile:1.65
--- pkgsrc/math/cgal/Makefile:1.64      Fri Jul 30 12:26:58 2021
+++ pkgsrc/math/cgal/Makefile   Sun Aug 15 14:35:08 2021
@@ -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 @@ CMAKE_ARGS+= -DCGAL_INSTALL_MAN_DIR=${PR
 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