diff options
Diffstat (limited to 'lang/gjs/Makefile')
-rw-r--r-- | lang/gjs/Makefile | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/lang/gjs/Makefile b/lang/gjs/Makefile new file mode 100644 index 000000000000..606e2ec70f98 --- /dev/null +++ b/lang/gjs/Makefile @@ -0,0 +1,36 @@ +# New ports collection makefile for: gjs +# Date created: 14 Aug 2009 +# Whom: Pawel Worach <pawel.worach@gmail.com> +# +# $FreeBSD$ +# $MCom: ports/lang/gjs/Makefile,v 1.2 2009/08/27 16:02:10 kwm Exp $ +# + +PORTNAME= gjs +PORTVERSION= 0.4 +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 +CONFIGURE_ENV= 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> |