[81842] trunk/dports/kde/kdegraphics4/Portfile

snc at macports.org snc at macports.org
Fri Aug 5 11:51:42 PDT 2011


Revision: 81842
          http://trac.macports.org/changeset/81842
Author:   snc at macports.org
Date:     2011-08-05 11:51:42 -0700 (Fri, 05 Aug 2011)
Log Message:
-----------
kdegraphics4: update to 4.7.0 as metapackage, #30493

Modified Paths:
--------------
    trunk/dports/kde/kdegraphics4/Portfile

Modified: trunk/dports/kde/kdegraphics4/Portfile
===================================================================
--- trunk/dports/kde/kdegraphics4/Portfile	2011-08-05 18:47:41 UTC (rev 81841)
+++ trunk/dports/kde/kdegraphics4/Portfile	2011-08-05 18:51:42 UTC (rev 81842)
@@ -5,20 +5,47 @@
 PortGroup           kde4   1.1
 
 name                kdegraphics4
-version             4.6.0
-revision            3
+version             4.7.0
 categories          kde kde4
 maintainers         snc sharky michaelld
-description         KDE4 graphics applications
-long_description    KDE applications for managing and creating image files.
+description         KDE4 graphics applications - Meta package
+long_description    KDE applications for managing and creating image files. \
+                    This is a meta-port containing all the components of the \
+                    former kdegraphics package.
 platforms           darwin
 homepage            http://www.kde.org
 
 distfiles
+use_configure       no
+extract {           file mkdir ${worksrcpath}/${name} }
+build               {}
 
-pre-extract {
-    ui_error "${name} has been split into several separate ports"
-    return -code error "obsolete port"
+
+depends_lib-append  port:gwenview \
+                    port:kamera \
+                    port:kcolorchooser \
+                    port:kdegraphics-strigi-analyzer \
+                    port:kdegraphics-thumbnailers \
+                    port:kolourpaint \
+                    port:kruler \
+                    port:ksaneplugin \
+                    port:libkdcraw \
+                    port:libkexiv2 \
+                    port:libkipi \
+                    port:libksane \
+                    port:mobipocket \
+                    port:okular \
+                    port:svgpart
+#                   port:kgamma \
+#                   port:snapshot \
+
+destroot {
+    # Create a dummy file so the port can be successfully activated
+    xinstall -d ${destroot}${prefix}/share/doc/kdegraphics4
+    set docfile [open ${destroot}${prefix}/share/doc/kdegraphics4/README.${name}.txt "w"]
+    puts $docfile "Meta-port for kdegraphics4\n"
+    puts $docfile "${long_description}\n"
+    close $docfile
 }
 
 livecheck.type      none
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110805/1ca7c607/attachment.html>


More information about the macports-changes mailing list