Skip to content
Permalink
Browse files

desklaunch: Update to 1.1.8

  • Loading branch information
ryandesign committed Oct 1, 2018
1 parent a6a11ce commit 4d8e403d7bfa2f1e13ff63af4d99bdc4c21e339f
@@ -1,35 +1,42 @@
PortSystem 1.0

name desklaunch
version 1.1.5
revision 3
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}
master_sites https://www.oroborus.org/debian/dists/sid/main/source/x11/
checksums md5 502c8799e3972561589534b7e06214c6
# not verified -- upstream does not publish signatures!
depends_lib \

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

patchfiles patch-Makefile
worksrcdir ${name}-${version}

patchfiles desklaunch.1.patch \
Makefile.patch

use_configure no
destroot.destdir DESTDIR=${destroot}${prefix}
universal_variant yes

build.args-append XROOT="${prefix}" \
CFLAGS="${configure.cflags}"
build.args CC="${configure.cc}" \
INCLUDES="${configure.cppflags}" \
PREFIX="${prefix}"

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

post-destroot {
move ${destroot}${prefix}/man/man1/desklaunch.1 ${destroot}${prefix}/share/man/man1
}
destroot.args {*}${build.args}
@@ -0,0 +1,31 @@
--- Makefile.orig 2010-11-30 05:58:10.000000000 -0600
+++ Makefile 2018-10-01 10:57:33.000000000 -0500
@@ -7,7 +7,7 @@

DESTDIR =
PROG = desklaunch
-PREFIX = $(DESTDIR)/usr
+PREFIX = /usr
RCFILE = .$(PROG)rc
DEFINES = -DRCFILE=\"$(RCFILE)\" #-DDEBUG

@@ -22,12 +22,17 @@
$(CC) $(CFLAGS) $(DEFINES) $(INCLUDES) -c $< -o $@

install: all
- install $(PROG) $(PREFIX)/bin
- install -d $(PREFIX)/share/$(PROG)
+ install -d $(DESTDIR)$(PREFIX)/bin
+ install $(PROG) $(DESTDIR)$(PREFIX)/bin
+ install -d $(DESTDIR)$(PREFIX)/share/$(PROG)
+ install debian/example_rc $(DESTDIR)$(PREFIX)/share/$(PROG)
+ install -d $(DESTDIR)$(PREFIX)/share/man/man1
+ install debian/$(PROG).1 $(DESTDIR)$(PREFIX)/share/man/man1/

uninstall:
rm -f $(PREFIX)/bin/$(PROG)
rm -rf $(PREFIX)/share/$(PROG)
+ rm -f $(PREFIX)/share/man/man1/$(PROG).1

clean:
rm -f $(PROG) $(OBJS)
@@ -0,0 +1,18 @@
--- debian/desklaunch.1.orig 2010-02-14 10:09:36.000000000 -0600
+++ debian/desklaunch.1 2018-10-01 11:05:52.000000000 -0500
@@ -34,13 +34,13 @@
and command is the command to execute once clicked.
.SH "AUTHORS"
.LP
-Ken Lynch<oroborus@blueyonder.co.uk>
+Ken Lynch <oroborus@blueyonder.co.uk>
.br
Ken stopped developing on Deskmenu in late 2001.
.br
Stefan Pfetzing <dreamind@dreamind.de> (c) 2002-2010
.br
-This manpage was written by Brandon L. Griffith <brandon@debian.org> because the origonal program did not include one.
+This manpage was written by Brandon L. Griffith <brandon@debian.org> because the original program did not include one.
.SH "SEE ALSO"
.LP
oroborus(1) keylaunch(1) deskmenu(1)

This file was deleted.

0 comments on commit 4d8e403

Please sign in to comment.
You can’t perform that action at this time.