On 2023/04/23 07:33:50 +0100, Stuart Henderson <s...@spacehopper.org> wrote:
> On 2023/04/23 02:36, Stephan, Corey J wrote:
> > Find textproc/sword attached.
> 
> here are some fixes on top. new tgz attached,
> 
> [...]

few more things on top:

 - delete trailing whitespaces
 - fix MASTER_SITES

        $ make show=V:H
        .
        $ make show=V:R
        1.9

 - translate and move the comment about KJV
 - use upstream' version number for KJV, should the hash change it'd
   be easier to fix the port.

(diff for these attached)

It looks for devel/cppunit at configure time, but those tests are not
compiled (even though make says it entered the dir).  I haven't looked
deeply into it, but don't know if you prefer to add it as BDEP.

Otherwise, looks fine to me but admittedly only build-tested.  ok to
import.

--- Makefile.orig       Mon Apr 24 09:58:30 2023
+++ Makefile    Mon Apr 24 10:31:06 2023
@@ -2,16 +2,18 @@
 
 V=             1.9.0
 DISTNAME=      sword-${V}
-# KJV cambia continuamente
 CATEGORIES=            textproc books
 
-MASTER_SITES=  https://crosswire.org/ftpmirror/pub/sword/source/v${V:H}/
+MASTER_SITES=  https://crosswire.org/ftpmirror/pub/sword/source/v${V:R}/
 MASTER_SITES0= https://crosswire.org/ftpmirror/pub/sword/packages/rawzip/
-DISTFILES=     ${DISTNAME}${EXTRACT_SUFX} 
-DISTFILES+=    KJV.zip:0
 
-SHARED_LIBS=   sword 0.0 
+DISTFILES=     ${DISTNAME}${EXTRACT_SUFX}
 
+# keeps changing
+DISTFILES+=    KJV-2.10.2{KJV}.zip:0
+
+SHARED_LIBS=   sword 0.0
+
 HOMEPAGE=      https://crosswire.org/sword/software/
 MAINTAINER=    Corey Stephan <corey.step...@stthom.edu>
 
@@ -32,7 +34,7 @@
                textproc/clucene \
                textproc/icu4c
 
-CONFIGURE_STYLE=gnu 
+CONFIGURE_STYLE=gnu
 USE_GMAKE=     yes
 SHARE_DIR=     ${PREFIX}/share/sword
 

Reply via email to