[47032] trunk/dports/textproc/sword/Portfile
jmr at macports.org
jmr at macports.org
Thu Feb 19 22:57:02 PST 2009
Revision: 47032
http://trac.macports.org/changeset/47032
Author: jmr at macports.org
Date: 2009-02-19 22:57:01 -0800 (Thu, 19 Feb 2009)
Log Message:
-----------
sword: de-tab, add modeline
Modified Paths:
--------------
trunk/dports/textproc/sword/Portfile
Modified: trunk/dports/textproc/sword/Portfile
===================================================================
--- trunk/dports/textproc/sword/Portfile 2009-02-20 06:53:30 UTC (rev 47031)
+++ trunk/dports/textproc/sword/Portfile 2009-02-20 06:57:01 UTC (rev 47032)
@@ -1,59 +1,61 @@
+# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
# $Id$
-PortSystem 1.0
-name sword
-version 1.5.7a
-revision 1
-categories textproc
-maintainers nomaintainer
-description cross-platform API/library for Bible software
-long_description The SWORD Project is an open source, cross-platform \
- (Linux, Windows, Solaris, etc.) API/library for \
- Bible software with a constantly growing list of \
- front-ends (GUI, textmode, web-based, etc.) and a \
- library of over 200 text modules.
-homepage http://www.crosswire.org/${name}/index.jsp
-master_sites http://www.crosswire.org/ftpmirror/pub/${name}/source/v1.5/
-checksums md5 e77801ac7abb7a940eb8a75d725e346f
-platforms darwin
+PortSystem 1.0
-depends_build port:autoconf \
- port:automake \
- port:libtool \
- port:pkgconfig
-depends_lib port:curl \
- port:openssl \
- port:zlib
+name sword
+version 1.5.7a
+revision 1
+categories textproc
+maintainers nomaintainer
+description cross-platform API/library for Bible software
+long_description The SWORD Project is an open source, cross-platform \
+ (Linux, Windows, Solaris, etc.) API/library for \
+ Bible software with a constantly growing list of \
+ front-ends (GUI, textmode, web-based, etc.) and a \
+ library of over 200 text modules.
+homepage http://www.crosswire.org/${name}/index.jsp
+master_sites http://www.crosswire.org/ftpmirror/pub/${name}/source/v1.5/
+checksums md5 e77801ac7abb7a940eb8a75d725e346f
+platforms darwin
-worksrcdir ${name}-[strsed ${version} {s/a$//}]
+depends_build port:autoconf \
+ port:automake \
+ port:libtool \
+ port:pkgconfig
+depends_lib port:curl \
+ port:openssl \
+ port:zlib
-patchfiles patch-autogen.sh \
- patch-configure.ac \
- patch-untgz.c
+worksrcdir ${name}-[strsed ${version} {s/a$//}]
+patchfiles patch-autogen.sh \
+ patch-configure.ac \
+ patch-untgz.c
+
pre-configure {
system "cd ${worksrcpath} && ./autogen.sh"
}
-configure.args --with-zlib --with-conf --with-curl \
- --without-icu --without-lucene
+configure.args --with-zlib --with-conf --with-curl \
+ --without-icu --without-lucene
post-destroot {
- xinstall -d -m 0755 ${destroot}${prefix}/share/${name}/mods.d
- xinstall -m 0644 ${worksrcpath}/samples/mods.d/globals.conf ${destroot}${prefix}/share/${name}/mods.d
+ xinstall -d -m 0755 ${destroot}${prefix}/share/${name}/mods.d
+ xinstall -m 0644 ${worksrcpath}/samples/mods.d/globals.conf ${destroot}${prefix}/share/${name}/mods.d
- xinstall -d -m 0755 ${destroot}${prefix}/share/${name}/modules
- system "touch ${destroot}${prefix}/share/${name}/modules/.turd"
+ xinstall -d -m 0755 ${destroot}${prefix}/share/${name}/modules
+ system "touch ${destroot}${prefix}/share/${name}/modules/.turd"
- xinstall -d -m 0755 ${destroot}${prefix}/share/doc/${name}
- xinstall -m 0644 -W ${worksrcpath} README INSTALL LICENSE ${destroot}${prefix}/share/doc/${name}
- foreach dir [exec find ${worksrcpath}/samples -type d] {
- xinstall -d -m 0755 ${destroot}${prefix}/share/doc/${name}/${dir}
- }
- foreach file [exec find ${worksrcpath}/samples -type f] {
- xinstall -m 0644 ${file} ${destroot}${prefix}/share/doc/${name}/${file}
- }
+ xinstall -d -m 0755 ${destroot}${prefix}/share/doc/${name}
+ xinstall -m 0644 -W ${worksrcpath} README INSTALL LICENSE ${destroot}${prefix}/share/doc/${name}
+ foreach dir [exec find ${worksrcpath}/samples -type d] {
+ xinstall -d -m 0755 ${destroot}${prefix}/share/doc/${name}/${dir}
+ }
+ foreach file [exec find ${worksrcpath}/samples -type f] {
+ xinstall -m 0644 ${file} ${destroot}${prefix}/share/doc/${name}/${file}
+ }
}
-livecheck.check regex
-livecheck.url http://www.crosswire.org/sword/software/swordapi.jsp
+livecheck.check regex
+livecheck.url http://www.crosswire.org/sword/software/swordapi.jsp
livecheck.regex {SWORD Engine / API v([0-9\.]+)}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090219/00e44a55/attachment.html>
More information about the macports-changes
mailing list