/
Portfile
30 lines (29 loc) · 1.03 KB
/
Portfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
PortSystem 1.0
name sword-commentary-tsk
version 1.4
revision 2
categories textproc
license public-domain
platforms any
supported_archs noarch
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}_2
use_zip yes
checksums rmd160 864272f5698f0af9c0778c369f01448b6c0dd16a \
sha256 7e5d5f756c455f413961fb1abb040ef36656464c5891baf685426a6da6e06d1a
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"
}