pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/math/cgal (math/cgal) man path relocated to standard l...
details: https://anonhg.NetBSD.org/pkgsrc/rev/d09ca39610b8
branches: trunk
changeset: 397431:d09ca39610b8
user: mef <mef%pkgsrc.org@localhost>
date: Sat Jun 22 23:43:04 2019 +0000
description:
(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
diffstat:
math/cgal/Makefile | 16 +++++++---------
math/cgal/PLIST | 4 ++--
2 files changed, 9 insertions(+), 11 deletions(-)
diffs (56 lines):
diff -r 22b71f79c989 -r d09ca39610b8 math/cgal/Makefile
--- a/math/cgal/Makefile Sat Jun 22 22:46:45 2019 +0000
+++ b/math/cgal/Makefile Sat Jun 22 23:43:04 2019 +0000
@@ -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 @@
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 {} \;
diff -r 22b71f79c989 -r d09ca39610b8 math/cgal/PLIST
--- a/math/cgal/PLIST Sat Jun 22 22:46:45 2019 +0000
+++ b/math/cgal/PLIST Sat Jun 22 23:43:04 2019 +0000
@@ -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_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