head	1.9;
access;
symbols
	RELEASE_8_3_0:1.2
	RELEASE_9_0_0:1.1;
locks; strict;
comment	@# @;


1.9
date	2013.01.15.03.46.05;	author svnexp;	state Exp;
branches;
next	1.8;

1.8
date	2012.11.17.05.58.54;	author svnexp;	state Exp;
branches;
next	1.7;

1.7
date	2012.10.20.14.45.37;	author kuriyama;	state Exp;
branches;
next	1.6;

1.6
date	2012.09.08.06.53.18;	author linimon;	state Exp;
branches;
next	1.5;

1.5
date	2012.08.05.02.31.53;	author kuriyama;	state Exp;
branches;
next	1.4;

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

1.3
date	2012.06.01.05.21.19;	author dinoex;	state Exp;
branches;
next	1.2;

1.2
date	2012.01.09.01.53.59;	author kuriyama;	state Exp;
branches;
next	1.1;

1.1
date	2011.04.20.14.00.34;	author kuriyama;	state Exp;
branches;
next	;


desc
@@


1.9
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/310420
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
@
text
@# $FreeBSD: head/lang/phantomjs/Makefile 310420 2013-01-15 02:52:30Z kuriyama $

PORTNAME=	phantomjs
PORTVERSION=	1.8.1
CATEGORIES=	lang
MASTER_SITES=	${MASTER_SITE_GOOGLE_CODE}
DISTNAME=	${PORTNAME}-${PORTVERSION}-source

MAINTAINER=	kuriyama@@FreeBSD.org
COMMENT=	Minimalistic, headless, WebKit-based, JavaScript-driven tool

LICENSE=	BSD

BUILD_DEPENDS=	bash:${PORTSDIR}/shells/bash

PROJECTHOST=	phantomjs
USE_ZIP=	YES
USE_GMAKE=	YES
USE_DOS2UNIX=	YES
USE_QT4=	moc qmake gui webkit rcc
WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION}

do-build:
	cd ${WRKSRC} && ${REINPLACE_CMD} -e 's|!/|!/usr/local/|g' build.sh
	cd ${WRKSRC}/src/qt && ${REINPLACE_CMD} -e 's|!/|!/usr/local/|g' preconfig.sh
	cd ${WRKSRC} && ${LOCALBASE}/bin/bash -x build.sh --jobs 2

do-install:
	cd ${WRKSRC} && ${INSTALL_PROGRAM} bin/phantomjs ${PREFIX}/bin/

.include <bsd.port.pre.mk>

.if ${ARCH} == "sparc64"
BROKEN=		Does not link on sparc64
.endif

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


1.8
log
@Switch exporter over
@
text
@d1 1
a1 1
# $FreeBSD: head/lang/phantomjs/Makefile 306181 2012-10-20 14:45:37Z kuriyama $
d4 1
a4 1
PORTVERSION=	1.7.0
@


1.7
log
@SVN rev 306181 on 2012-10-20 14:45:37Z by kuriyama

- Upgrade to 1.7.0.

Feature safe: yes
@
text
@d1 1
a1 1
# $FreeBSD$
@


1.6
log
@SVN rev 303870 on 2012-09-08 06:53:18Z by linimon

Mark as broken on sparc64.

Hat:		portmgr
@
text
@a0 4
# New ports collection makefile for:	phantomjs
# Date created:		20 Apr 2011
# Whom:			Jun Kuriyama <kuriyama@@FreeBSD.org>
#
a1 1
#
d4 1
a4 1
PORTVERSION=	1.6.1
a29 5
	${MKDIR} ${PREFIX}/lib/phantomjs/
	cd ${WRKSRC} && ${INSTALL_LIB} src/qt/lib/libQtWebKit.so.4 ${PREFIX}/lib/phantomjs/
	cd ${WRKSRC} && ${INSTALL_LIB} src/qt/lib/libQtGui.so.4 ${PREFIX}/lib/phantomjs/
	cd ${WRKSRC} && ${INSTALL_LIB} src/qt/lib/libQtNetwork.so.4 ${PREFIX}/lib/phantomjs/
	cd ${WRKSRC} && ${INSTALL_LIB} src/qt/lib/libQtCore.so.4 ${PREFIX}/lib/phantomjs/
@


1.5
log
@SVN rev 302042 on 2012-08-05 02:31:53Z by kuriyama

- Upgrade to 1.6.1.

PR based on:	ports/168150
Submitted by:	Alexander Brovikov <alexander@@brovikov.ru>
@
text
@d41 7
a47 1
.include <bsd.port.mk>
@


1.4
log
@- Convert USE_QT_VER=4 and QT_COMPONETS to USE_QT4

Review by:	bapt, David Naylor (kde team)
@
text
@d9 1
a9 2
PORTVERSION=	1.4.1
PORTREVISION=	1
d17 4
d22 1
a25 1
PLIST_FILES=	bin/phantomjs
d29 3
a31 2
	cd ${WRKSRC}/src/ && ${QMAKE} phantomjs.pro -o Makefile.phantomjs && ${REINPLACE_CMD} -e 's|-ldl||g' Makefile.phantomjs
	cd ${WRKSRC}/src/ && ${GMAKE} -f Makefile.phantomjs all
d35 5
@


1.3
log
@- update png to 1.5.10
@
text
@a18 1
USE_QT_VER=	4
d21 1
a21 1
QT_COMPONENTS=	moc qmake gui webkit rcc
@


1.2
log
@- Upgrade to 1.4.1.

PR:		ports/163912
Submitted by:	Hsin-Han You <hhyou@@cs.nctu.edu.tw>
@
text
@d10 1
@


1.1
log
@PhantomJS is a minimalistic, headless, WebKit-based, JavaScript-driven
tool.

It has native support for different web technologies: DOM handling,
CSS selector, JSON, Canvas, SVG, and of course JavaScript.

WWW: http://www.phantomjs.org/
@
text
@d9 1
a9 1
PORTVERSION=	1.0.0
d12 1
d20 1
d23 1
d25 3
a27 2
do-configure:
	cd ${WRKSRC} && ${QMAKE}
@

