summaryrefslogtreecommitdiffstats
path: root/lang/gjs/Makefile
blob: 1df3c6839cc9dd17354353ea11b289e91ea36e7a (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
# New ports collection makefile for:   gjs
# Date created:        14 Aug 2009
# Whom:                Pawel Worach <pawel.worach@gmail.com>
#
# $FreeBSD$
#   $MCom$
#

PORTNAME=   gjs
PORTVERSION=    0.3
CATEGORIES= lang gnome
MASTER_SITES=   GNOME
DIST_SUBDIR=    gnome2

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

BUILD_DEPENDS=  g-ir-scanner:${PORTSDIR}/devel/gobject-introspection
LIB_DEPENDS=    dbus-glib-1.2:${PORTSDIR}/devel/dbus-glib

USE_GECKO=  libxul
USE_BZIP2=  yes
USE_GETTEXT=    yes
USE_GMAKE=  yes
USE_PYTHON= build
USE_AUTOTOOLS=  libtool:22
USE_GNOME=  gnomeprefix gnomehack intlhack glib20 ltverhack
USE_LDCONFIG=   yes

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

.include <bsd.port.mk>