Ticket #36952: Portfile.2

File Portfile.2, 1.4 KB (added by dave@…, 12 years ago)

Fixed version of Portfile

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 69520 2010-07-08 20:19:52Z jmr@macports.org $
3
4PortSystem 1.0
5
6name            libstemmer
7version         0.1-r556
8revision    0
9categories      textproc
10platforms       darwin
11maintainers     nomaintainer
12license     BSD
13description     Algorithmic Stemmer Library
14
15long_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               
23fetch.type      svn
24svn.url         svn://snowball.tartarus.org/snowball/trunk
25svn.revision    556
26homepage        http://snowball.tartarus.org
27
28worksrcdir       trunk/snowball/
29use_configure    no
30build.target     libstemmer.o
31build.args-append       CC=${configure.cc} \
32                        CXX=${configure.cxx} \
33                        CPP=${configure.cpp}
34post-build {
35    move ${worksrcpath}/libstemmer.o  ${worksrcpath}/libstemmer.a
36}
37
38destroot {
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
45livecheck.type none