Ticket #36952: Portfile

File Portfile, 1010 bytes (added by dave@…, 12 years ago)
Line 
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
4PortSystem 1.0
5
6name            libstemmer
7version         0.1
8revision    svn-556
9categories      textproc
10platforms       darwin
11maintainers     nomaintainer
12description     Algorithmic Stemmer Library
13               
14fetch.type      svn
15svn.url         svn://snowball.tartarus.org/snowball/trunk
16svn.revision    556
17homepage        http://snowball.tartarus.org
18
19worksrcdir       trunk/snowball/
20use_configure    no
21build.target     libstemmer.o
22post-build {
23      system "cd ${worksrcpath} && mv libstemmer.o libstemmer.a"
24}
25
26destroot {
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
35livecheck.type none