[43228] trunk/dports/x11/abclock/Portfile
jeremyhu at macports.org
jeremyhu at macports.org
Sun Dec 7 00:58:20 PST 2008
Revision: 43228
http://trac.macports.org/changeset/43228
Author: jeremyhu at macports.org
Date: 2008-12-07 00:58:19 -0800 (Sun, 07 Dec 2008)
Log Message:
-----------
abclick: Added missing dependency and support for +universal
Modified Paths:
--------------
trunk/dports/x11/abclock/Portfile
Modified: trunk/dports/x11/abclock/Portfile
===================================================================
--- trunk/dports/x11/abclock/Portfile 2008-12-07 08:51:56 UTC (rev 43227)
+++ trunk/dports/x11/abclock/Portfile 2008-12-07 08:58:19 UTC (rev 43228)
@@ -3,6 +3,7 @@
PortSystem 1.0
name abclock
version 1.0d
+revision 1
categories x11
maintainers nomaintainer
description analog clock for X
@@ -20,8 +21,15 @@
reinplace "s|#include <values.h>||" ${worksrcpath}/abclock.c
}
use_configure no
-build.target all
+build.target all XLIBDIR="-L${prefix}/lib -L${x11prefix}/lib" XINCLUDEDIR="-I${prefix}/include -I${x11prefix}/include" OPT="${configure.cflags}"
destroot {
xinstall -m 555 ${worksrcpath}/abclock ${destroot}${prefix}/bin
xinstall -m 555 ${worksrcpath}/abc_img ${destroot}${prefix}/bin
}
+
+depends_lib \
+ lib:libX11.6:xorg-libX11
+
+variant universal {
+ build.target-append OPT="${configure.cflags} ${configure.universal_cflags}\"
+}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20081207/ae5a6fc7/attachment.html>
More information about the macports-changes
mailing list