On Apr 20, 2009, at 14:33, [email protected] wrote:

Revision: 49949
          http://trac.macports.org/changeset/49949
Author:   [email protected]
Date:     2009-04-20 12:33:06 -0700 (Mon, 20 Apr 2009)
Log Message:
-----------
dia-devel: New port.

This port looks very different from the dia port. It would be best to keep the dia and dia-devel ports as similar as possible.

The dia port has many fewer dependencies, perhaps because gtk2 brings in the rest already. Perhaps you could do it that way in dia-devel as well. Otherwise, I suggest you modify the pango, cairo and glib2 dependencies to allow pango-devel, cairo-devel and glib2-devel to satisfy them.


Added Paths:
-----------
    trunk/dports/gnome/dia-devel/
    trunk/dports/gnome/dia-devel/Portfile

Added: trunk/dports/gnome/dia-devel/Portfile
===================================================================
--- trunk/dports/gnome/dia-devel/Portfile (rev 0) +++ trunk/dports/gnome/dia-devel/Portfile 2009-04-20 19:33:06 UTC (rev 49949)
@@ -0,0 +1,55 @@
+# -*- 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            dia-devel
+set my_name     dia
+version         0.97-pre3
+maintainers     nox openmaintainer
+categories      gnome
+platforms       darwin
+description     A diagram program.
+
+long_description \
+    Dia is designed to be much like the commercial Windows \
+    program Visio. It can be used to draw many different kinds \
+    of diagrams. It currently has special objects to help draw \
+    entity relationship diagrams, UML diagrams, flowcharts, \
+    network diagrams, and simple circuits. It is also possible \
+    to add support for new shapes by writing simple XML files, \
+    using a subset of SVG to draw the shape.
+
+homepage        http://live.gnome.org/Dia
+master_sites gnome:sources/${my_name}/[lindex [split ${version} -] 0]/
+distname        ${my_name}-${version}
+use_bzip2       yes
+
+checksums       md5     2723bccfdca2c0af9b85074b11f101e0 \
+                sha1    091301bdf43a0518ca492b8cb94a6829a1f1876b \
+                rmd160  b6a18ee3821daef46025e700bb24822c5774e760
+
+depends_build \
+    port:intltool
+
+depends_lib \
+    port:cairo \
+    port:freetype \
+    port:libart_lgpl \
+    port:libpng \
+    port:libxml2 \
+    port:libxslt \
+    port:gettext \
+    port:glib2 \
+    port:gtk2 \
+    port:pango \
+    port:popt \
+    port:zlib
+
+configure.args \
+    --with-cairo \
+    --with-xslt-prefix=${prefix}
+
+livecheck.check regex
+livecheck.url http://ftp.gnome.org/pub/gnome/sources/${my_name}/ [lindex [split ${version} -] 0]/
+livecheck.regex {LATEST-IS-(\d+(?:\.\d+)*(?:-pre\d)*)}


_______________________________________________
macports-dev mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo.cgi/macports-dev

Reply via email to