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

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

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

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

USES=       compiler:c++11-lib gettext gmake gnome libtool \
        pathfix pkgconfig python:build tar:xz
USE_GNOME=  cairo glib20 gnomeprefix introspection:build \
        intlhack
GNU_CONFIGURE=  yes
USE_LDCONFIG=   yes
CPPFLAGS+=  -I${LOCALBASE}/include
LIBS+=      -L${LOCALBASE}/lib
INSTALL_TARGET= install-strip

post-install:
    @${RM} -r ${STAGEDIR}${PREFIX}/libexec/gjs

.include <bsd.port.mk>