aboutsummaryrefslogtreecommitdiffstats
path: root/lang/phantomjs/Makefile
blob: 613fc9c7ee65888ca4384ca58cd44d5d9eaa0ef4 (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
# New ports collection makefile for:    phantomjs
# Date created:     20 Apr 2011
# Whom:         Jun Kuriyama <kuriyama@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=   phantomjs
PORTVERSION=    1.0.0
CATEGORIES= lang
MASTER_SITES=   ${MASTER_SITE_GOOGLE_CODE}

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

PROJECTHOST=    phantomjs
USE_QT_VER= 4
USE_GMAKE=  YES
QT_COMPONENTS=  moc qmake gui webkit rcc
PLIST_FILES=    bin/phantomjs

do-configure:
    cd ${WRKSRC} && ${QMAKE}

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

.include <bsd.port.mk>