head	1.18;
access;
symbols
	RELEASE_7_3_0:1.11;
locks; strict;
comment	@# @;


1.18
date	2010.06.09.08.53.37;	author miwi;	state dead;
branches;
next	1.17;

1.17
date	2010.05.21.07.34.25;	author pav;	state Exp;
branches;
next	1.16;

1.16
date	2010.05.20.21.24.47;	author pav;	state Exp;
branches;
next	1.15;

1.15
date	2010.05.20.21.23.22;	author pav;	state Exp;
branches;
next	1.14;

1.14
date	2010.05.15.21.37.40;	author pav;	state Exp;
branches;
next	1.13;

1.13
date	2010.05.02.15.56.46;	author sylvio;	state Exp;
branches;
next	1.12;

1.12
date	2010.03.14.17.11.25;	author wxs;	state Exp;
branches;
next	1.11;

1.11
date	2010.02.10.14.38.24;	author miwi;	state Exp;
branches;
next	1.10;

1.10
date	2010.02.05.11.45.11;	author dinoex;	state Exp;
branches;
next	1.9;

1.9
date	2010.02.01.16.56.16;	author miwi;	state Exp;
branches;
next	1.8;

1.8
date	2010.01.25.08.41.14;	author miwi;	state Exp;
branches;
next	1.7;

1.7
date	2010.01.11.07.31.40;	author delphij;	state Exp;
branches;
next	1.6;

1.6
date	2009.12.16.00.12.50;	author pav;	state Exp;
branches;
next	1.5;

1.5
date	2009.11.28.13.51.35;	author miwi;	state Exp;
branches;
next	1.4;

1.4
date	2009.11.21.11.35.51;	author miwi;	state Exp;
branches;
next	1.3;

1.3
date	2009.11.05.19.35.24;	author glarkin;	state Exp;
branches;
next	1.2;

1.2
date	2009.10.25.09.23.19;	author erwin;	state Exp;
branches;
next	1.1;

1.1
date	2009.10.07.19.52.47;	author glarkin;	state Exp;
branches;
next	;


desc
@@


1.18
log
@- Disconnect www/weave
- Connect www/firefox-sync
- Add MOVED entry
- Remove www/weave
@
text
@# New ports collection makefile for:	weave
# Date created:				31 Aug 2009
# Whom:					Grzegorz Blach <magik@@roorback.net>
#
# $FreeBSD: ports/www/weave/Makefile,v 1.17 2010/05/21 07:34:25 pav Exp $
#

PORTNAME=	weave
PORTVERSION=	1.2.3
PORTEPOCH=	2
CATEGORIES=	www
MASTER_SITES=	http://files.roorback.net/ \
		LOCAL/glarkin

MAINTAINER=	magik@@roorback.net
COMMENT=	Mozilla Weave extension

BUILD_DEPENDS=	${LOCALBASE}/lib/libxul/xpidl:${PORTSDIR}/www/libxul
RUN_DEPENDS=	${LOCALBASE}/lib/libxul/xpidl:${PORTSDIR}/www/libxul

ONLY_FOR_ARCHS=	i386 amd64
USE_BZIP2=	yes
USE_GMAKE=	yes

OPTIONS=	FF35 "Build for Firefox 3.5 instead of 3.6" Off

.include <bsd.port.options.mk>

.if defined(WITHOUT_FF35)
FF_DEPENDS=	${LOCALBASE}/lib/firefox3/firefox:${PORTSDIR}/www/firefox
AMD64_ARCH=	amd64
.else
FF_DEPENDS=	${LOCALBASE}/lib/firefox3/firefox:${PORTSDIR}/www/firefox35
AMD64_ARCH=	x86_64
.endif

BUILD_DEPENDS+=	${FF_DEPENDS}
RUN_DEPENDS+=	${FF_DEPENDS}

REVID=		ad1ede89cbb2
.if ${ARCH} == i386
PLATFORM=	FreeBSD_x86-gcc3
.elif ${ARCH} == amd64
PLATFORM=	FreeBSD_${AMD64_ARCH}-gcc3
.else
PLATFORM=	dummy
IGNORE=		unsupported platform
.endif

GMAKE_FLAGS=	sdkdir=${PREFIX}/lib/firefox3/sdk release_build=1 platform_target=${PLATFORM} TOPSRCDIR=${WRKSRC}
ALL_TARGET=	${GMAKE_FLAGS} crypto crypto-obsolete-build build
INSTALL_TARGET=	${GMAKE_FLAGS} xpi

XPI_ID=		{340c2bbc-ce74-4362-90b5-7c26312808ef}
XPI_DIR=	${PREFIX}/lib/xpi/${XPI_ID}

PLIST_SUB+=	XPI_XPIDIR="${XPI_DIR:S,^${PREFIX}/,,}" \
		XPI_XPIID=${XPI_ID} \
		PLATFORM=${PLATFORM}

post-patch:
	@@${REINPLACE_CMD} -e "s|\$$(shell hg tip --template '{node\|short}')|${REVID}|g" ${WRKSRC}/Makefile
.if ${PLATFORM} == FreeBSD_x86_64-gcc3
	${REINPLACE_CMD} -e 's|arch = amd64|arch = x86_64|g' ${WRKSRC}/crypto-obsolete/src/Makefile
.endif

