freebsd-ports/deskutils/superkaramba-lwp/Makefile
Rong-En Fan b4a6e84e50 - Update to 13.0
PR:		ports/102459
Submitted by:	Jason E. Hale <bsdkaffee at gmail.com> (maintainer)
2006-08-25 16:12:58 +00:00

51 lines
1.3 KiB
Makefile

# New ports collection makefile for: superkaramba-lwp
# Date created: Sun, May 28, 2006
# Whom: Jason E. Hale <bsdkaffee@gmail.com>
#
# $FreeBSD$
PORTNAME= lwp
PORTVERSION= 13.0
CATEGORIES= deskutils kde
MASTER_SITES= http://www.message.co.nz/~matt-sarah/ \
http://mirror1.liquidweather.net/ \
http://mirrors.borgnet.us/matt-lw/ \
http://liquidweather.net/
PKGNAMEPREFIX= superkaramba-
EXTRACT_SUFX= .skz
MAINTAINER= bsdkaffee@gmail.com
COMMENT= Liquid Weather ++ a Superkaramba weather applet
EXTRACT_DEPENDS= unzip:${PORTSDIR}/archivers/unzip
BUILD_DEPENDS= zip:${PORTSDIR}/archivers/zip
RUN_DEPENDS= convert:${PORTSDIR}/graphics/ImageMagick \
superkaramba:${PORTSDIR}/misc/kdeutils3 \
pyuic:${PORTSDIR}/x11-toolkits/py-qt
WRKSRC= ${WRKDIR}/${DISTNAME}
EXTRACT_CMD= ${UNZIP_CMD}
EXTRACT_BEFORE_ARGS= -q -d ${DISTNAME}
EXTRACT_AFTER_ARGS= # empty
NO_BUILD= yes
PLIST_SUB= LWPVER=${DISTFILES}
.include <bsd.port.pre.mk>
post-extract:
@cd ${WRKSRC} && ${RM} -f *~ locale/*/LC_MESSAGES/*.po*
@cd ${WRKSRC} && ${REINPLACE_CMD} -e 's|/usr/bin|${LOCALBASE}/bin|' \
test_gui.py
pre-install:
@cd ${WRKSRC} && zip -qr ${DISTFILES} *
do-install:
@${MKDIR} ${PREFIX}/share/apps/superkaramba/themes
@cd ${WRKSRC} && ${INSTALL_DATA} ${DISTFILES} \
${PREFIX}/share/apps/superkaramba/themes
.include <bsd.port.post.mk>