[89576] trunk/dports/kde/kdeedu4/Portfile

snc at macports.org snc at macports.org
Fri Feb 3 07:17:46 PST 2012


Revision: 89576
          http://trac.macports.org/changeset/89576
Author:   snc at macports.org
Date:     2012-02-03 07:17:44 -0800 (Fri, 03 Feb 2012)
Log Message:
-----------
kdeedu4: become meta-package (see: https://trac.macports.org/wiki/KDEPackages)

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

Modified: trunk/dports/kde/kdeedu4/Portfile
===================================================================
--- trunk/dports/kde/kdeedu4/Portfile	2012-02-03 14:50:06 UTC (rev 89575)
+++ trunk/dports/kde/kdeedu4/Portfile	2012-02-03 15:17:44 UTC (rev 89576)
@@ -5,8 +5,7 @@
 PortGroup           kde4   1.1
 
 name                kdeedu4
-version             4.6.0
-revision            1
+version             4.7.4
 categories          kde kde4
 maintainers         snc sharky
 description         Education based applications for the KDE4 platform
@@ -14,33 +13,41 @@
 platforms           darwin
 homepage            http://www.kde.org
 
+
 distfiles
+use_configure       no
+extract {           file mkdir ${worksrcpath}/${name} }
+build               {}
 
-pre-extract {
-    ui_error "${name} has split into several ports. Please view `port notes ${name}`."
-    return -code error "obsolete port"
+
+depends_lib-append  port:blinken\
+                    port:cantor\
+                    port:kalgebra\
+                    port:kalzium\
+                    port:kanagram\
+                    port:kbruch\
+                    port:kgeography\
+                    port:khangman\
+                    port:kig\
+                    port:kiten\
+                    port:klettres\
+                    port:kmplot\
+                    port:kstars\
+                    port:ktouch\
+                    port:kturtle\
+                    port:kwordquiz\
+                    port:marble\
+                    port:parley\
+                    port:rocs\
+                    port:step
+
+destroot {
+   # Create a dummy file so the port can be successfully activated
+   xinstall -d ${destroot}${prefix}/share/doc/kdeedu4
+   set docfile [open ${destroot}${prefix}/share/doc/kdeedu4/README.${name}.txt "w"]
+   puts $docfile "Meta-port for kdeedu4\n"
+   puts $docfile "${long_description}\n"
+   close $docfile
 }
 
 livecheck.type      none
-
-notes "The kdeedu package has split; now each program can be installed separately, depending on a common library. Here is the list of programs:
- * blinken
- * cantor
- * kalgebra
- * kalzium
- * kanagram
- * kbruch
- * kgeography
- * khangman
- * kig
- * kiten
- * klettres
- * kmplot
- * kstars
- * ktouch
- * kturtle
- * kwordquiz
- * marble
- * parley 
- * rocs
- * step"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120203/23a31cee/attachment.html>


More information about the macports-changes mailing list