Use PKGMANDIR

This commit is contained in:
sbd 2013-04-01 08:39:13 +00:00
parent 542ec84d04
commit 93ef8f1ac8
3 changed files with 6 additions and 5 deletions

View file

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.13 2013/02/16 11:20:26 wiz Exp $
# $NetBSD: Makefile,v 1.14 2013/04/01 08:39:13 sbd Exp $
#
DISTNAME= openbabel-2.3.0
@ -14,6 +14,7 @@ LICENSE= gnu-gpl-v2
USE_LANGUAGES= c c++
USE_CMAKE= yes
CMAKE_ARGS+= -DPKGMANDIR=${PKGMANDIR:Q}
.include "options.mk"

View file

@ -1,6 +1,6 @@
$NetBSD: distinfo,v 1.1.1.1 2011/10/05 22:15:48 ryoon Exp $
$NetBSD: distinfo,v 1.2 2013/04/01 08:39:13 sbd Exp $
SHA1 (openbabel-2.3.0.tar.gz) = 408a4bddb7f052fd89c57ea51b4204b721856b16
RMD160 (openbabel-2.3.0.tar.gz) = 96dafa3c2aca544f79e08b5617ab0da845c28a16
Size (openbabel-2.3.0.tar.gz) = 14321281 bytes
SHA1 (patch-doc_CMakeLists.txt) = aad6a7c17783949667d43cf41bfdf268166f1208
SHA1 (patch-doc_CMakeLists.txt) = c17443388bc482c9b523323ff925c326c87f4816

View file

@ -1,4 +1,4 @@
$NetBSD: patch-doc_CMakeLists.txt,v 1.1.1.1 2011/10/05 22:15:49 ryoon Exp $
$NetBSD: patch-doc_CMakeLists.txt,v 1.2 2013/04/01 08:39:13 sbd Exp $
Fix man path.
@ -7,7 +7,7 @@ Fix man path.
@@ -1,5 +1,5 @@
file(GLOB man_1 *.1)
-install(FILES ${man_1} DESTINATION share/man/man1)
+install(FILES ${man_1} DESTINATION man/man1)
+install(FILES ${man_1} DESTINATION ${PKGMANDIR}/man1)
OPTION(BUILD_DOCS "Build Open Babel documentation" OFF)
IF(BUILD_DOCS)