diff options
author | ahze <ahze@FreeBSD.org> | 2006-11-18 13:03:17 +0800 |
---|---|---|
committer | ahze <ahze@FreeBSD.org> | 2006-11-18 13:03:17 +0800 |
commit | f39efbbcd834147e3821d4185ec1fab80c2def33 (patch) | |
tree | 95bfe5839272419699e1ba26b51ab2f14cdc7537 /deskutils/lightning-xpi | |
parent | ae19ab080cf6082564a92f2352a49524563803b4 (diff) | |
download | freebsd-ports-gnome-f39efbbcd834147e3821d4185ec1fab80c2def33.tar.gz freebsd-ports-gnome-f39efbbcd834147e3821d4185ec1fab80c2def33.tar.zst freebsd-ports-gnome-f39efbbcd834147e3821d4185ec1fab80c2def33.zip |
Add lightning-xpi
An integrated calendar for Thunderbird
** Note that this port is a binary plugin for Thunderbird and you may want
** to build from source via ports/mail/lightning (includes Thunderbird)
WWW: http://www.mozilla.org/projects/calendar/lightning/
Diffstat (limited to 'deskutils/lightning-xpi')
-rw-r--r-- | deskutils/lightning-xpi/Makefile | 57 | ||||
-rw-r--r-- | deskutils/lightning-xpi/distinfo | 6 | ||||
-rw-r--r-- | deskutils/lightning-xpi/pkg-descr | 6 |
3 files changed, 69 insertions, 0 deletions
diff --git a/deskutils/lightning-xpi/Makefile b/deskutils/lightning-xpi/Makefile new file mode 100644 index 000000000000..95ece60b4cd8 --- /dev/null +++ b/deskutils/lightning-xpi/Makefile @@ -0,0 +1,57 @@ +# New ports collection makefile for: thunderbird-lightning +# Date created: 2006-10-13 +# Whom: Michael Johnson <ahze@FreeBSD.org> +# +# $FreeBSD$ +# $MCom: ports/deskutils/lightning-xpi/Makefile,v 1.4 2006/10/14 00:16:08 ahze Exp $ + +PORTNAME= lightning +PORTVERSION= 0.3 +PORTREVISION= 2 +CATEGORIES= deskutils +MASTER_SITES= ${MASTER_SITE_LOCAL} +MASTER_SITE_SUBDIR= ahze +PKGNAMESUFFIX= -xpi +DISTNAME= ${PORTNAME}-${PORTVERSION}-tb-FreeBSD-${ARCH} +EXTRACT_SUFX= .xpi + +MAINTAINER= gnome@FreeBSD.org +COMMENT= An integrated calendar for Thunderbird + +CONFLICTS= lightning-0.[0-9]* +ONLY_FOR_ARCHS= i386 sparc64 +NO_BUILD= yes +USE_ZIP= yes +EXTRACT_AFTER_ARGS= -d ${WRKSRC} +PLIST?= ${WRKDIR}/plist +LIGHTNING_DIR= lib/thunderbird/extensions/{e2fda1a4-762b-4020-b5ad-a41df1933103} +USE_GECKO= thunderbird + +.include <bsd.port.pre.mk> +.include "${PORTSDIR}/www/mozilla/bsd.gecko.mk" + +.if ${OSVERSION} < 600000 +IGNORE= precompiled binaries for 6.x +.endif + +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: + ${MKDIR} ${PREFIX}/${LIGHTNING_DIR} + ${CHMOD} 0755 ${PREFIX}/${LIGHTNING_DIR} + @(cd ${WRKSRC} && ${PAX} -U ${LIBOWN} -G ${LIBGRP} -vrw . ${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 <bsd.port.post.mk> diff --git a/deskutils/lightning-xpi/distinfo b/deskutils/lightning-xpi/distinfo new file mode 100644 index 000000000000..b2ff72f53277 --- /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) = 56f3b1d13139d01a6c39a192f019babc +SHA256 (lightning-0.3-tb-FreeBSD-sparc64.xpi) = 2e2400e24dfe79932b35fd575f735bd68cb02fb804545bf3c3b3ce0b5163b104 +SIZE (lightning-0.3-tb-FreeBSD-sparc64.xpi) = 892416 diff --git a/deskutils/lightning-xpi/pkg-descr b/deskutils/lightning-xpi/pkg-descr new file mode 100644 index 000000000000..50920a575a2b --- /dev/null +++ b/deskutils/lightning-xpi/pkg-descr @@ -0,0 +1,6 @@ +An integrated calendar for Thunderbird + +** Note that this port is a binary plugin for Thunderbird and you may want +** to build from source via ports/mail/lightning (includes Thunderbird) + +WWW: http://www.mozilla.org/projects/calendar/lightning/ |