[22940] trunk/dports/x11/ion3/Portfile

source_changes at macosforge.org source_changes at macosforge.org
Mon Mar 19 14:44:02 PDT 2007


Revision: 22940
          http://trac.macosforge.org/projects/macports/changeset/22940
Author:   pmq at macports.org
Date:     2007-03-19 14:43:47 -0700 (Mon, 19 Mar 2007)

Log Message:
-----------
Update to 20070203
Remove now useless patches
Use the system asprintf

Modified Paths:
--------------
    trunk/dports/x11/ion3/Portfile

Modified: trunk/dports/x11/ion3/Portfile
===================================================================
--- trunk/dports/x11/ion3/Portfile	2007-03-19 21:19:34 UTC (rev 22939)
+++ trunk/dports/x11/ion3/Portfile	2007-03-19 21:43:47 UTC (rev 22940)
@@ -3,7 +3,7 @@
 PortSystem        1.0
 
 name              ion3
-version           3ds-20060524
+version           3ds-20070203
 categories        x11 x11-wm
 maintainers       pmq at macports.org
 
@@ -17,26 +17,20 @@
 homepage          http://modeemi.cs.tut.fi/~tuomov/ion/
 master_sites      http://iki.fi/~tuomov/dl/
 distname          ion-${version}
-checksums         sha1 65b6bb55205e9c16f02438e3586876416222999e \
-		  rmd160 97a86785437fce3ba91e8edfbd412e199415f545
+checksums         sha1 41837145662f7f84c29515582c92c5f1b1ea0f81 \
+		  rmd160 5a208900986c9fa62912754f8a35f245165fc7c0
 
 depends_lib       lib:libX11.6:XFree86 lib:libXext.6:XFree86 \
 		  port:lua port:gettext
 
-patchfiles	  patch-ion-Makefile patch-pwm-Makefile
-
-use_autoconf	  yes
-configure.env	  CPPFLAGS="-I${prefix}/include" LDFLAGS="-L${prefix}/lib"
-configure.args	  --disable-shared --with-lua-libraries=${prefix}
-
-build.env         INCLUDES="-I${prefix}/include" LIBS="-lintl"
-
-destroot.destdir  VARDIR=${destroot}/var/cache/ion3 \
-                  LOCALEDIR=${destroot}${prefix}/share/locale \
-                  prefix=${destroot}${prefix}
-
-post-destroot {
-    foreach langdir [list cs de fi] {
-        file delete -force ${destroot}/${prefix}/share/man/${langdir}
-    }
+configure {
+    # don't put these in a patch because it changes w/ every release
+    reinplace "s|/usr/local|${prefix}|g" ${worksrcpath}/system.mk
+    reinplace "s|/var/cache/ion3|${prefix}/var/cache/ion3|g" ${worksrcpath}/system.mk
+    reinplace "s|#PRELOAD_MODULES|PRELOAD_MODULES|g" ${worksrcpath}/system.mk
+    reinplace "s|#HAS_SYSTEM_ASPRINTF|HAS_SYSTEM_ASPRINTF|g" ${worksrcpath}/system.mk
+    reinplace "s|#EXTRA_LIBS|EXTRA_LIBS|g" ${worksrcpath}/system.mk
 }
+
+build.env         INCLUDES="-I${prefix}/include" LIBS="-L${prefix}/lib"
+destroot.destdir  PREFIX=${destroot}${prefix}

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20070319/ca5c5605/attachment.html


More information about the macports-changes mailing list