summaryrefslogtreecommitdiff
path: root/math
diff options
context:
space:
mode:
authorobache <obache>2013-10-09 12:07:20 +0000
committerobache <obache>2013-10-09 12:07:20 +0000
commit8f1c43eea2e1420983a8dfc96e355a29c7f82f13 (patch)
tree6ed73bc2ca11eb4bdc806ab561f96e245545f593 /math
parentecd58646d278f0aa6bf530e4994728d9c0e5b430 (diff)
downloadpkgsrc-8f1c43eea2e1420983a8dfc96e355a29c7f82f13.tar.gz
Use CMake builtin CMAKE_INSTALL_MANDIR for mandir.
Diffstat (limited to 'math')
-rw-r--r--math/teapot/Makefile3
-rw-r--r--math/teapot/distinfo4
-rw-r--r--math/teapot/patches/patch-CMakeLists.txt4
3 files changed, 5 insertions, 6 deletions
diff --git a/math/teapot/Makefile b/math/teapot/Makefile
index 0a0db8f9200..0f23b174f0b 100644
--- a/math/teapot/Makefile
+++ b/math/teapot/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.3 2012/09/13 22:29:09 asau Exp $
+# $NetBSD: Makefile,v 1.4 2013/10/09 12:07:20 obache Exp $
DISTNAME= teapot-2.3.0
CATEGORIES= math
@@ -12,7 +12,6 @@ LICENSE= gnu-gpl-v3
USE_LANGUAGES= c c++
USE_CMAKE= yes
CMAKE_ARGS+= -DENABLE_HELP=NO
-CMAKE_ARGS+= -DPKGMANDIR=${PKGMANDIR}
.include "../../mk/curses.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/math/teapot/distinfo b/math/teapot/distinfo
index 5bbf45cb9ea..9397ad26832 100644
--- a/math/teapot/distinfo
+++ b/math/teapot/distinfo
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.2 2012/09/13 22:29:10 asau Exp $
+$NetBSD: distinfo,v 1.3 2013/10/09 12:07:20 obache Exp $
SHA1 (teapot-2.3.0.tar.gz) = cac70c7967ba72166cdbd1806b674cd8299399e7
RMD160 (teapot-2.3.0.tar.gz) = 5848a39bfcd4ebc942ed3f5f354ecb367b068dab
Size (teapot-2.3.0.tar.gz) = 113647 bytes
-SHA1 (patch-CMakeLists.txt) = ac06834092bfc397f7c1c323c7a6990d0d03f9a4
+SHA1 (patch-CMakeLists.txt) = 627f694196d153d4093fdd2c8c92a738c0e73e0d
diff --git a/math/teapot/patches/patch-CMakeLists.txt b/math/teapot/patches/patch-CMakeLists.txt
index 8a839b60d8d..418bf19ccb9 100644
--- a/math/teapot/patches/patch-CMakeLists.txt
+++ b/math/teapot/patches/patch-CMakeLists.txt
@@ -1,4 +1,4 @@
-$NetBSD: patch-CMakeLists.txt,v 1.1 2012/09/13 22:29:11 asau Exp $
+$NetBSD: patch-CMakeLists.txt,v 1.2 2013/10/09 12:07:20 obache Exp $
--- CMakeLists.txt.orig 2012-02-06 11:30:53.000000000 +0000
+++ CMakeLists.txt
@@ -7,7 +7,7 @@ $NetBSD: patch-CMakeLists.txt,v 1.1 2012/09/13 22:29:11 asau Exp $
install(FILES COPYING README DESTINATION share/doc/teapot)
-install(FILES teapot.1 DESTINATION share/man/man1)
-+install(FILES teapot.1 DESTINATION ${PKGMANDIR}/man1)
++install(FILES teapot.1 DESTINATION ${CMAKE_INSTALL_MANDIR}/man1)
add_custom_target(dist
COMMAND ${CMAKE_COMMAND} -E remove_directory teapot-${Teapot_VERSION_MAJOR}.${Teapot_VERSION_MINOR}.${Teapot_VERSION_PATCH}