[111109] trunk/dports/textproc

stromnov at macports.org stromnov at macports.org
Sun Sep 15 06:12:55 PDT 2013


Revision: 111109
          https://trac.macports.org/changeset/111109
Author:   stromnov at macports.org
Date:     2013-09-15 06:12:54 -0700 (Sun, 15 Sep 2013)
Log Message:
-----------
freeling: new port

Added Paths:
-----------
    trunk/dports/textproc/freeling/
    trunk/dports/textproc/freeling/Portfile
    trunk/dports/textproc/freeling/files/
    trunk/dports/textproc/freeling/files/patch-data_Makefile.in.diff

Added: trunk/dports/textproc/freeling/Portfile
===================================================================
--- trunk/dports/textproc/freeling/Portfile	                        (rev 0)
+++ trunk/dports/textproc/freeling/Portfile	2013-09-15 13:12:54 UTC (rev 111109)
@@ -0,0 +1,38 @@
+# -*- 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                freeling
+version             3.1
+revision            0
+categories          textproc devel
+platforms           darwin
+license             GPL-3+
+
+maintainers         stromnov openmaintainer
+
+description         An open-source suite of language analyzers
+
+long_description    FreeLing is a library providing language analysis \
+                    services, oriented to satisfy the needs of Natural \
+                    Language Processing application developers.
+
+homepage            http://nlp.lsi.upc.edu/freeling/
+master_sites        http://devel.cpl.upc.edu/freeling/downloads/32?dummy=
+
+checksums           rmd160  85be3adcf20690040d2d3e5927c9ea02b896a652 \
+                    sha256  e98471ceb3f58afbe70369584d8d316323d13fcc51d09b2fd7f431a3220982ba
+
+patchfiles-append   patch-data_Makefile.in.diff
+
+depends_lib-append  port:zlib \
+                    port:icu \
+                    port:boost
+
+configure.args-append \
+                    --enable-boost-locale
+
+livecheck.type      regex
+livecheck.url       http://devel.cpl.upc.edu/freeling/downloads/
+livecheck.regex     {freeling-(\d+(?:\.\d+)*)\.[tz]}


Property changes on: trunk/dports/textproc/freeling/Portfile
___________________________________________________________________
Added: svn:keywords
   + Id
Added: svn:eol-style
   + native

Added: trunk/dports/textproc/freeling/files/patch-data_Makefile.in.diff
===================================================================
--- trunk/dports/textproc/freeling/files/patch-data_Makefile.in.diff	                        (rev 0)
+++ trunk/dports/textproc/freeling/files/patch-data_Makefile.in.diff	2013-09-15 13:12:54 UTC (rev 111109)
@@ -0,0 +1,19 @@
+--- data/Makefile.in.orig	2013-09-15 16:54:50.000000000 +0400
++++ data/Makefile.in	2013-09-15 16:55:45.000000000 +0400
+@@ -1483,7 +1483,6 @@
+ 
+ 
+ install-data-hook:
+-	- at ldconfig &> /dev/null || echo "Could not run 'ldconfig'. If you get installation errors below, execute 'ldconfig' as root and try 'make install' again.";
+ 	@echo "Indexing language dictionaries. This will take some minutes.";
+ 	@for lg in $(languages); do \
+ 	   echo "Installing files for language '"$$lg"'. Please wait."; \
+@@ -1499,7 +1498,7 @@
+ 	      echo "  - Creating "$$lg" phonetic dictionary..."; \
+               phRul=`cat $(DESTDIR)/$(pkgdatadir)/$$lg/alternatives-phon.dat | grep PhoneticRules | cut -d' ' -f2`; \
+               phDic=`cat $(DESTDIR)/$(pkgdatadir)/$$lg/alternatives-phon.dat | grep PhoneticDictionary | cut -d' ' -f2`; \
+-	      cat $(DESTDIR)/$(pkgdatadir)/$$lg/dicc.src | LD_LIBRARY_PATH=$(LD_LIBRARY_PATH):$(DESTDIR)/$(libdir) $(DESTDIR)/$(bindir)/dicc2phon $(DESTDIR)/$(pkgdatadir)/$$lg/$$phRul > $(DESTDIR)/$(pkgdatadir)/$$lg/$$phDic; \
++			  cat $(DESTDIR)/$(pkgdatadir)/$$lg/dicc.src | DYLD_FALLBACK_LIBRARY_PATH=$(DESTDIR)/$(libdir):$(DYLD_FALLBACK_LIBRARY_PATH) $(DESTDIR)/$(bindir)/dicc2phon $(DESTDIR)/$(pkgdatadir)/$$lg/$$phRul > $(DESTDIR)/$(pkgdatadir)/$$lg/$$phDic; \
+            fi; \
+ 	done
+ 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130915/c2cadb91/attachment-0001.html>


More information about the macports-changes mailing list