[99715] trunk/dports/textproc
ryandesign at macports.org
ryandesign at macports.org
Wed Nov 14 12:55:58 PST 2012
Revision: 99715
https://trac.macports.org/changeset/99715
Author: ryandesign at macports.org
Date: 2012-11-14 12:55:58 -0800 (Wed, 14 Nov 2012)
Log Message:
-----------
libstemmer: new port, version 0.1-20110629 (#36952)
Added Paths:
-----------
trunk/dports/textproc/libstemmer/
trunk/dports/textproc/libstemmer/Portfile
Added: trunk/dports/textproc/libstemmer/Portfile
===================================================================
--- trunk/dports/textproc/libstemmer/Portfile (rev 0)
+++ trunk/dports/textproc/libstemmer/Portfile 2012-11-14 20:55:58 UTC (rev 99715)
@@ -0,0 +1,52 @@
+# -*- 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
+# $Id$
+
+PortSystem 1.0
+
+name libstemmer
+version 0.1-20110629
+categories textproc
+platforms darwin
+maintainers nomaintainer
+license BSD
+
+description Algorithmic Stemmer Library
+
+long_description Snowball is a language in which stemming algorithms can \
+ be easily represented. The Snowball compiler translates a \
+ Snowball script (a .sbl file) into either a thread-safe \
+ ANSI C program or a Java program. For ANSI C, each \
+ Snowball script produces a program file and corresponding \
+ header file (with .c and .h extensions). This port \
+ delivers the ANSI C library build
+
+homepage http://snowball.tartarus.org/
+fetch.type svn
+svn.url svn://snowball.tartarus.org/snowball/trunk/snowball/
+svn.revision 546
+
+worksrcdir snowball
+
+use_configure no
+
+variant universal {}
+
+build.target libstemmer.o
+build.args-append CC="${configure.cc} [get_canonical_archflags cc]"
+
+post-build {
+ copy ${worksrcpath}/libstemmer.o ${worksrcpath}/libstemmer.a
+ system -W ${worksrcpath} "ranlib libstemmer.a"
+}
+
+destroot {
+ # install header files
+ xinstall -m 644 -W ${worksrcpath}/include libstemmer.h ${destroot}${prefix}/include
+ # install libraries
+ xinstall -m 644 -W ${worksrcpath} libstemmer.a ${destroot}${prefix}/lib
+}
+
+livecheck.type regex
+livecheck.url http://svn.tartarus.org/snowball/trunk/snowball/
+livecheck.version ${svn.revision}
+livecheck.regex {revision=(\d+)}
Property changes on: trunk/dports/textproc/libstemmer/Portfile
___________________________________________________________________
Added: svn:keywords
+ Id
Added: svn:eol-style
+ native
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20121114/ad4b97ff/attachment.html>
More information about the macports-changes
mailing list