1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-24 00:45:52 +00:00
freebsd-ports/lang/cjs/Makefile
Mathieu Arnold f29a218fcd Replace most occurences of github.com in MASTER_SITES with USE_GITHUB usage.
With hat:	portmgr
Sponsored by:	Absolight
2015-05-18 17:07:45 +00:00

40 lines
1.0 KiB
Makefile

# Created by: Gustau Perez i Querol <gustau.perez@gmail.com>
# $FreeBSD$
PORTNAME= cjs
PORTVERSION= 2.4.1
CATEGORIES= lang gnome
DIST_SUBDIR= gnome3
MAINTAINER= gnome@FreeBSD.org
COMMENT= JavaScript bindings based on gobject-introspection
BUILD_DEPENDS= gnome-autogen.sh:${PORTSDIR}/devel/gnome-common
LIB_DEPENDS= libdbus-glib-1.so:${PORTSDIR}/devel/dbus-glib \
libmozjs-24.so:${PORTSDIR}/lang/spidermonkey24
CONFLICTS_BUILD=spidermonkey17-1.7.*
USES= autoreconf:build compiler:c11 gettext libtool gmake \
pathfix pkgconfig python:build shebangfix
USE_GNOME= cairo glib20 gnomeprefix introspection:build \
intlhack
USE_GITHUB= yes
GH_ACCOUNT= linuxmint
USE_LDCONFIG= yes
PATHFIX_MAKEFILEIN= Makefile.am
GNU_CONFIGURE= yes
CFLAGS+= -I${LOCALBASE}/include
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
INSTALL_TARGET= install-strip
CONFIGURE_ARGS+=--enable-compile-warnings=no
python_OLD_CMD= /usr/bin/env python
python_CMD= ${PYTHON_CMD}
pre-configure:
cd ${WRKSRC} && ${SETENV} NOCONFIGURE=yes ${SH} ./autogen.sh
.include <bsd.port.mk>