[65870] trunk/dports/x11/evilwm/Portfile
ryandesign at macports.org
ryandesign at macports.org
Fri Apr 2 03:23:44 PDT 2010
Revision: 65870
http://trac.macports.org/changeset/65870
Author: ryandesign at macports.org
Date: 2010-04-02 03:23:41 -0700 (Fri, 02 Apr 2010)
Log Message:
-----------
evilwm: update to 1.0.1, add new dependency on xorg-libXrandr, support build_arch
Modified Paths:
--------------
trunk/dports/x11/evilwm/Portfile
Modified: trunk/dports/x11/evilwm/Portfile
===================================================================
--- trunk/dports/x11/evilwm/Portfile 2010-04-02 10:12:01 UTC (rev 65869)
+++ trunk/dports/x11/evilwm/Portfile 2010-04-02 10:23:41 UTC (rev 65870)
@@ -1,8 +1,7 @@
# $Id$
PortSystem 1.0
name evilwm
-version 0.99.21
-revision 3
+version 1.0.1
description A minimalist window manager for the X Window System.
long_description ${description}
maintainers nomaintainer
@@ -10,19 +9,34 @@
platforms darwin
homepage http://www.6809.org.uk/evilwm/
master_sites ${homepage}
-checksums md5 092dff2f7c1151af6823029db8fa4d62
+
+checksums md5 8fd9256c635cce2289b648a01d54202c \
+ sha1 35e380b059ac6030460a4bdc85cbde4e7f36146c \
+ rmd160 da850746a3c2af462105b6353e8af900b336403c
+
use_parallel_build yes
depends_lib \
+ port:xorg-libXrandr \
port:xorg-libXext
-configure {
- reinplace "s|XROOT=.*|XROOT=${prefix}|" ${worksrcpath}/Makefile
- reinplace "s|\$(LDFLAGS)|\$(LDFLAGS) \$(OTHERLDFLAGS)|g" ${worksrcpath}/Makefile
-}
+use_configure no
-build.target-append CFLAGS="${configure.cflags}" OTHERLDFLAGS="${configure.ldflags}" prefix="${destroot}${prefix}"
-variant universal {
- build.target-append CFLAGS="${configure.cflags} ${configure.universal_cflags}" OTHERLDFLAGS="${configure.ldflags} ${configure.universal_ldflags}"
+variant universal {}
+if {[variant_isset universal]} {
+ configure.cflags-append ${configure.universal_cflags}
+ configure.ldflags-append ${configure.universal_ldflags}
+} elseif {${build_arch} != ""} {
+ configure.cflags-append ${configure.cc_archflags}
+ if {[info exists configure.ld_archflags]} {
+ configure.ldflags-append ${configure.ld_archflags}
+ }
}
-destroot.target-append prefix="${destroot}${prefix}"
+build.args-append \
+ CC=${configure.cc} \
+ CFLAGS="[join ${configure.cflags}]" \
+ INCLUDES="[join ${configure.cppflags}]" \
+ LDPATH="[join ${configure.ldflags}]"
+
+destroot.args-append \
+ prefix="${destroot}${prefix}"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20100402/cdda8366/attachment.html>
More information about the macports-changes
mailing list