source: trunk/dports/textproc/libstemmer/Portfile

Last change on this file was 99715, checked in by ryandesign@…, 5 years ago

libstemmer: new port, version 0.1-20110629 (#36952)

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.7 KB
Line 
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 99715 2012-11-14 20:55:58Z ryandesign@macports.org $
3
4PortSystem          1.0
5
6name                libstemmer
7version             0.1-20110629
8categories          textproc
9platforms           darwin
10maintainers         nomaintainer
11license             BSD
12
13description         Algorithmic Stemmer Library
14
15long_description    Snowball is a language in which stemming algorithms can \
16                    be easily represented. The Snowball compiler translates a \
17                    Snowball script (a .sbl file) into either a thread-safe \
18                    ANSI C program or a Java program. For ANSI C, each \
19                    Snowball script produces a program file and corresponding \
20                    header file (with .c and .h extensions). This port \
21                    delivers the ANSI C library build
22
23homepage            http://snowball.tartarus.org/
24fetch.type          svn
25svn.url             svn://snowball.tartarus.org/snowball/trunk/snowball/
26svn.revision        546
27
28worksrcdir          snowball
29
30use_configure       no
31
32variant universal {}
33
34build.target        libstemmer.o
35build.args-append   CC="${configure.cc} [get_canonical_archflags cc]"
36
37post-build {
38    copy ${worksrcpath}/libstemmer.o ${worksrcpath}/libstemmer.a
39    system -W ${worksrcpath} "ranlib libstemmer.a"
40}
41
42destroot {
43    # install header files
44    xinstall -m 644 -W ${worksrcpath}/include libstemmer.h ${destroot}${prefix}/include
45    # install libraries
46    xinstall -m 644 -W ${worksrcpath} libstemmer.a ${destroot}${prefix}/lib
47}
48
49livecheck.type      regex
50livecheck.url       http://svn.tartarus.org/snowball/trunk/snowball/
51livecheck.version   ${svn.revision}
52livecheck.regex     {revision=(\d+)}
Note: See TracBrowser for help on using the repository browser.