[33285] trunk/dports/devel
raimue at macports.org
raimue at macports.org
Tue Jan 22 08:22:34 PST 2008
Revision: 33285
http://trac.macosforge.org/projects/macports/changeset/33285
Author: raimue at macports.org
Date: 2008-01-22 08:22:31 -0800 (Tue, 22 Jan 2008)
Log Message:
-----------
devel/arabica:
New port from #13747 with slightly modifications:
* Linted ($Id$ tag, patchfile naming convention)
* master_sites set to sourceforge mirror list
Closes #13747.
Added Paths:
-----------
trunk/dports/devel/arabica/
trunk/dports/devel/arabica/Portfile
trunk/dports/devel/arabica/files/
trunk/dports/devel/arabica/files/patch-Makefile.in.diff
Added: trunk/dports/devel/arabica/Portfile
===================================================================
--- trunk/dports/devel/arabica/Portfile (rev 0)
+++ trunk/dports/devel/arabica/Portfile 2008-01-22 16:22:31 UTC (rev 33285)
@@ -0,0 +1,47 @@
+# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:filetype=tcl:et:sw=4:ts=4:sts=4
+# $Id$
+
+PortSystem 1.0
+
+name arabica
+version Oct2007
+categories devel textproc
+maintainers isak at hypergene.com
+description Arabica, an XML toolkit written in C++
+long_description Arabica has a full SAX2 implementation. Layered on SAX is a DOM Level 2.0 implementation, \
+ together with an XPath engine and partial XSLT implementation. It delivers UTF-8 encoded std::strings \
+ or UCS-2 std::wstrings, but can also accommodate custom string types and alternative encodings. It \
+ provides uniform SAX2 wrappers for the Expat parser, Xerces, Libxml2 and (on Windows) for the \
+ Microsoft XML parser COM component.
+homepage http://www.jezuk.co.uk/arabica
+platforms darwin
+master_sites sourceforge
+
+checksums md5 026ac9690fca1843e35d382ce3df1077 \
+ sha1 9d6eb1e0532af58c2f15beaff531817b7f062f29 \
+ rmd160 da311611120d8b60670ea7f38171f4ac96a2368f
+
+depends_lib port:libxml2 \
+ port:boost
+
+configure.args --prefix=${prefix} \
+ --with-parser=libxml2 \
+ --with-libxml2=${prefix} \
+ --with-boost=${prefix}
+
+patchfiles patch-Makefile.in.diff
+
+variant noboost {
+ configure.args.delete --with-boost=${prefix}
+ configure.args.append --with-boost=no
+ depends_lib.delete port:boost
+}
+
+variant expat {
+ configure.args.delete --with-parser=libxml2
+ configure.args.delete --with-libxml2=${prefix}
+ configure.args.append --with-parser=expat
+ configure.args.append --with-expat=${prefix}
+ depends_lib.delete port:libxml2
+ depends_lib.append port:expat
+}
Property changes on: trunk/dports/devel/arabica/Portfile
___________________________________________________________________
Name: svn:keywords
+ Id
Name: svn:eol-style
+ native
Added: trunk/dports/devel/arabica/files/patch-Makefile.in.diff
===================================================================
--- trunk/dports/devel/arabica/files/patch-Makefile.in.diff (rev 0)
+++ trunk/dports/devel/arabica/files/patch-Makefile.in.diff 2008-01-22 16:22:31 UTC (rev 33285)
@@ -0,0 +1,15 @@
+--- Makefile.in.org 2007-12-28 17:53:12.000000000 +0100
++++ Makefile.in 2007-12-29 16:53:00.000000000 +0100
+@@ -675,8 +675,11 @@
+ @echo "------------------------------------------------------------"
+ @echo "Installing include files to $(includedir)"
+ @echo "------------------------------------------------------------"
++ for dir in `cd $(srcdir)/include && find . -type d -print | grep -v \.svn`; \
++ do mkdir -p "$(DESTDIR)$(includedir)/$$dir"; \
++ done
+ for inc in `cd $(srcdir)/include && find . -type f -print | grep -v \.svn`; \
+- do $(INSTALL_HEADER) -D "$(srcdir)/include/$$inc" "$(includedir)/$$inc"; \
++ do $(INSTALL_HEADER) "$(srcdir)/include/$$inc" "$(DESTDIR)$(includedir)/$$inc"; \
+ done
+
+ uninstall-local:
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080122/942d4265/attachment-0001.html
More information about the macports-changes
mailing list