# $Id: Portfile 104044 2013-03-14 00:50:48Z jmr@macports.org $

PortSystem		1.0

name			sword-dictionary-nave
version			1.1
revision		2
categories		textproc
license			public-domain
platforms		darwin
supported_archs	noarch
maintainers		nomaintainer
description		Nave's Topical Bible
long_description	Nave's Topics were originaly produced by Orville J. \
					Nave, A.M., D.D., LL.D. while serving as a Chaplin \
					in the United States Army. He referred to this work \
					as "the result of fourteen years of delightful and \
					untiring study of the Word of God." Nave's topics \
					were originally published in the early 1900's, and a \
					photo-offset reproduction is currently published by \
					Hendrickson, ISBN 0-917006-02-X.  The title page \
					states that this work consists of 20,000+ topics and \
					subtopics, and 100,000 references to the Scriptures.
distname		Nave
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 79a8ff093a5dc1a2e7e06cd4ec83c9466ec0c341 \
				sha256 8ebd70e71df18f419f53421ca83b3cca4d8450949fd2d2cd7aa5f54e70edd2cc
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"
}
