aboutsummaryrefslogtreecommitdiffstats
path: root/deskutils
diff options
context:
space:
mode:
authorahze <ahze@FreeBSD.org>2007-02-26 22:44:44 +0800
committerahze <ahze@FreeBSD.org>2007-02-26 22:44:44 +0800
commit7de28a4b6311612301e73863529444e2403a529f (patch)
tree118b80ef2d7a785950770f6db4257e692d72603f /deskutils
parenta63104ab4fbb75eb360803e57d1f41b9210384a2 (diff)
downloadfreebsd-ports-gnome-7de28a4b6311612301e73863529444e2403a529f.tar.gz
freebsd-ports-gnome-7de28a4b6311612301e73863529444e2403a529f.tar.zst
freebsd-ports-gnome-7de28a4b6311612301e73863529444e2403a529f.zip
Add support for 5.x i386
Diffstat (limited to 'deskutils')
-rw-r--r--deskutils/lightning-xpi/Makefile32
-rw-r--r--deskutils/lightning-xpi/distinfo15
2 files changed, 26 insertions, 21 deletions
diff --git a/deskutils/lightning-xpi/Makefile b/deskutils/lightning-xpi/Makefile
index 004ae325a3a8..523a76d66d2f 100644
--- a/deskutils/lightning-xpi/Makefile
+++ b/deskutils/lightning-xpi/Makefile
@@ -12,32 +12,41 @@ CATEGORIES= deskutils
MASTER_SITES= ${MASTER_SITE_LOCAL}
MASTER_SITE_SUBDIR= ahze
PKGNAMESUFFIX= -xpi
-DISTNAME= ${PORTNAME}-${PORTVERSION}-tb-FreeBSD-${ARCH}
+DISTNAME= ${PORTNAME}-${PORTVERSION}-tb-FreeBSD${OS_VER}-${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
+_IGNORE_MSG= precompiled binaries, contact ahze@FreeBSD.org for build information
.include <bsd.port.pre.mk>
.include "${PORTSDIR}/www/mozilla/bsd.gecko.mk"
-.if ${OSVERSION} < 600000
-IGNORE= precompiled binaries for 6.x
-.endif
-
.if ${ARCH}=="i386"
-ARCH_PORTVERSION= 0.3.1
+. if ${OSVERSION} < 600000 && ${OSVERSION} > 500000
+OS_VER= 5
+ARCH_PORTVERSION=0.3.1
+. elif ${OSVERSION} > 600000
+OS_VER= 6
+ARCH_PORTVERSION=0.3.1
+. else
+IGNORE= ${_IGNORE_MSG}
+. endif
.elif ${ARCH}=="sparc64"
-ARCH_PORTVERSION= 0.3
+. if ${OSVERSION} > 600000
+OS_VER= 6
+ARCH_PORTVERSION=0.3
+. else
+IGNORE= ${_IGNORE_MSG}
+. endif
.endif
pre-install:
@@ -53,11 +62,4 @@ do-install:
${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
index 6b38a6cce31d..ec8149604783 100644
--- a/deskutils/lightning-xpi/distinfo
+++ b/deskutils/lightning-xpi/distinfo
@@ -1,6 +1,9 @@
-MD5 (lightning-0.3.1-tb-FreeBSD-i386.xpi) = dc201cc2d827613d22c1530760e2f53a
-SHA256 (lightning-0.3.1-tb-FreeBSD-i386.xpi) = a6d157fb7a263010416f6a56f5eef6318f9af2114e379a1721da31b7ff7171f1
-SIZE (lightning-0.3.1-tb-FreeBSD-i386.xpi) = 899339
-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
+MD5 (lightning-0.3.1-tb-FreeBSD5-i386.xpi) = a9d99660d000a4361dfb4407792f71a0
+SHA256 (lightning-0.3.1-tb-FreeBSD5-i386.xpi) = bd158aec301e2c1856707765d56c09426800c12a36d9dd50a8664897d4a08276
+SIZE (lightning-0.3.1-tb-FreeBSD5-i386.xpi) = 879905
+MD5 (lightning-0.3-tb-FreeBSD6-sparc64.xpi) = 56f3b1d13139d01a6c39a192f019babc
+SHA256 (lightning-0.3-tb-FreeBSD6-sparc64.xpi) = 2e2400e24dfe79932b35fd575f735bd68cb02fb804545bf3c3b3ce0b5163b104
+SIZE (lightning-0.3-tb-FreeBSD6-sparc64.xpi) = 892416
+MD5 (lightning-0.3.1-tb-FreeBSD6-i386.xpi) = dc201cc2d827613d22c1530760e2f53a
+SHA256 (lightning-0.3.1-tb-FreeBSD6-i386.xpi) = a6d157fb7a263010416f6a56f5eef6318f9af2114e379a1721da31b7ff7171f1
+SIZE (lightning-0.3.1-tb-FreeBSD6-i386.xpi) = 899339