diff options
author | edwin <edwin@FreeBSD.org> | 2002-11-24 11:01:08 +0000 |
---|---|---|
committer | edwin <edwin@FreeBSD.org> | 2002-11-24 11:01:08 +0000 |
commit | a795cfbd3cf6798e4bccc0ec8fa15503562dce39 (patch) | |
tree | 9e6e295325c8c6e728fef858ce65ad8b367e2895 /misc/sword | |
parent | 778a23c4a61ecc1ede164e73395458889119c2c1 (diff) | |
download | FreeBSD-ports-a795cfbd3cf6798e4bccc0ec8fa15503562dce39.zip FreeBSD-ports-a795cfbd3cf6798e4bccc0ec8fa15503562dce39.tar.gz |
maintainer update for misc/sword to version 1.5.5
PR: ports/45406
Submitted by: Willem van Engen <wvengen@stack.nl>
Diffstat (limited to 'misc/sword')
-rw-r--r-- | misc/sword/Makefile | 25 | ||||
-rw-r--r-- | misc/sword/distinfo | 2 | ||||
-rw-r--r-- | misc/sword/files/patch-examples::cmdline::search.cpp | 8 | ||||
-rw-r--r-- | misc/sword/files/patch-examples::cmdline::threaded_search.cpp | 8 | ||||
-rw-r--r-- | misc/sword/files/patch-tests::treeidxtest.cpp | 12 | ||||
-rw-r--r-- | misc/sword/pkg-plist | 21 |
6 files changed, 39 insertions, 37 deletions
diff --git a/misc/sword/Makefile b/misc/sword/Makefile index 4003bc6..bb1a4d7 100644 --- a/misc/sword/Makefile +++ b/misc/sword/Makefile @@ -6,7 +6,7 @@ # PORTNAME= sword -PORTVERSION= 1.5.3 +PORTVERSION= 1.5.5 CATEGORIES= misc MASTER_SITES= ftp://ftp.crosswire.org/pub/sword/source/v1.5/ \ http://www.crosswire.org/sword/download/ftpmirror/pub/sword/source/v1.5/ \ @@ -18,17 +18,36 @@ MAINTAINER= wvengen@stack.nl USE_GMAKE= yes GNU_CONFIGURE= yes INSTALLS_SHLIB= yes -CONFIGURE_ARGS= --program-transform-name="" +CONFIGURE_ARGS+= --program-transform-name="" --without-conf + +.if defined(WITH_INSTALLMGR) +LIB_DEPENDS= curl:${PORTSDIR}/ftp/curl +CONFIGURE_ARGS+= --enable-installmgr +PLIST_SUB+= INSTALLMGR="" +.else +CONFIGURE_ARGS+= --disable-installmgr +PLIST_SUB+= INSTALLMGR="@comment " + +pre-everything: + @${ECHO_CMD} "Define WITH_INSTALLMGR to include the installmanager (curl)" +.endif post-install: register .if !exists(${PREFIX}/etc/sword.conf) @${ECHO_CMD} "[Install]" >${PREFIX}/etc/sword.conf - @${ECHO_CMD} "DataPath=${DATADIR}" >>${PREFIX}/etc/sword.conf + @${ECHO_CMD} "DataPath=${DATADIR}/" >>${PREFIX}/etc/sword.conf @${ECHO_CMD} "Config file installed in ${PREFIX}/etc/sword.conf" .else @${ECHO_CMD} "Config file not installed since ${PREFIX}/etc/sword.conf already exists." @${ECHO_CMD} "Please check that DataPath points to your modules (default ${DATADIR})."; .endif +.if !exists(${PREFIX}/share/sword/mods.d/globals.conf) + @${MKDIR} ${PREFIX}/share/sword/mods.d + @${ECHO_CMD} "[Globals]" >${PREFIX}/share/sword/mods.d/globals.conf + @${ECHO_CMD} "" >>${PREFIX}/share/sword/mods.d/globals.conf + @${ECHO_CMD} "Global sword runtime settings installed in" + @${ECHO_CMD} " ${PREFIX}/share/sword/mods.d/globals.conf +.endif @${ECHO_CMD} "" @${CAT} ${PKGMESSAGE} diff --git a/misc/sword/distinfo b/misc/sword/distinfo index 3011a9a..8e7d59a 100644 --- a/misc/sword/distinfo +++ b/misc/sword/distinfo @@ -1 +1 @@ -MD5 (sword-1.5.3.tar.gz) = f3dfedb3c58561bb9b07a616c8e08381 +MD5 (sword-1.5.5.tar.gz) = d5889fa47ed52c83cfd6466fabc0241b diff --git a/misc/sword/files/patch-examples::cmdline::search.cpp b/misc/sword/files/patch-examples::cmdline::search.cpp deleted file mode 100644 index 729eee0..0000000 --- a/misc/sword/files/patch-examples::cmdline::search.cpp +++ /dev/null @@ -1,8 +0,0 @@ -diff -ruN sword-1.5.3.orig/examples/cmdline/search.cpp sword-1.5.3/examples/cmdline/search.cpp ---- examples/cmdline/search.cpp Mon Nov 6 13:18:43 2000 -+++ examples/cmdline/search.cpp Wed Jun 19 14:11:08 2002 -@@ -1,3 +1,4 @@ -+#include <iostream.h> - #include <stdio.h> - #include <rawtext.h> - #include <swmgr.h> diff --git a/misc/sword/files/patch-examples::cmdline::threaded_search.cpp b/misc/sword/files/patch-examples::cmdline::threaded_search.cpp deleted file mode 100644 index 753076a..0000000 --- a/misc/sword/files/patch-examples::cmdline::threaded_search.cpp +++ /dev/null @@ -1,8 +0,0 @@ -diff -ruN sword-1.5.3.orig/examples/cmdline/threaded_search.cpp sword-1.5.3/examples/cmdline/threaded_search.cpp ---- examples/cmdline/threaded_search.cpp Thu Mar 15 19:24:39 2001 -+++ examples/cmdline/threaded_search.cpp Wed Jun 19 14:12:14 2002 -@@ -1,3 +1,4 @@ -+#include <iostream.h> - #include <stdio.h> - #include <rawtext.h> - #include <swmgr.h> diff --git a/misc/sword/files/patch-tests::treeidxtest.cpp b/misc/sword/files/patch-tests::treeidxtest.cpp deleted file mode 100644 index 59f038b..0000000 --- a/misc/sword/files/patch-tests::treeidxtest.cpp +++ /dev/null @@ -1,12 +0,0 @@ -diff -ruN sword-1.5.3.orig/tests/treeidxtest.cpp sword-1.5.3/tests/treeidxtest.cpp ---- tests/treeidxtest.cpp Thu Jan 24 09:55:27 2002 -+++ tests/treeidxtest.cpp Wed Jun 19 14:03:37 2002 -@@ -85,7 +85,7 @@ - } - TreeKeyIdx root = *treeKey; - -- string input; -+ std::string input; - char line[1024]; - - do { diff --git a/misc/sword/pkg-plist b/misc/sword/pkg-plist index a15daf3..55271d1 100644 --- a/misc/sword/pkg-plist +++ b/misc/sword/pkg-plist @@ -97,16 +97,11 @@ include/sword/treekeyidx.h include/sword/unicodertf.h include/sword/unixstr.h include/sword/utf16utf8.h -include/sword/utf8arshaping.h -include/sword/utf8bidireorder.h include/sword/utf8cantillation.h include/sword/utf8greekaccents.h include/sword/utf8hebrewpoints.h include/sword/utf8html.h include/sword/utf8latin1.h -include/sword/utf8nfc.h -include/sword/utf8nfkd.h -include/sword/utf8transliterator.h include/sword/utf8utf16.h include/sword/utilconf.h include/sword/utilfuns.h @@ -117,21 +112,37 @@ include/sword/zconf.h include/sword/zipcomprs.h include/sword/zld.h include/sword/zlib.h +include/sword/zstr.h include/sword/ztext.h include/sword/zverse.h +%%INSTALLMGR%%include/sword/swremotemgr.h +%%INSTALLMGR%%include/sword/swinstallmgr.h @dirrm include/sword lib/libsword.so.1 lib/libsword.so lib/libsword.la lib/libsword.a +@dirrm lib/sword share/sword/locales.d/abbr.conf +share/sword/locales.d/cs.conf share/sword/locales.d/da.conf share/sword/locales.d/de.conf +share/sword/locales.d/de_abbrev.conf share/sword/locales.d/es.conf share/sword/locales.d/fr.conf +share/sword/locales.d/fr_FR.ISO-8859-1.conf share/sword/locales.d/it.conf +share/sword/locales.d/la.conf +share/sword/locales.d/nl.conf share/sword/locales.d/no.conf +share/sword/locales.d/pl.conf share/sword/locales.d/pt.conf +share/sword/locales.d/id.conf +share/sword/locales.d/pt_BR.conf +share/sword/locales.d/sk.conf +share/sword/locales.d/ru.conf +share/sword/locales.d/et.conf +share/sword/locales.d/et_abbr.conf @dirrm share/sword/locales.d share/sword/mods.d/globals.conf @dirrm share/sword/mods.d |