Skip to content

Commit

Permalink
misc/bible-kjv: update to 4.38
Browse files Browse the repository at this point in the history
Changes:

  * Incorporate some small bug fixes from upstream.
  * Clean up makefile a bit.

PR:		272805
  • Loading branch information
RhodiumToad authored and clausecker committed Jul 30, 2023
1 parent 7edcfae commit 1ebcc66
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 11 deletions.
16 changes: 8 additions & 8 deletions misc/bible-kjv/Makefile
@@ -1,5 +1,5 @@
PORTNAME= bible-kjv
PORTVERSION= 4.30
PORTVERSION= 4.38
CATEGORIES= misc
MASTER_SITES= DEBIAN
DISTNAME= bible-kjv_${DISTVERSION}
Expand All @@ -12,17 +12,11 @@ LICENSE= GPLv2+
USES= readline shebangfix perl5
USE_PERL5= build

# Upstream makefile does unsafe things with recursive sub-makes for
# building its build tools. Parallel build randomly fails.
MAKE_JOBS_UNSAFE=yes

WRKSRC= ${WRKDIR}/${PORTNAME}

# makeindex2 asks for bash, but contains no shell construct more
# complex than an if...then, so use sh instead.

bash_CMD= /bin/sh
SHEBANG_FILES= makeindex2 makeconc.pl
bash_CMD= /bin/sh

# We don't really need all the warning options that the port uses.
PORT_CFLAGS= -DDESTLIB=\\\"${DATADIR}\\\"
Expand All @@ -31,6 +25,12 @@ MAKE_ARGS= DEST="${PREFIX}" \
CFLAGS="${CPPFLAGS} ${CFLAGS} ${PORT_CFLAGS}" \
LDFLAGS="${LDFLAGS}"

# Upstream makefile does unsafe things with recursive sub-makes for
# building its build tools. Parallel build randomly fails.
MAKE_JOBS_UNSAFE=yes

WRKSRC= ${WRKDIR}/work

post-build:
${REINPLACE_CMD} 's=/usr/=${PREFIX}/=g' ${WRKSRC}/bible.1
cd ${WRKSRC} && \
Expand Down
6 changes: 3 additions & 3 deletions misc/bible-kjv/distinfo
@@ -1,3 +1,3 @@
TIMESTAMP = 1580855102
SHA256 (bible-kjv_4.30.tar.gz) = 138ca15baedcfaccc99da3663a6bcfdc493fabf4aa90554e056a2a829778f4a0
SIZE (bible-kjv_4.30.tar.gz) = 1412282
TIMESTAMP = 1690682208
SHA256 (bible-kjv_4.38.tar.gz) = 890b4d16fa2c0a9930fd4e6df22c6182b696ac0c1c47d12dc513227c62d8f249
SIZE (bible-kjv_4.38.tar.gz) = 1413504

0 comments on commit 1ebcc66

Please sign in to comment.