PortSystem 1.0

name	 	desklaunch
version             1.1.8
checksums           rmd160  9521264d20864b996f7aa2899f80e9b75fa76856 \
                    sha256  8cb14b959f80ab119d9a420494c36d6fa80108d3a5febd98cdd76713a1b73dd3 \
                    size    14258

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	https://www.oroborus.org/
maintainers	nomaintainer
categories	x11
license	       	GPL-2+
platforms	darwin

master_sites        debian:d/desklaunch
distname	${name}_${version}

depends_lib         port:xorg-libX11 \
        port:xorg-libXext \
        port:xpm

worksrcdir	${name}-${version}

patchfiles          desklaunch.1.patch \
                    Makefile.patch

use_configure no
universal_variant   yes

build.args          CC="${configure.cc}" \
                    INCLUDES="${configure.cppflags}" \
                    PREFIX="${prefix}"

pre-build {
    build.args-append \
                    CFLAGS="${configure.cflags} [get_canonical_archflags cc]" \
                    LDPATH="${configure.ldflags} [get_canonical_archflags ld]"
}

destroot.args       {*}${build.args}
