summaryrefslogtreecommitdiffstats
path: root/lang/gjs/Makefile
blob: 8ceae1d285a51f323b3b1bfe247a4a3b88b9b267 (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
# Created by: Pawel Worach <pawel.worach@gmail.com>
# $FreeBSD$
#   $MCom$

PORTNAME=   gjs
PORTVERSION=    1.40.1
CATEGORIES= lang gnome
MASTER_SITES=   GNOME
DIST_SUBDIR=    gnome3

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

LIB_DEPENDS=    libdbus-glib-1.so:${PORTSDIR}/devel/dbus-glib \
        libmozjs-24.so:${PORTSDIR}/lang/spidermonkey24

USES=       gettext gmake libtool:keepla pathfix pkgconfig tar:xz
USE_GNOME=  cairo glib20 gnomeprefix introspection:build \
        intlhack
USE_PYTHON_BUILD=yes
GNU_CONFIGURE=  yes
USE_LDCONFIG=   yes
CPPFLAGS+=  -I${LOCALBASE}/include
LDFLAGS+=   -L${LOCALBASE}/lib

post-install:
    @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libgjs.so.*

.include <bsd.port.mk>