pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
nuspell: build manpages and shared library.
Module Name: pkgsrc-wip
Committed By: Benny Siegert <bsiegert%gmail.com@localhost>
Pushed By: bsiegert
Date: Mon Feb 3 11:09:52 2020 +0000
Changeset: 9e002d73ec74e82886de91c7601792fdf24650d5
Modified Files:
nuspell/Makefile
nuspell/PLIST
Log Message:
nuspell: build manpages and shared library.
Following recommendations in https://github.com/nuspell/nuspell/pull/43,
this sets more CMake arguments and depends on ronn for the manpage.
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=9e002d73ec74e82886de91c7601792fdf24650d5
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
nuspell/Makefile | 6 ++++++
nuspell/PLIST | 7 +++++--
2 files changed, 11 insertions(+), 2 deletions(-)
diffs:
diff --git a/nuspell/Makefile b/nuspell/Makefile
index 25d8dea949..c8e2bfd5de 100644
--- a/nuspell/Makefile
+++ b/nuspell/Makefile
@@ -14,8 +14,14 @@ USE_CMAKE= yes
USE_TOOLS+= pkg-config
USE_LANGUAGES= c c++17
+CMAKE_ARGS+= -DBUILD_SHARED_LIBS=1 -DCMAKE_BUILD_TYPE=Release
+CMAKE_ARGS+= -DRONN_EXECUTABLE=${PREFIX}/bin/ronn${RUBY_VER}
+
PKGCONFIG_OVERRIDE+= nuspell.pc.in
+BUILD_DEPENDS+= ${RUBY_PKGPREFIX}-ronn-[0-9]*:../../devel/ruby-ronn
+
+.include "../../lang/ruby/rubyversion.mk"
.include "../../devel/boost-libs/buildlink3.mk"
.include "../../textproc/icu/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/nuspell/PLIST b/nuspell/PLIST
index b4f2a49d20..1a7c376930 100644
--- a/nuspell/PLIST
+++ b/nuspell/PLIST
@@ -7,8 +7,11 @@ include/nuspell/structures.hxx
include/nuspell/utils.hxx
lib/cmake/nuspell/NuspellConfig.cmake
lib/cmake/nuspell/NuspellConfigVersion.cmake
-lib/cmake/nuspell/NuspellTargets-noconfig.cmake
+lib/cmake/nuspell/NuspellTargets-release.cmake
lib/cmake/nuspell/NuspellTargets.cmake
-lib/libnuspell.a
+lib/libnuspell.${RUBY_DLEXT}
+lib/libnuspell.so.3
+lib/libnuspell.so.${PKGVERSION}
lib/pkgconfig/nuspell.pc
+man/man1/nuspell.1
share/doc/nuspell/README.md
Home |
Main Index |
Thread Index |
Old Index