From 2d037539938ef6a30806d3cdf625abe2389dc6a2 Mon Sep 17 00:00:00 2001 From: ahze Date: Fri, 13 Oct 2006 09:31:41 +0000 Subject: - Add lightning-xpi An integrated calendar for Thunderbird WWW: http://www.mozilla.org/projects/calendar/lightning/ Note: this is pre-build binary contributed by myself. git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@7771 df743ca5-7f9a-e211-a948-0013205c9059 --- deskutils/lightning-xpi/Makefile | 48 +++++++++++++++++++++++++++++++++++++++ deskutils/lightning-xpi/distinfo | 6 +++++ deskutils/lightning-xpi/pkg-descr | 3 +++ 3 files changed, 57 insertions(+) create mode 100644 deskutils/lightning-xpi/Makefile create mode 100644 deskutils/lightning-xpi/distinfo create mode 100644 deskutils/lightning-xpi/pkg-descr diff --git a/deskutils/lightning-xpi/Makefile b/deskutils/lightning-xpi/Makefile new file mode 100644 index 000000000..1195d2672 --- /dev/null +++ b/deskutils/lightning-xpi/Makefile @@ -0,0 +1,48 @@ +# New ports collection makefile for: thunderbird-lightning +# Date created: 2006-10-13 +# Whom: Michael Johnson +# +# $FreeBSD$ +# $MCom$ + +PORTNAME= lightning +PORTVERSION= 0.3 +CATEGORIES= deskutils +MASTER_SITES= ${MASTER_SITE_LOCAL} +MASTER_SITE_SUBDIR= ahze +PKGNAMEPREFIX= thunderbird- +DISTNAME= ${PORTNAME}-${PORTVERSION}-tb-FreeBSD-${ARCH} +EXTRACT_SUFX= .xpi + +MAINTAINER= gnome@FreeBSD.org +COMMENT= An integrated calendar for Thunderbird + +RUN_DEPENDS= thunderbird:${PORTSDIR}/mail/thunderbird + +ONLY_FOR_ARCHS= i386 +NO_BUILD= yes +USE_ZIP= yes +EXTRACT_AFTER_ARGS= -d ${WRKSRC} +PLIST?= ${WRKDIR}/plist +LIGHTNING_DIR= lib/thunderbird/extensions/{3550f703-e582-4d05-9a08-453d09bdfdc6} + +pre-install: + ${RM} -f ${PLIST} + cd ${WRKSRC} && ${FIND} -s * -type f -o -type l | \ + ${SED} -e 's|^|${LIGHTNING_DIR}/|' >> ${PLIST} && \ + ${FIND} -d * -type d | \ + ${SED} -e 's|^|@dirrm ${LIGHTNING_DIR}/|' >> ${PLIST} + ${ECHO} "@dirrm ${LIGHTNING_DIR}" >> ${PLIST} + +do-install: + cd ${WRKSRC} && ${FIND} . | \ + ${CPIO} -pdm -L -R ${LIBOWN}:${LIBGRP} ${PREFIX}/${LIGHTNING_DIR} + +.if defined(MAKESUM) +.undef DISTNAME +.for arch in ${ONLY_FOR_ARCHS} +DISTFILES+= ${PORTNAME}-${PORTVERSION}-tb-FreeBSD-${arch}${EXTRACT_SUFX} +.endfor +.endif + +.include diff --git a/deskutils/lightning-xpi/distinfo b/deskutils/lightning-xpi/distinfo new file mode 100644 index 000000000..5623f19fd --- /dev/null +++ b/deskutils/lightning-xpi/distinfo @@ -0,0 +1,6 @@ +MD5 (lightning-0.3-tb-FreeBSD-i386.xpi) = c8f02df23507a79ed01da7dcd742331f +SHA256 (lightning-0.3-tb-FreeBSD-i386.xpi) = beba06e3cefb3f266c194306626fd3526a47330c5f4b159bf93f8e368d5de1fe +SIZE (lightning-0.3-tb-FreeBSD-i386.xpi) = 894976 +MD5 (lightning-0.3-tb-FreeBSD-sparc64.xpi) = c8f02df23507a79ed01da7dcd742331f +SHA256 (lightning-0.3-tb-FreeBSD-sparc64.xpi) = beba06e3cefb3f266c194306626fd3526a47330c5f4b159bf93f8e368d5de1fe +SIZE (lightning-0.3-tb-FreeBSD-sparc64.xpi) = 894976 diff --git a/deskutils/lightning-xpi/pkg-descr b/deskutils/lightning-xpi/pkg-descr new file mode 100644 index 000000000..51550ab93 --- /dev/null +++ b/deskutils/lightning-xpi/pkg-descr @@ -0,0 +1,3 @@ +An integrated calendar for Thunderbird + +WWW: http://www.mozilla.org/projects/calendar/lightning/ -- cgit v1.2.3