# $Id: Portfile 50572 2009-05-04 19:19:09Z jeremyhu@macports.org $

PortSystem 1.0
name	 	desklaunch	
version	       	1.1.5
revision	3
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/
maintainers	nomaintainer	
categories	x11
platforms	darwin 
distname	${name}_${version}
master_sites    http://www.oroborus.org/debian/dists/sid/main/source/x11/
checksums	md5 502c8799e3972561589534b7e06214c6
		# not verified -- upstream does not publish signatures!
depends_lib \
        port:xorg-libXext \
        port:xpm

patchfiles	patch-Makefile
worksrcdir	${name}-${version}
use_configure no
destroot.destdir	DESTDIR=${destroot}${prefix}

build.args-append XROOT="${prefix}" \
                 CFLAGS="${configure.cflags}"

variant universal {
	build.args-append CFLAGS="${configure.cflags} ${configure.universal_cflags}"
}

post-destroot {
	move ${destroot}${prefix}/man/man1/desklaunch.1 ${destroot}${prefix}/share/man/man1
}
