[122804] trunk/dports/x11/fireworkx/Portfile
khindenburg at macports.org
khindenburg at macports.org
Wed Jul 30 07:57:30 PDT 2014
Revision: 122804
https://trac.macports.org/changeset/122804
Author: khindenburg at macports.org
Date: 2014-07-30 07:57:30 -0700 (Wed, 30 Jul 2014)
Log Message:
-----------
fireworkx: update to 2.2 - add build depends
Modified Paths:
--------------
trunk/dports/x11/fireworkx/Portfile
Modified: trunk/dports/x11/fireworkx/Portfile
===================================================================
--- trunk/dports/x11/fireworkx/Portfile 2014-07-30 13:20:44 UTC (rev 122803)
+++ trunk/dports/x11/fireworkx/Portfile 2014-07-30 14:57:30 UTC (rev 122804)
@@ -3,7 +3,7 @@
PortSystem 1.0
name fireworkx
-version 1.4
+version 2.2
categories x11
license GPL-2+
platforms darwin
@@ -12,29 +12,32 @@
long_description ${description}
homepage http://www.ronybc.com/fireworkx.php
-master_sites http://www.ibiblio.org/pub/Linux/X11/colors/
+master_sites http://www.ronybc.com/download
extract.suffix .src${extract.suffix}
-checksums rmd160 5c18e645f93ef8416c79b64664f0d9dc017cc86e \
- sha256 61dfee222b9216a542b8ab3dd8b6c3f17daca09da962fe17b4e295d4dae02aef
-patchfiles Makefile.patch
+checksums rmd160 ee1a8af9148421fbe4c50cbf6ad23ecfbfec48bf \
+ sha256 fb24bd3fb103987913638fd271269e0235dc0c32e34c95652e49c0c81749a44d
+
+depends_build-append port:pkgconfig port:cctools
depends_lib \
port:xorg-libX11
+use_configure no
+
post-patch {
- system -W ${worksrcpath} {echo "#define HAVE_X86_MMX 0" > config.h}
+ reinplace "s|pkg-config|${prefix}/bin/pkg-config|" ${worksrcpath}/compile_x11
+ reinplace "s|strip -sv|strip |" ${worksrcpath}/compile_x11
}
-use_configure no
-
destroot {
- xinstall -m 755 -s ${worksrcpath}/fireworkx ${destroot}${prefix}/bin
+ xinstall -m 755 -s ${worksrcpath}/fireworkx-x11 ${destroot}${prefix}/bin/${name}
xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}
- xinstall -m 644 -W ${worksrcpath} ChangeLog.txt LICENSE README.src \
+ xinstall -m 644 -W ${worksrcpath} ChangeLog.txt LICENSE \
${destroot}${prefix}/share/doc/${name}
}
variant universal {}
+build.cmd "./compile_x11 fireworkx-x11"
build.args CFLAGS="${configure.cflags} [get_canonical_archflags cc] ${configure.cppflags}" \
LDFLAGS="${configure.ldflags} [get_canonical_archflags ld]" \
CC="${configure.cc}"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20140730/49a73d1a/attachment.html>
More information about the macports-changes
mailing list