summaryrefslogtreecommitdiffstats
path: root/lang/cjs/Makefile
diff options
context:
space:
mode:
authorgusi <gusi@df743ca5-7f9a-e211-a948-0013205c9059>2014-01-21 20:30:41 +0800
committergusi <gusi@df743ca5-7f9a-e211-a948-0013205c9059>2014-01-21 20:30:41 +0800
commita1dc004e34edc7a1a1e4ea97729324bee8e3815c (patch)
tree8934c7d35d204f2ec64c9e83e7ff6fde1e05f3e9 /lang/cjs/Makefile
parent2d81dbc2a8ad64f6ed1f38b84ef0afc0ac766d1b (diff)
downloadmarcuscom-ports-a1dc004e34edc7a1a1e4ea97729324bee8e3815c.tar
marcuscom-ports-a1dc004e34edc7a1a1e4ea97729324bee8e3815c.tar.gz
marcuscom-ports-a1dc004e34edc7a1a1e4ea97729324bee8e3815c.tar.bz2
marcuscom-ports-a1dc004e34edc7a1a1e4ea97729324bee8e3815c.tar.lz
marcuscom-ports-a1dc004e34edc7a1a1e4ea97729324bee8e3815c.tar.xz
marcuscom-ports-a1dc004e34edc7a1a1e4ea97729324bee8e3815c.tar.zst
marcuscom-ports-a1dc004e34edc7a1a1e4ea97729324bee8e3815c.zip
Update cinnamon to 2.0. Among the changes:
- Many packages were split. New components appeared - In cinnamon-settings, the applet to configure the users has been removed. It needs python-pam, which is not in the tree yet - The translations are optional and can be enabled in x11/cinnamon - To configure cinnamon, use cinnamon-settings. The cinnamon-control-center seems to be lagging behind - The cinnamon2d, the fallback version of cinnamon, seems to be buggy and needs some love. It can be chosen with gdm in the session list - Only a subset of the nemo-extensions were enabled. More to come in the future - The JavaScripts bindings are now provided by lang/cjs (which seems to be a fork from lang/gjs) The development of cinnamon is moving fast, so if you find problems please contact gnome@freebsd.org Reviewed by: kwm git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@18985 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'lang/cjs/Makefile')
-rw-r--r--lang/cjs/Makefile46
1 files changed, 46 insertions, 0 deletions
diff --git a/lang/cjs/Makefile b/lang/cjs/Makefile
new file mode 100644
index 000000000..c145c6a34
--- /dev/null
+++ b/lang/cjs/Makefile
@@ -0,0 +1,46 @@
+# Created by: Gustau Perez i Querol <gustau.perez@gmail.com>
+# $FreeBSD$
+# $MCom$
+
+PORTNAME= cjs
+PORTVERSION= 2.0.0
+CATEGORIES= lang gnome
+MASTER_SITES= http://github.com/linuxmint/${PORTNAME}/archive/${PORTVERSION}.tar.gz?dummy=/
+DIST_SUBDIR= gnome3
+
+MAINTAINER= gustau.perez@gmail.com
+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 \
+ libmozjs185.so:${PORTSDIR}/lang/spidermonkey185
+
+CONFLICTS_BUILD=spidermonkey17-1.7.*
+
+USES= gettext gmake pathfix pkgconfig shebangfix
+USE_PYTHON_BUILD=yes
+USE_GNOME= cairo glib20 gnomeprefix introspection:build \
+ intlhack
+USE_LDCONFIG= yes
+PATHFIX_MAKEFILEIN= Makefile.am
+GNU_CONFIGURE= yes
+USE_AUTOTOOLS= libtool autoconf automake
+
+CONFIGURE_ARGS+=--enable-compile-warnings=no
+
+CFLAGS+= -I${LOCALBASE}/include
+CPPFLAGS+= -I${LOCALBASE}/include
+LDFLAGS+= -L${LOCALBASE}/lib
+
+SHEBANG_FILES= scripts/make-tests
+python_OLD_CMD= /usr/bin/env python
+python_CMD= ${PYTHON_CMD}
+
+pre-configure:
+ cd ${WRKSRC} && NOCONFIGURE=yes ${SH} ./autogen.sh
+
+post-install:
+ @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libcjs*so*
+ @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/cjs-1.0/*so
+
+.include <bsd.port.mk>