Date: 25 Jan 2006 21:05:42 -0800 From: "Jason E. Hale" <bsdkaffee@gmail.com> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/92344: [NEW PORT] deskutils/superkaramba-lwp: Liquid Weather ++ Superkaramba applet Message-ID: <BAY101-DAV12A91647E74A78E46E33F1A7150@phx.gbl> Resent-Message-ID: <200601260510.k0Q5A2tB072702@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 92344 >Category: ports >Synopsis: [NEW PORT] deskutils/superkaramba-lwp: Liquid Weather ++ Superkaramba applet >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Thu Jan 26 05:10:02 GMT 2006 >Closed-Date: >Last-Modified: >Originator: Jason E. Hale >Release: FreeBSD 6.0-RELEASE-p2 i386 >Organization: none >Environment: System: FreeBSD 6.0-RELEASE-p2 #0: Sun Jan 15 02:05:35 EST 2006 i386 >Description: o New port: deskutils/superkaramba-lwp o This is Liquid Weather ++, a Superkaramba weather applet {http://liquidweather.net/) o This theme has become increasingly complicated, so have its requirements. For the average user, this would be a little daunting to figure out along with the fact that some of the files default to use absolute paths to /usr/bin instead of our LOCALBASE. o This is the first Superkaramba applet in the ports tree from what I can tell, so I have taken the initiative to install the theme in: ${LOCALBASE}/share/apps/superkaramba/themes Superkaramba does not install this directory by default, so I've used @dirrmtry in the pkg-plist so that if other Superkaramba applets are ported they can use this directory as well. Unfortunately this forced the use of a two-line pkg-plist. >How-To-Repeat: Use the shell archive in Fix section. >Fix: --- superkaramba-lwp.shar begins here --- # 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: # # superkaramba-lwp # superkaramba-lwp/Makefile # superkaramba-lwp/pkg-descr # superkaramba-lwp/distinfo # superkaramba-lwp/pkg-plist # echo c - superkaramba-lwp mkdir -p superkaramba-lwp > /dev/null 2>&1 echo x - superkaramba-lwp/Makefile sed 's/^X//' >superkaramba-lwp/Makefile << 'END-of-superkaramba-lwp/Makefile' X# New ports collection makefile for: superkaramba-lwp X# Date created: Sat, Jan 21, 2006 X# Whom: Jason E. Hale <bsdkaffee@gmail.com> X# X# $FreeBSD$ X XPORTNAME= lwp XPORTVERSION= 9.2 XCATEGORIES= deskutils kde XMASTER_SITES= http://www.message.co.nz/~matt-sarah/ \ X http://mirror1.liquidweather.net/ \ X http://mirrors.borgnet.us/matt-lw/ \ X http://liquidweather.net/ XPKGNAMEPREFIX= superkaramba- XEXTRACT_SUFX= .skz X XMAINTAINER= bsdkaffee@gmail.com XCOMMENT= Liquid Weather ++ a Superkaramba weather applet X XEXTRACT_DEPENDS= unzip:${PORTSDIR}/archivers/unzip XBUILD_DEPENDS= zip:${PORTSDIR}/archivers/zip XRUN_DEPENDS+= convert:${PORTSDIR}/graphics/ImageMagick \ X pyuic:${PORTSDIR}/x11-toolkits/py-qt X XCONFLICTS+= superkaramba-0.[33-36] X XWRKSRC= ${WRKDIR}/${DISTNAME} X XEXTRACT_CMD= ${UNZIP_CMD} XEXTRACT_BEFORE_ARGS= -q -d ${DISTNAME} XEXTRACT_AFTER_ARGS= # empty X XNO_BUILD= yes X XPLIST_SUB= LWPVER=${DISTFILES} X X.ifndef (WITHOUT_KDEUTILS) XCONFLICTS+= superkaramba-0* XRUN_DEPENDS+= superkaramba:${PORTSDIR}/misc/kdeutils3 X.else XCONFLICTS+= kdeutils-3.[5-9]* XRUN_DEPENDS+= superkaramba:${PORTSDIR}/deskutils/superkaramba X.endif X X.include <bsd.port.pre.mk> X Xpre-everything:: X.ifndef (WITHOUT_KDEUTILS) X @${ECHO_MSG} "***If you would rather use deskutils/superkaramba" X @${ECHO_MSG} "***instead of misc/kdeutils3, hit CTRL-C now and" X @${ECHO_MSG} "***define WITHOUT_KDEUTILS=yes" X.endif X Xpost-extract: X @cd ${WRKSRC} && ${RM} *~ locale/*/LC_MESSAGES/*~ Makefile* X @cd ${WRKSRC} && ${REINPLACE_CMD} -e 's|/usr/bin|${LOCALBASE}/bin|g;' \ X create_po.py debug.py liquid_weather.py liquid_weather.ui.h \ X lwp_config.py test_gui.py X Xpre-install: X @cd ${WRKSRC} && zip -qr ${DISTFILES} * X Xdo-install: X @${MKDIR} ${LOCALBASE}/share/apps/superkaramba/themes X @cd ${WRKSRC} && ${INSTALL_DATA} ${DISTFILES} \ X ${LOCALBASE}/share/apps/superkaramba/themes X X.include <bsd.port.post.mk> END-of-superkaramba-lwp/Makefile echo x - superkaramba-lwp/pkg-descr sed 's/^X//' >superkaramba-lwp/pkg-descr << 'END-of-superkaramba-lwp/pkg-descr' XLiquid Weather ++ is a Superkaramba theme and desktop applet for Xdisplaying weather information and forecasts in a compact and easy Xto read format - it's pretty too. X XWWW: http://liquidweather.net/ END-of-superkaramba-lwp/pkg-descr echo x - superkaramba-lwp/distinfo sed 's/^X//' >superkaramba-lwp/distinfo << 'END-of-superkaramba-lwp/distinfo' XMD5 (lwp-9.2.skz) = b62d060f0cec8519bd57135d76384226 XSHA256 (lwp-9.2.skz) = 99e8f267c92e11398d5148e2fae8a45cb1811075543cd486b29669831c4ac68a XSIZE (lwp-9.2.skz) = 3833582 END-of-superkaramba-lwp/distinfo echo x - superkaramba-lwp/pkg-plist sed 's/^X//' >superkaramba-lwp/pkg-plist << 'END-of-superkaramba-lwp/pkg-plist' Xshare/apps/superkaramba/themes/%%LWPVER%% X@dirrmtry share/apps/superkaramba/themes END-of-superkaramba-lwp/pkg-plist exit --- superkaramba-lwp.shar ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?BAY101-DAV12A91647E74A78E46E33F1A7150>