1 | # $Id: Portfile 69520 2010-07-08 20:19:52Z jmr@macports.org $ |
---|
2 | # -*- 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 |
---|
3 | |
---|
4 | PortSystem 1.0 |
---|
5 | |
---|
6 | name libstemmer |
---|
7 | version 0.1 |
---|
8 | revision svn-556 |
---|
9 | categories textproc |
---|
10 | platforms darwin |
---|
11 | maintainers nomaintainer |
---|
12 | description Algorithmic Stemmer Library |
---|
13 | |
---|
14 | fetch.type svn |
---|
15 | svn.url svn://snowball.tartarus.org/snowball/trunk |
---|
16 | svn.revision 556 |
---|
17 | homepage http://snowball.tartarus.org |
---|
18 | |
---|
19 | worksrcdir trunk/snowball/ |
---|
20 | use_configure no |
---|
21 | build.target libstemmer.o |
---|
22 | post-build { |
---|
23 | system "cd ${worksrcpath} && mv libstemmer.o libstemmer.a" |
---|
24 | } |
---|
25 | |
---|
26 | destroot { |
---|
27 | # install header files |
---|
28 | xinstall -m 755 -d ${destroot}${prefix}/include |
---|
29 | xinstall -m 644 -W ${worksrcpath}/include libstemmer.h ${destroot}${prefix}/include |
---|
30 | # install libraries |
---|
31 | xinstall -m 755 -d ${destroot}${prefix}/lib |
---|
32 | xinstall -m 644 -W ${worksrcpath} libstemmer.a ${destroot}${prefix}/lib |
---|
33 | } |
---|
34 | |
---|
35 | livecheck.type none |
---|