[85010] trunk/dports/textproc

ryandesign at macports.org ryandesign at macports.org
Fri Oct 7 03:49:24 PDT 2011


Revision: 85010
          http://trac.macports.org/changeset/85010
Author:   ryandesign at macports.org
Date:     2011-10-07 03:49:21 -0700 (Fri, 07 Oct 2011)
Log Message:
-----------
sdcv: new port, version 0.4.3-20100801; see #29002

Added Paths:
-----------
    trunk/dports/textproc/sdcv/
    trunk/dports/textproc/sdcv/Portfile
    trunk/dports/textproc/sdcv/files/
    trunk/dports/textproc/sdcv/files/patch-setlocale.diff

Added: trunk/dports/textproc/sdcv/Portfile
===================================================================
--- trunk/dports/textproc/sdcv/Portfile	                        (rev 0)
+++ trunk/dports/textproc/sdcv/Portfile	2011-10-07 10:49:21 UTC (rev 85010)
@@ -0,0 +1,41 @@
+# -*- 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                    sdcv
+#version                 0.4.2
+version                 0.4.3-20100801
+categories              textproc
+platforms               darwin
+maintainers             ryandesign openmaintainer
+license                 GPL-2+
+
+description             console version of StarDict program
+
+long_description        ${name} is a console version of the StarDict program.
+
+homepage                http://sdcv.sourceforge.net/
+#master_sites            sourceforge:project/sdcv/sdcv/${version}
+#
+#use_bzip2               yes
+#
+#checksums               rmd160  1a28630dad2ac07860cc5bee87f23c8585c4dabe \
+#                        sha256  a164f079e93986814ea2d39f3a49cf9d1b71b01aad908254457fe3d0ded9deb2
+
+fetch.type              svn
+svn.url                 https://sdcv.svn.sourceforge.net/svnroot/sdcv/trunk
+svn.revision            38
+worksrcdir              trunk
+
+patchfiles              patch-setlocale.diff
+
+# There isn't a configure script in the repository so we need to generate one.
+use_autoreconf          yes
+autoreconf.args         -fvi
+
+depends_build-append    port:pkgconfig
+
+depends_lib             port:gettext \
+                        path:lib/pkgconfig/glib-2.0.pc:glib2 \
+                        port:readline


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

Added: trunk/dports/textproc/sdcv/files/patch-setlocale.diff
===================================================================
--- trunk/dports/textproc/sdcv/files/patch-setlocale.diff	                        (rev 0)
+++ trunk/dports/textproc/sdcv/files/patch-setlocale.diff	2011-10-07 10:49:21 UTC (rev 85010)
@@ -0,0 +1,21 @@
+"'libintl_setlocale' is not a member of 'std'"
+Index: src/sdcv.cpp
+===================================================================
+--- src/sdcv.cpp	(revision 38)
++++ src/sdcv.cpp	(working copy)
+@@ -27,12 +27,12 @@
+ #include <cstdlib>
+ #include <cstdio>
+ #include <clocale>
++#include <string>
++#include <vector>
++#include <memory>
+ #include <glib.h>
+ #include <glib/gi18n.h>
+ #include <glib/gstdio.h>
+-#include <string>
+-#include <vector>
+-#include <memory>
+ 
+ #include "libwrapper.hpp"
+ #include "readline.hpp"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20111007/013aa416/attachment.html>


More information about the macports-changes mailing list