[27768] trunk/dports/devel/dia2code
source_changes at macosforge.org
source_changes at macosforge.org
Mon Aug 13 19:44:17 PDT 2007
Revision: 27768
http://trac.macosforge.org/projects/macports/changeset/27768
Author: nox at macports.org
Date: 2007-08-13 19:44:16 -0700 (Mon, 13 Aug 2007)
Log Message:
-----------
dia2code:
* Updated to 0.8.3 and taken over by Simon (closes #12461).
* Added sha1 and rmd160 checksums.
* Removed various obsoleted configure.(env|args) variables.
* Added documentation installation.
Modified Paths:
--------------
trunk/dports/devel/dia2code/Portfile
trunk/dports/devel/dia2code/files/patch-dia2code.h
Modified: trunk/dports/devel/dia2code/Portfile
===================================================================
--- trunk/dports/devel/dia2code/Portfile 2007-08-14 02:08:50 UTC (rev 27767)
+++ trunk/dports/devel/dia2code/Portfile 2007-08-14 02:44:16 UTC (rev 27768)
@@ -1,20 +1,31 @@
# $Id$
PortSystem 1.0
+
name dia2code
-version 0.8.1
+version 0.8.3
description Dia2Code is a small utility used to generate code from a Dia diagram.
long_description ${description}
-maintainers nomaintainer at macports.org
+maintainers ruderich.com:simon
categories devel
platforms darwin
-homepage http://${name}.sf.net
+homepage http://${name}.sourceforge.net
master_sites sourceforge
-checksums md5 549eb4da412d92d779bcd3e65175064f
+
+checksums md5 af64302f4e6633f26e28f74cbfbab742 \
+ sha1 9a3e3fb766928ad4cf59d97cdfa099bbdd5801af \
+ rmd160 6db53298445a864e3895edd469713db24692f4aa
+
depends_lib port:libxml2
-patchfiles patch-dia2code.h
-configure.args --mandir=${prefix}/share/man
-configure.env CPPFLAGS="-L${prefix}/lib -I${prefix}/include" \
- CFLAGS="-I${prefix}/include/libxml2/libxml"
+
+patchfiles patch-dia2code.h
+
post-destroot {
- file copy ${worksrcpath}/${name}.1 ${destroot}${prefix}/share/man/man1
+ cd ${worksrcpath}
+
+ xinstall -m 0444 ${name}.1 ${destroot}${prefix}/share/man/man1
+
+ set docdir ${prefix}/share/doc/${name}-${version}
+ xinstall -m 0755 -d ${destroot}${docdir}
+ xinstall -m 0644 AUTHORS COPYING ChangeLog README TODO ${destroot}${docdir}
}
+
Modified: trunk/dports/devel/dia2code/files/patch-dia2code.h
===================================================================
--- trunk/dports/devel/dia2code/files/patch-dia2code.h 2007-08-14 02:08:50 UTC (rev 27767)
+++ trunk/dports/devel/dia2code/files/patch-dia2code.h 2007-08-14 02:44:16 UTC (rev 27768)
@@ -1,18 +1,10 @@
---- dia2code/dia2code.h.org 2005-05-09 19:45:48.000000000 +0200
-+++ dia2code/dia2code.h 2005-05-09 19:46:12.000000000 +0200
-@@ -20,13 +20,12 @@
+--- dia2code/dia2code.h 2007-08-14 02:37:26.000000000 +0200
++++ dia2code/dia2code.h 2007-08-14 02:39:44.000000000 +0200
+@@ -20,7 +20,6 @@
#include <string.h>
#include <ctype.h>
-#include <malloc.h>
#include <stdio.h>
#include <stdlib.h>
-
- /* libxml[2] headers */
--#include <parser.h>
--#include <tree.h>
-+#include <libxml/parser.h>
-+#include <libxml/tree.h>
-
- #define VERSION "0.8.1"
-
+ #include <stdarg.h>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20070813/13efb737/attachment.html
More information about the macports-changes
mailing list