From 3ea07dd2a5c14b1074caadf03424c9f0d6b1756e Mon Sep 17 00:00:00 2001 From: =?utf8?q?Mat=C3=ADas=20Fonzo?= Date: Fri, 25 Oct 2019 20:19:50 -0300 Subject: [PATCH] recipes: docbook/opensp: add symlinks for manpages --- recipes/docbook/opensp/recipe | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/recipes/docbook/opensp/recipe b/recipes/docbook/opensp/recipe index af5a16e6..3c7d4b13 100644 --- a/recipes/docbook/opensp/recipe +++ b/recipes/docbook/opensp/recipe @@ -35,11 +35,11 @@ SGML and XML documents. " homepage=http://openjade.sourceforge.net -license=BSD +license=MIT # Source documentation docs="AUTHORS BUGS COPYING ChangeLog NEWS README" -docsdir="${docdir}/${program}-${version}" +docsdir="${docdir}/${pkgname}-${version}" build() { @@ -93,6 +93,13 @@ build() ln -sf osx "${destdir}"/usr/bin/sx ln -sf osx "${destdir}"/usr/bin/sgml2xml + # Make symlinks for manpages + for file in nsgmls sgmlnorm spam spcat spent sx sgml2xml + do + ln -sf o${file}.1 "${destdir}/${mandir}/man1/${file}.1" + done + unset file + # Compress and link man pages (if needed) if test -d "${destdir}/$mandir" then -- 2.11.4.GIT