[83757] trunk/dports/textproc

pixilla at macports.org pixilla at macports.org
Sat Sep 10 10:27:21 PDT 2011


Revision: 83757
          http://trac.macports.org/changeset/83757
Author:   pixilla at macports.org
Date:     2011-09-10 10:27:18 -0700 (Sat, 10 Sep 2011)
Log Message:
-----------
textproc/recode-devel:
- New port tracking recode development.
- Current release version of recode on my system has memory errors when working with larger files (15MB)
- So far working with the same files I get no errors with recode development version.

Added Paths:
-----------
    trunk/dports/textproc/recode-devel/
    trunk/dports/textproc/recode-devel/Portfile

Added: trunk/dports/textproc/recode-devel/Portfile
===================================================================
--- trunk/dports/textproc/recode-devel/Portfile	                        (rev 0)
+++ trunk/dports/textproc/recode-devel/Portfile	2011-09-10 17:27:18 UTC (rev 83757)
@@ -0,0 +1,54 @@
+# $Id$
+
+PortSystem          1.0
+
+name                recode-devel
+conflicts           recode
+version             3.7-beta2
+categories          textproc
+maintainers         nomaintainer
+platforms           darwin
+description         charset conversion program
+
+long_description \
+	This recode program has the purpose of converting files between \
+	various character sets and usages. When exact transliterations \
+	are not possible, as it is often the case, the program may get \
+	rid of the offending characters or fall back on approximations.
+
+homepage            http://recode.progiciels-bpi.ca/
+fetch.type          git
+git.url             git://github.com/pinard/Recode.git
+git.branch          v3.7-beta2
+
+depends_lib         port:libtool port:gettext port:libiconv
+
+# src/libiconv.c patch from Debian,
+# http://packages.debian.org/stable/text/recode
+# patchfiles          patch-lib_Makefile.in.diff patch-src_libiconv.c.diff
+
+pre-configure {
+    if {[file exists ${prefix}/share/libtool/config/config.guess]} {
+        copy -force ${prefix}/share/libtool/config/config.guess ${prefix}/share/libtool/config/config.sub ${worksrcpath}
+    } else {
+        copy -force ${prefix}/share/libtool/config.guess ${prefix}/share/libtool/config.sub ${worksrcpath}
+    }
+}
+
+configure.ldflags-append \
+                    -lintl -liconv
+
+configure.args      --infodir=${prefix}/share/info \
+                    --mandir=${prefix}/share/man \
+                    --with-libiconv-prefix=${prefix} \
+                    --with-libintl-prefix=${prefix}
+
+post-destroot {
+    set docdir ${prefix}/share/doc/${name}-${version}
+    xinstall -d ${destroot}${docdir}
+    xinstall -m 0644 -W ${worksrcpath} AUTHORS COPYING ChangeLog README THANKS \
+        TODO ${destroot}${docdir}
+}
+
+test.run        yes
+test.target     check


Property changes on: trunk/dports/textproc/recode-devel/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/20110910/8a1e726f/attachment-0001.html>


More information about the macports-changes mailing list