# $Id: Portfile 56086 2009-08-24 05:29:57Z ryandesign@macports.org $
PortSystem		1.0
name			sword-bible-web
version			1.4
revision		2
categories		textproc
platforms		darwin
maintainers		nomaintainer
description		World English Bible, includes footnotes
long_description	The World English Bible is a 1997 revision of the \
					American Standard Version of the Holy Bible, first \
					published in 1901. It is in the Public Domain. \
					Please feel free to copy and distribute it freely.
distname		WEB
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}_${revision}
use_zip			yes
checksums		md5 d93623921faf0fcaedda03cc71ad3f21
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"
}

