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:   mef
Date:           Sat Jun 22 23:43:04 UTC 2019

Modified Files:
        pkgsrc/math/cgal: Makefile PLIST

Log Message:
(math/cgal) man path relocated to standard location. Don't use ${VERSION} var.

and as well, don't use bash, and PKGREVISION++ (PLIST change).
All suggested by leot@, thanks


To generate a diff of this commit:
cvs rdiff -u -r1.42 -r1.43 pkgsrc/math/cgal/Makefile
cvs rdiff -u -r1.2 -r1.3 pkgsrc/math/cgal/PLIST

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.42 pkgsrc/math/cgal/Makefile:1.43
--- pkgsrc/math/cgal/Makefile:1.42      Sat Jun 22 05:54:27 2019
+++ pkgsrc/math/cgal/Makefile   Sat Jun 22 23:43:04 2019
@@ -1,11 +1,11 @@
-# $NetBSD: Makefile,v 1.42 2019/06/22 05:54:27 mef Exp $
+# $NetBSD: Makefile,v 1.43 2019/06/22 23:43:04 mef Exp $
 
-VERSION=       4.14
-DISTNAME=      CGAL-${VERSION}
+DISTNAME=      CGAL-4.14
 PKGNAME=       ${DISTNAME:tl}
+PKGREVISION=   1
 CATEGORIES=    math
 MASTER_SITES=  ${MASTER_SITE_GITHUB:=CGAL/}
-GITHUB_RELEASE=        releases/CGAL-${VERSION}
+GITHUB_RELEASE=        releases/${DISTNAME}
 
 EXTRACT_SUFX=  .tar.xz
 
@@ -16,12 +16,10 @@ LICENSE=    gnu-lgpl-v3
 
 USE_CMAKE=     yes
 USE_LANGUAGES= c c++03
-# CMAKE_ARGS+= -DCMAKE_INSTALL_MANDIR:PATH=${PKGMANDIR}  # default, but not effective now
-# CMAKE_ARGS+= -DCMAKE_INSTALL_MANDIR:STRING=${PKGMANDIR}
-# CMAKE_ARGS+= -DCMAKE_INSTALL_MANDIR=${PKGMANDIR}             # neither one work
+CMAKE_ARGS+=   -DCGAL_INSTALL_MAN_DIR=${PREFIX}/${PKGMANDIR}/man1
 
-REPLACE_BASH+= scripts/cgal_create_CMakeLists
-REPLACE_BASH+= scripts/cgal_create_cmake_script
+REPLACE_SH+=   scripts/cgal_create_CMakeLists
+REPLACE_SH+=   scripts/cgal_create_cmake_script
 
 pre-install:
        find ${WRKSRC} -name \*.orig -exec rm {} \;

Index: pkgsrc/math/cgal/PLIST
diff -u pkgsrc/math/cgal/PLIST:1.2 pkgsrc/math/cgal/PLIST:1.3
--- pkgsrc/math/cgal/PLIST:1.2  Sat Jun 22 05:54:27 2019
+++ pkgsrc/math/cgal/PLIST      Sat Jun 22 23:43:04 2019
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.2 2019/06/22 05:54:27 mef Exp $
+@comment $NetBSD: PLIST,v 1.3 2019/06/22 23:43:04 mef Exp $
 bin/cgal_create_CMakeLists
 bin/cgal_create_cmake_script
 bin/cgal_make_macosx_app
@@ -3290,10 +3290,10 @@ lib/libCGAL_ImageIO.so.14.0.0
 lib/libCGAL_Qt5.so
 lib/libCGAL_Qt5.so.14
 lib/libCGAL_Qt5.so.14.0.0
+man/man1/cgal_create_cmake_script.1
 share/doc/CGAL-${PKGVERSION}/AUTHORS
 share/doc/CGAL-${PKGVERSION}/CHANGES.md
 share/doc/CGAL-${PKGVERSION}/LICENSE
 share/doc/CGAL-${PKGVERSION}/LICENSE.FREE_USE
 share/doc/CGAL-${PKGVERSION}/LICENSE.GPL
 share/doc/CGAL-${PKGVERSION}/LICENSE.LGPL
-share/man/man1/cgal_create_cmake_script.1



Home | Main Index | Thread Index | Old Index