# This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # last-exit # last-exit/pkg-descr # last-exit/distinfo # last-exit/Makefile # last-exit/files # last-exit/files/patch-src_Driver.cs # last-exit/pkg-plist # echo c - last-exit mkdir -p last-exit > /dev/null 2>&1 echo x - last-exit/pkg-descr sed 's/^X//' >last-exit/pkg-descr << 'END-of-last-exit/pkg-descr' XLast Exit is a GTK player for Last.fm powered by Audioscrobbler. X XWWW: http://www.o-hand.com/~iain/last-exit/ X X- Florent Thoumie Xflz@FreeBSD.org END-of-last-exit/pkg-descr echo x - last-exit/distinfo sed 's/^X//' >last-exit/distinfo << 'END-of-last-exit/distinfo' XMD5 (last-exit-1.0.tar.bz2) = ed579d0358624ebee677d24f25be0273 XSHA256 (last-exit-1.0.tar.bz2) = 36f042025dd308f9aead81af3da8d0e6fdb72f8201298ac6a6a7a03ed7288a23 XSIZE (last-exit-1.0.tar.bz2) = 303878 END-of-last-exit/distinfo echo x - last-exit/Makefile sed 's/^X//' >last-exit/Makefile << 'END-of-last-exit/Makefile' X# New ports collection makefile for: last-exit X# Date created: Jul 10 2006 X# Whom: Florent Thoumie X# X# $FreeBSD$ X# X XPORTNAME= last-exit XPORTVERSION= 1.0 XCATEGORIES= audio XMASTER_SITES= http://www.o-hand.com/~iain/last-exit/ X XMAINTAINER= flz@FreeBSD.org XCOMMENT= GTK Last.fm unofficial player X XBUILD_DEPENDS= ${X11BASE}/libdata/pkgconfig/gtk-sharp-2.0.pc:${PORTSDIR}/x11-toolkits/gtk-sharp20 XRUN_DEPENDS= ${BUILD_DEPENDS} X XUSE_BZIP2= yes XUSE_GMAKE= yes XGNU_CONFIGURE= yes XCONFIGURE_TARGET= --build=${ARCH}-portbld-freebsd${OSREL} X XGCONF_SCHEMAS= last-exit.schemas \ X lastfm.schemas X XINSTALLS_ICONS= hicolor/24x24/apps/last-exit-24.png \ X hicolor/scalable/apps/last-exit.svg X X.include END-of-last-exit/Makefile echo c - last-exit/files mkdir -p last-exit/files > /dev/null 2>&1 echo x - last-exit/files/patch-src_Driver.cs sed 's/^X//' >last-exit/files/patch-src_Driver.cs << 'END-of-last-exit/files/patch-src_Driver.cs' X--- src/Driver.cs.orig Sun Jul 9 16:21:14 2006 X+++ src/Driver.cs Tue Jul 11 11:09:32 2006 X@@ -122,17 +122,8 @@ X Gtk.Window.DefaultIconList = default_icon_list; X } X X- [DllImport ("libc")] X- private static extern int prctl (int option, X- byte[] arg2, X- ulong arg3, X- ulong arg4, X- ulong arg5); X private static void SetProcessName (string name) X { X- if (prctl (15, Encoding.ASCII.GetBytes (name + "\0"), 0, 0, 0) != 0) { X- throw new ApplicationException ("Error setting process name: " + Mono.Unix.Native.Stdlib.GetLastError ()); X- } X } X X private static void SetUpConfigDirectory () END-of-last-exit/files/patch-src_Driver.cs echo x - last-exit/pkg-plist sed 's/^X//' >last-exit/pkg-plist << 'END-of-last-exit/pkg-plist' Xbin/last-exit Xlib/last-exit/liblastexit.so.0 Xlib/last-exit/liblastexit.so Xlib/last-exit/liblastexit.la Xlib/last-exit/liblastexit.a Xlib/last-exit/last-exit.exe Xlib/last-exit/last-exit.exe.config Xshare/applications/last-exit.desktop X@dirrm lib/last-exit END-of-last-exit/pkg-plist exit