1 | # -*- 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 |
---|
2 | # $Id: Portfile 69520 2010-07-08 20:19:52Z jmr@macports.org $ |
---|
3 | |
---|
4 | PortSystem 1.0 |
---|
5 | |
---|
6 | name libstemmer |
---|
7 | version 0.1-r556 |
---|
8 | revision 0 |
---|
9 | categories textproc |
---|
10 | platforms darwin |
---|
11 | maintainers nomaintainer |
---|
12 | license BSD |
---|
13 | description Algorithmic Stemmer Library |
---|
14 | |
---|
15 | long_description Snowball is a language in which stemming algorithms \ |
---|
16 | can be easily represented. The Snowball compiler translates a \ |
---|
17 | Snowball script (a .sbl file) into either a thread-safe ANSI C \ |
---|
18 | program or a Java program. For ANSI C, each Snowball script \ |
---|
19 | produces a program file and corresponding header file (with .c and \ |
---|
20 | .h extensions). \ |
---|
21 | This port delivers the ANSI C library build |
---|
22 | |
---|
23 | fetch.type svn |
---|
24 | svn.url svn://snowball.tartarus.org/snowball/trunk |
---|
25 | svn.revision 556 |
---|
26 | homepage http://snowball.tartarus.org |
---|
27 | |
---|
28 | worksrcdir trunk/snowball/ |
---|
29 | use_configure no |
---|
30 | build.target libstemmer.o |
---|
31 | build.args-append CC=${configure.cc} \ |
---|
32 | CXX=${configure.cxx} \ |
---|
33 | CPP=${configure.cpp} |
---|
34 | post-build { |
---|
35 | move ${worksrcpath}/libstemmer.o ${worksrcpath}/libstemmer.a |
---|
36 | } |
---|
37 | |
---|
38 | destroot { |
---|
39 | # install header files |
---|
40 | xinstall -m 644 -W ${worksrcpath}/include libstemmer.h ${destroot}${prefix}/include |
---|
41 | # install libraries |
---|
42 | xinstall -m 644 -W ${worksrcpath} libstemmer.a ${destroot}${prefix}/lib |
---|
43 | } |
---|
44 | |
---|
45 | livecheck.type none |
---|