post-install:
	${MKDIR} ${XPI_DIR}
	(cd ${XPI_DIR}; tar -xf ${WRKSRC}/dist/xpi/weave-${DISTVERSION}-rel.xpi)
	${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${XPI_DIR}/
	${CHMOD} -R a+rX,go-w ${XPI_DIR}/
	${MKDIR} ${PREFIX}/lib/firefox3/extensions
	${LN} -sf ${XPI_DIR} ${PREFIX}/lib/firefox3/extensions

.include <bsd.port.mk>
@


1.17
log
@- Revert previous change and add a dummy PLATFORM

Reported by:	QAT
Pointy hat to:	pav
@
text
@d5 1
a5 1
# $FreeBSD$
@


1.16
log
@- Change the conditional to be sure
@
text
@d46 1
d63 1
a63 1
.if ${ARCH} == amd64
@


1.15
log
@- Ignore outside i386 and amd64

Suggested by:	hrs
@
text
@d62 1
a62 1
.if ${PLATFORM} == FreeBSD_x86_64-gcc3
@


1.14
log
@- Add an option to build against Firefox 3.5

PR:		ports/146472
Submitted by:	Grzegorz Blach <magik@@roorback.net> (maintainer)
@
text
@d45 2
@


1.13
log
@- Update to 1.2.3

PR:		ports/146094
Submitted by:	Grzegorz Blach <magik@@rootback.net> (maintainer)
@
text
@d18 2
a19 3
BUILD_DEPENDS=	${LOCALBASE}/lib/firefox3/firefox:${PORTSDIR}/www/firefox \
		${LOCALBASE}/lib/libxul/xpidl:${PORTSDIR}/www/libxul
RUN_DEPENDS=	${BUILD_DEPENDS}
d25 2
d29 11
d44 1
a44 1
PLATFORM=	FreeBSD_amd64-gcc3
d60 3
@


1.12
log
@- Update to 1.1
- Fix amd64 also

PR:		ports/144345
Submitted by:	Grzegorz Blach <magik@@roorback.net> (maintainer)
@
text
@d9 1
a9 1
PORTVERSION=	1.1
d28 1
d35 2
a36 2
GMAKE_FLAGS=	sdkdir=${PREFIX}/lib/firefox3/sdk rebuild_crypto=1 release_build=1 platform_target=${PLATFORM}
ALL_TARGET=	${GMAKE_FLAGS} build
d46 3
@


1.11
log
@Move over to firefox 3.6 as default.

PR:		143709
Submitted by:	Grzegorz Blach <magik@@roorback.net> (maintainer)
@
text
@d9 1
a9 2
PORTVERSION=	1.0
PORTREVISION=	1
d31 1
a31 1
PLATFORM=	FreeBSD_x86_64-gcc3
@


1.10
log
@- update to jpeg-8
@
text
@d19 1
a19 1
BUILD_DEPENDS=	${LOCALBASE}/lib/firefox3/firefox:${PORTSDIR}/www/firefox35 \
@


1.9
log
@- Update to 1.0 RELEASE

PR:		143304
Submitted by:	Eric L. Chen <eric@@bsded.com>
Approved by:	maintainer
@
text
@d10 1
@


1.8
log
@- Update to 1.0rc2

PR:		142948
Submitted by:	Grzegorz Blach <magik@@roorback.net> (maintainer)
@
text
@d9 2
a10 2
DISTVERSION=	1.0rc2
PORTEPOCH=	1
@


1.7
log
@Update to 1.0rc.

Submitted by:	maintainer (with a slight change to make the version
		number pass pkg_version test)
PR:		ports/142395
@
text
@d9 1
a9 1
DISTVERSION=	1.0rc
@


1.6
log
@- Update to 1.0b3

PR:		ports/141445
Submitted by:	Grzegorz Blach <magik@@roorback.net> (maintainer)
@
text
@d9 2
a10 1
PORTVERSION=	1.0b3
d47 1
a47 1
	(cd ${XPI_DIR}; tar -xf ${WRKSRC}/dist/xpi/weave-${PORTVERSION}-rel.xpi)
@


1.5
log
@- Update to 1.0b2

PR:		140877
Submitted by:	Grzegorz Blach <magik@@roorback.net> (maintainer)
@
text
@d9 1
a9 1
PORTVERSION=	1.0b2
@


1.4
log
@- Update to 1.0b1

PR:		140322
Submitted by:	Grzegorz Blach <magik@@roorback.net> (maintainer)
@
text
@d9 1
a9 1
PORTVERSION=	1.0b1
@


1.3
log
@- Unbreak on 6.x systems

Reported by:	pointyhat
Input from:	Grzegorz Blach <magik@@roorback.net>
@
text
@d9 1
a9 1
PORTVERSION=	0.7
@


1.2
log
@Mark BROKEN on 6.x: does not build
@
text
@d52 1
a52 7
.include <bsd.port.pre.mk>

.if ${OSVERSION} < 700000
BROKEN=		does not build
.endif

.include <bsd.port.post.mk>
@


1.1
log
@Weave is a Mozilla Labs project to explore ways in which
the browser can broker richer experiences on the Web,
by integrating more closely with online services.

WWW: http://labs.mozilla.com/weave/

PR:		ports/138539
Submitted by:	Grzegorz Blach <magik@@roorback.net>
@
text
@d52 7
a58 1
.include <bsd.port.mk>
@

