# $Id: Portfile 104077 2013-03-15 02:17:00Z jmr@macports.org $

PortSystem		1.0

name			sword-devotional-sme
version			1.7
categories		textproc
license			public-domain
platforms		darwin
supported_archs	noarch
maintainers		nomaintainer
description		C. H. Spurgeon's Morning and Evening: Daily Readins
long_description	MORNING & EVENING: DAILY READINGS by Charles \
					Spurgeon. This material was scanned from the printed \
					edition published by Hendrickson. The scanned \
					material was cleaned and formated by Ernie Stefanik, \
					Derry PA.
distname		SME
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 3ad927f77d7f4ab902c527b342a7397a5c20f4ef \
				sha256 d670d3428be14f3997a829fc44ebc48a764042f7a6ac5ac17df767a3abf98230
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"
}
