mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-26 00:55:14 +00:00
a3312a1051
Submitted by: L Campbell lcampbell@uncod.in
36 lines
769 B
Makefile
36 lines
769 B
Makefile
# $FreeBSD$
|
|
|
|
PORTNAME= phantomjs
|
|
PORTVERSION= 1.9.0
|
|
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 2 --confirm
|
|
|
|
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>
|