summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2017-08-19 00:27:44 +0000
committerjlam <jlam@pkgsrc.org>2017-08-19 00:27:44 +0000
commitb860f822bfd7898aa9e213f097c47b53d09f2fe9 (patch)
treed2f5eaacea068f6266c14419eb5ccee8c8907adf
parent1c458df540e82b7e8557a1d631ff7eecb564e93c (diff)
downloadpkgsrc-b860f822bfd7898aa9e213f097c47b53d09f2fe9.tar.gz
net/ccrtp: Install GNU info files into ${PKGINFODIR}.
This project uses CMake to configure the software. Force the GNU info files to be installed into ${CMAKE_INSTALL_INFODIR}, which is defined by the GNUInstallDirs CMake module included by the top-level CMakeLists.txt file. The corrct environment variables are passed so that ${CMAKE_INSTALL_INFODIR} points into ${PKGINFODIR}. Remove the subst.mk section that tried to force GNU info files to be always installed under "info".
-rw-r--r--net/ccrtp/Makefile8
-rw-r--r--net/ccrtp/distinfo3
-rw-r--r--net/ccrtp/patches/patch-doc_CMakeLists.txt10
3 files changed, 13 insertions, 8 deletions
diff --git a/net/ccrtp/Makefile b/net/ccrtp/Makefile
index 2f65ac877ec..e9373c53366 100644
--- a/net/ccrtp/Makefile
+++ b/net/ccrtp/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.10 2016/09/19 13:04:18 wiz Exp $
+# $NetBSD: Makefile,v 1.11 2017/08/19 00:27:44 jlam Exp $
#
DISTNAME= ccrtp-2.1.2
@@ -19,12 +19,6 @@ USE_CMAKE= yes
PKGCONFIG_OVERRIDE+= libccrtp.pc.in
INFO_FILES= yes
-SUBST_CLASSES+= info
-SUBST_FILES.info= doc/cmake_install.cmake
-SUBST_MESSAGE.info= Fixing infodir path.
-SUBST_SED.info= -e 's|share/info|info|1'
-SUBST_STAGE.info= post-configure
-
.include "options.mk"
BUILDLINK_API_DEPENDS.ucommon+= ucommon>=6.3.1
diff --git a/net/ccrtp/distinfo b/net/ccrtp/distinfo
index 7036f1d1667..0cf3d99622e 100644
--- a/net/ccrtp/distinfo
+++ b/net/ccrtp/distinfo
@@ -1,7 +1,8 @@
-$NetBSD: distinfo,v 1.6 2015/11/04 00:34:54 agc Exp $
+$NetBSD: distinfo,v 1.7 2017/08/19 00:27:44 jlam Exp $
SHA1 (ccrtp-2.1.2.tar.gz) = ecad8c17c5ed61e1c9fb1b785592958c678b7c4b
RMD160 (ccrtp-2.1.2.tar.gz) = b3b2cb2f6822e08422b19fcd1528f976ca10ad66
SHA512 (ccrtp-2.1.2.tar.gz) = a835f57a0eef7cba11c55c93ce2f11ebd8ab4099e7c723043c51e4872f3da87af946fc50fac18b47ea5d72b2a1227b377810e9134c1f3a8982d4ce5944d043e9
Size (ccrtp-2.1.2.tar.gz) = 764869 bytes
+SHA1 (patch-doc_CMakeLists.txt) = e9cfcfc618dc6bc16da5d3bff61774c57febaff6
SHA1 (patch-src_ccrtp_crypto_gcrypt_InitializeGcrypt.cpp) = 407f3a7f6536028a1b727a826183133dfe3ce4d6
diff --git a/net/ccrtp/patches/patch-doc_CMakeLists.txt b/net/ccrtp/patches/patch-doc_CMakeLists.txt
new file mode 100644
index 00000000000..c4942f7f130
--- /dev/null
+++ b/net/ccrtp/patches/patch-doc_CMakeLists.txt
@@ -0,0 +1,10 @@
+$NetBSD: patch-doc_CMakeLists.txt,v 1.1 2017/08/19 00:27:44 jlam Exp $
+
+--- doc/CMakeLists.txt.orig 2015-01-11 14:43:52.000000000 +0000
++++ doc/CMakeLists.txt
+@@ -1,4 +1,4 @@
+
+ ########### install files ###############
+
+-install(FILES ccrtp.info DESTINATION ${CMAKE_INSTALL_DATADIR}/info)
++install(FILES ccrtp.info DESTINATION ${CMAKE_INSTALL_INFODIR})