# $Id: Portfile 56086 2009-08-24 05:29:57Z ryandesign@macports.org $
PortSystem		1.0
name			sword-commentary-tsk
version			1.4
revision		1
categories		textproc
platforms		darwin
maintainers		nomaintainer
description		Treasury of Scripture Knowledge Commentary
long_description	Treasury of Scripture Knowledge: five-hundred \
					thousand scripture references and parallel passages \
					by Canne, Browne, Blayney, Scott, and others about \
					1880.
distname		TSK
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 4a9bcee5b72135a0626dc2f92e8c0f6f
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"
}

