freebsd-ports/lang/gjs/Makefile
Beat Gaetzi 734349b51e - Move libxul 1.9.2 to www/libxul19
- Update www/libxul to 10.0.7
- Update all dependent ports to use www/libxul19 (no functional changes)
- Bump PORTREVISION on ports where libxul is a run dependency as the
  resulting package will change.

Submitted by:	Jan Beich <jbeich@tormail.org>
With hat:	gecko
2012-09-10 19:19:32 +00:00

44 lines
1012 B
Makefile

# 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.12 2010/11/15 20:14:53 kwm Exp $
#
PORTNAME= gjs
PORTVERSION= 0.7.7
PORTREVISION= 2
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= libxul19
USE_BZIP2= yes
USE_GETTEXT= yes
USE_GMAKE= yes
USE_PYTHON_BUILD= yes
USE_AUTOTOOLS= libtool
USE_GNOME= gnomeprefix gnomehack intlhack glib20 ltverhack
USE_LDCONFIG= yes
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
.include <bsd.port.pre.mk>
.if ${OSVERSION} < 700000
BROKEN= does not link on 6.x
.endif
post-patch:
${REINPLACE_CMD} -e 's|/usr/bin/python|/usr/bin/env python|g' \
${WRKSRC}/scripts/make-tests
.include <bsd.port.post.mk>