PortSystem		1.0

name			sword-commentary-dtn
version			1.0
revision		2
categories		textproc
license			public-domain
platforms		any
supported_archs	noarch
maintainers		nomaintainer
description		Darby Translation Notes
long_description	Notes to J.N. Darby's Translation of the Bible
distname		DTN
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}_2
use_zip			yes
checksums		rmd160 50c1ea6a5614a2b4a1828e24ca276c6e575dbdcd \
				sha256 94af248f9ea51062b7cef8478b34ebf73f6ce1e4c33f248d947c293aeac394a9
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"
}
