[43246] trunk/dports/x11/desklaunch/Portfile
jeremyhu at macports.org
jeremyhu at macports.org
Sun Dec 7 03:36:27 PST 2008
Revision: 43246
http://trac.macports.org/changeset/43246
Author: jeremyhu at macports.org
Date: 2008-12-07 03:36:26 -0800 (Sun, 07 Dec 2008)
Log Message:
-----------
desklaunch: Fixed universal variant, use_configure instead of empty configure block, added missing dep on xpm, updated X11 dependencies
Modified Paths:
--------------
trunk/dports/x11/desklaunch/Portfile
Modified: trunk/dports/x11/desklaunch/Portfile
===================================================================
--- trunk/dports/x11/desklaunch/Portfile 2008-12-07 11:27:09 UTC (rev 43245)
+++ trunk/dports/x11/desklaunch/Portfile 2008-12-07 11:36:26 UTC (rev 43246)
@@ -3,7 +3,7 @@
PortSystem 1.0
name desklaunch
version 1.1.5
-revision 0
+revision 1
description DeskLaunch is a small utility for creating desktop icons.
long_description DeskLaunch is a small utility for creating desktop icons using pixmaps. A simple click will launch the desired application. DeskLaunch itself runs unter X11 and uses a small configuration file to decide which icons to create. It is meant to supplement the Oroborus \"minimalistic window manager\".
homepage http://www.oroborus.org/
@@ -15,8 +15,23 @@
opendarwin
checksums md5 502c8799e3972561589534b7e06214c6
# not verified -- upstream does not publish signatures!
-depends_lib lib:libX11.6:XFree86 lib:libXext.6:XFree86
+depends_lib \
+ lib:libXext.6:xorg-libXext \
+ lib:libXpm.4:xpm
+
patchfiles patch-Makefile
worksrcdir ${name}-${version}
-configure {}
+use_configure no
destroot.destdir DESTDIR=${destroot}${prefix}
+
+build.target-append CFLAGS="${configure.cflags}" \
+ LDPATH="${configure.ldflags}"
+
+variant universal {
+ build.target-append CFLAGS="${configure.cflags} ${configure.universal_cflags} -I${x11prefix}/include" \
+ LDPATH="${configure.ldflags} ${configure.universal_ldflags} -L${x11prefix}/lib"
+}
+
+post-destroot {
+ move ${destroot}${prefix}/man/man1/desklaunch.1 ${destroot}${prefix}/share/man/man1
+}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20081207/894b4256/attachment.html>
More information about the macports-changes
mailing list