blob: 4dc46b543d81a3f3ac7efda3e55c6f0bb089e9ca (
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
|
# New ports collection makefile for: phantomjs
# Date created: 20 Apr 2011
# Whom: Jun Kuriyama <kuriyama@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= phantomjs
PORTVERSION= 1.4.1
PORTREVISION= 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
PROJECTHOST= phantomjs
USE_QT_VER= 4
USE_GMAKE= YES
USE_DOS2UNIX= YES
QT_COMPONENTS= moc qmake gui webkit rcc
PLIST_FILES= bin/phantomjs
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
do-build:
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
do-install:
cd ${WRKSRC} && ${INSTALL_PROGRAM} bin/phantomjs ${PREFIX}/bin/
.include <bsd.port.mk>
|