summaryrefslogtreecommitdiffstats
path: root/lang/gjs/Makefile
blob: b7626722ab6d62d49e4b3fbba94f7be61d44f0aa (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
# Created by: Pawel Worach <pawel.worach@gmail.com>
# $FreeBSD$
#   $MCom: ports/trunk/lang/gjs/Makefile 17268 2013-04-01 05:13:11Z marcus $

PORTNAME=   gjs
PORTVERSION=    1.32.0
PORTREVISION=   1
CATEGORIES= lang gnome
MASTER_SITES=   GNOME
DIST_SUBDIR=    gnome3

MAINTAINER= gnome@FreeBSD.org
COMMENT=    GNOME Javascript binding

BUILD_DEPENDS=  spidermonkey185>=1.8.5:${PORTSDIR}/lang/spidermonkey185
LIB_DEPENDS=    dbus-glib-1:${PORTSDIR}/devel/dbus-glib \
        mozjs185:${PORTSDIR}/lang/spidermonkey185

USE_XZ=     yes
USES=       gettext pathfix pkgconfig
USE_GMAKE=  yes
USE_PYTHON_BUILD=yes
USE_AUTOTOOLS=  libtool
USE_GNOME=  gnomeprefix intlhack glib20 ltverhack cairo introspection:build
USE_LDCONFIG=   yes
CPPFLAGS+=  -I${LOCALBASE}/include
LDFLAGS+=   -L${LOCALBASE}/lib

post-patch:
    ${REINPLACE_CMD} -e 's|/usr/bin/python|/usr/bin/env python|g' \
        ${WRKSRC}/scripts/make-tests

.include <bsd.port.mk>