PortSystem		1.0

name			sword-bible-darby
version			1.1
categories		textproc
license			public-domain
platforms		any
supported_archs	noarch
maintainers		nomaintainer
description		Darby Bible (1889)
long_description	A literal translation of the Old Testament (1890) \
					and the New Testament (1884) By John Nelson Darby \
					(1800-82)
distname		Darby
homepage		http://www.crosswire.org/sword/modules/ModInfo.jsp?modName=${distname}
master_sites	http://www.crosswire.org/ftpmirror/pub/sword/packages/rawzip/
dist_subdir		sword/${distname}-${version}
use_zip			yes
checksums		rmd160 a2cfe1426368983f42ac666e864e412a56d135f8 \
				sha256 49cddcace31b1e975275242b24228085e5c0479ab7dcbaf4003537cae396de1c
depends_lib		lib:libsword:sword
use_configure	no
build			{}
destroot {
	xinstall -d -m 0755 ${destroot}${prefix}/share/sword
	system "cp -R ${workpath}/mods.d ${destroot}${prefix}/share/sword"
	system "cp -R ${workpath}/modules ${destroot}${prefix}/share/sword"
}
