summaryrefslogtreecommitdiff
path: root/archivers
diff options
context:
space:
mode:
authormicha <micha@pkgsrc.org>2020-05-14 08:47:12 +0000
committermicha <micha@pkgsrc.org>2020-05-14 08:47:12 +0000
commitb3f341c60e246a50a2e289bc0d50a5170f264301 (patch)
treee1c99f0a904f8eb92fd3dca28430288b6f816b2f /archivers
parent9cdf64991048f0f7aca13d28e3c2e1eeb30be01e (diff)
downloadpkgsrc-b3f341c60e246a50a2e289bc0d50a5170f264301.tar.gz
archivers/star: Workaround for man page handling
tbl of NetBSD 9 does not work. Install man pages with unprocessed tables as workaround.
Diffstat (limited to 'archivers')
-rw-r--r--archivers/star/Makefile26
1 files changed, 14 insertions, 12 deletions
diff --git a/archivers/star/Makefile b/archivers/star/Makefile
index 93b17d47efa..3ab7c74831d 100644
--- a/archivers/star/Makefile
+++ b/archivers/star/Makefile
@@ -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 @@ LICENSE= cddl-1.0
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 @@ do-build:
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