Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/archivers/star archivers/star: Workaround for man page...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/1392c063f081
branches:  trunk
changeset: 431506:1392c063f081
user:      micha <micha%pkgsrc.org@localhost>
date:      Thu May 14 08:47:12 2020 +0000

description:
archivers/star: Workaround for man page handling

tbl of NetBSD 9 does not work.
Install man pages with unprocessed tables as workaround.

diffstat:

 archivers/star/Makefile |  26 ++++++++++++++------------
 1 files changed, 14 insertions(+), 12 deletions(-)

diffs (50 lines):

diff -r 148643e6183a -r 1392c063f081 archivers/star/Makefile
--- a/archivers/star/Makefile   Thu May 14 08:46:20 2020 +0000
+++ b/archivers/star/Makefile   Thu May 14 08:47:12 2020 +0000
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.47 2020/05/12 09:41:40 micha Exp $
+# $NetBSD: Makefile,v 1.48 2020/05/14 08:47:12 micha Exp $
 
 DISTNAME=      schily-2020-05-11
 PKGNAME=       star-1.6.1
-PKGREVISION=   6
+PKGREVISION=   7
 CATEGORIES=    archivers
 MASTER_SITES=  ${MASTER_SITE_SOURCEFORGE:=schilytools/}
 EXTRACT_SUFX=  .tar.bz2
@@ -14,7 +14,9 @@
 
 MAKE_JOBS_SAFE=        no
 
-USE_TOOLS+=    tbl
+# tbl(1) of NetBSD 9 can't process the man page, but man(1) can.
+# Install man page with unprocessed tables as workaround (may break other OS)
+#USE_TOOLS+=   tbl
 TOOL_DEPENDS+= smake-[0-9]*:../../devel/smake
 SMAKE=         MAKEFLAGS= smake
 MAKE_FLAGS+=   DESTDIR=${DESTDIR} INS_BASE=${PREFIX} DEFMANBASE=. MANDIR=${PKGMANDIR}
@@ -65,15 +67,15 @@
        cd ${WRKSRC}/star && ${SMAKE} ${MAKE_FLAGS}
 
 # Process tables in manpage
-post-build:
-       cd ${WRKSRC} && if ${TEST} -f star/pkgsrc_tbl.done; then :;     \
-       else                                                            \
-               ${TBL} star/spax.1 >star/spax.1.tmp &&                  \
-               ${MV} -f star/spax.1.tmp star/spax.1 &&                 \
-               ${TBL} star/star.4 >star/star.4.tmp &&                  \
-               ${MV} -f star/star.4.tmp star/star.4 &&                 \
-               ${TOUCH} star/pkgsrc_tbl.done;                          \
-       fi
+#post-build:
+#      cd ${WRKSRC} && if ${TEST} -f star/pkgsrc_tbl.done; then :;     \
+#      else                                                            \
+#              ${TBL} star/spax.1 >star/spax.1.tmp &&                  \
+#              ${MV} -f star/spax.1.tmp star/spax.1 &&                 \
+#              ${TBL} star/star.4 >star/star.4.tmp &&                  \
+#              ${MV} -f star/star.4.tmp star/star.4 &&                 \
+#              ${TOUCH} star/pkgsrc_tbl.done;                          \
+#      fi
 
 do-test:
        cd ${WRKSRC}/star && cd tests ; ${SMAKE} ${MAKE_FLAGS} tests



Home | Main Index | Thread Index | Old Index