From b63fc581d7c20edd262a9ab7815b6a654bc7939e Mon Sep 17 00:00:00 2001 From: obache Date: Wed, 9 Oct 2013 12:07:20 +0000 Subject: Use CMake builtin CMAKE_INSTALL_MANDIR for mandir. --- math/teapot/Makefile | 3 +-- math/teapot/distinfo | 4 ++-- math/teapot/patches/patch-CMakeLists.txt | 4 ++-- 3 files changed, 5 insertions(+), 6 deletions(-) (limited to 'math/teapot') 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} -- cgit v1.2.3