blob: 8f9852e6d9183b4dbbba8e95d020e9250fa4f664 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
# $FreeBSD$
PORTNAME= phantomjs
PORTVERSION= 1.9.2
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} && ${SETENV} OSTYPE=freebsd MAKEFLAGS= bash -x build.sh --jobs ${MAKE_JOBS_NUMBER} --confirm
do-install:
cd ${WRKSRC} && ${INSTALL_PROGRAM} bin/phantomjs ${STAGEDIR}${PREFIX}/bin/
.include <bsd.port.pre.mk>
.if ${ARCH} == "sparc64"
BROKEN= Does not link on sparc64
.endif
.include <bsd.port.post.mk>
|