[45290] trunk/dports/aqua/fltk/Portfile

alakazam at macports.org alakazam at macports.org
Mon Jan 12 17:18:27 PST 2009


Revision: 45290
          http://trac.macports.org/changeset/45290
Author:   alakazam at macports.org
Date:     2009-01-12 17:18:27 -0800 (Mon, 12 Jan 2009)
Log Message:
-----------
Fix FLTK port that was creating an inappropriate 'fluid' file during post-activate
  - Remove the post activate phase added by r23897 and should have been removed by r36328.
    This fixes the creation of a 'fluid' file with only a ressource fork in
    the bzip2 port's directory, thanks blb !
  - Remove pre-MacPorts-1.7.0 code
  - Add livecheck
  - Claim maintainership

Modified Paths:
--------------
    trunk/dports/aqua/fltk/Portfile

Modified: trunk/dports/aqua/fltk/Portfile
===================================================================
--- trunk/dports/aqua/fltk/Portfile	2009-01-12 23:52:15 UTC (rev 45289)
+++ trunk/dports/aqua/fltk/Portfile	2009-01-13 01:18:27 UTC (rev 45290)
@@ -6,7 +6,7 @@
 version         1.1.9
 categories      aqua devel
 platforms       macosx
-maintainers     nomaintainer
+maintainers     alakazam openmaintainer
 description     Fast Light Tool Kit
 
 long_description \
@@ -36,11 +36,6 @@
                 port:libpng \
                 port:zlib
 
-# Can be removed once MacPorts 1.7.0 is released
-if {![info exists applications_dir]} {
-    set applications_dir /Applications/MacPorts
-}
-
 post-patch {
     reinplace "s|/Applications|${applications_dir}/${name}|g" \
         ${worksrcpath}/fluid/Makefile \
@@ -55,7 +50,6 @@
 destroot.target install \
                 install-desktop
 
-post-activate {
-    system "${prefix}/bin/fltk-config --post fluid"
-}
-
+livecheck.check regexm
+livecheck.url   ${homepage}
+livecheck.regex "Stable Release.*?\n.*?VERSION=(\\d+(\\.\\d+)*)'"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090112/3962169a/attachment.html>


More information about the macports-changes mailing list