summaryrefslogtreecommitdiffstats
path: root/www/libxul/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'www/libxul/Makefile')
-rw-r--r--www/libxul/Makefile46
1 files changed, 46 insertions, 0 deletions
diff --git a/www/libxul/Makefile b/www/libxul/Makefile
new file mode 100644
index 000000000..560e8fee6
--- /dev/null
+++ b/www/libxul/Makefile
@@ -0,0 +1,46 @@
+# New ports collection makefile for: xulrunner
+# Date created: 2006-02-20
+# Whom: Michael Johnson <ahze@FreeBSD.org>
+#
+# $FreeBSD$
+# $MCom: ports/www/xulrunner/Makefile,v 1.15 2007/12/28 17:39:31 mezz Exp $
+#
+
+PORTNAME= xulrunner
+PORTVERSION= 1.9.0.0
+PORTREVISION?= 0
+CATEGORIES?= www devel
+MASTER_SITES= ${MASTER_SITE_MOZILLA}
+MASTER_SITE_SUBDIR= xulrunner/releases/${PORTVERSION}/source/
+DISTNAME= ${PORTNAME}-${PORTVERSION:C/^([0-9]+\.[0-9]+).*/\1/}-source
+
+MAINTAINER?= gnome@FreeBSD.org
+COMMENT?= Mozilla runtime package that can be used to bootstrap XUL+XPCOM apps
+
+CONFLICTS= mozilla-[0-9]*
+GECKO_PLIST_PRE_DIRS= lib/${MOZILLA}/bin lib/${MOZILLA}/idl \
+ lib/${MOZILLA}/include lib/${MOZILLA}/lib \
+ lib/${MOZILLA}/sdk/idl lib/${MOZILLA}/sdk/include
+
+WANT_GNOME= yes
+WANT_PERL= yes
+ALL_TARGET= default
+HAS_CONFIGURE= yes
+USE_BZIP2= yes
+USE_GMAKE= yes
+
+PORT_MOZCONFIG= ${WRKSRC}/xulrunner/config/mozconfig
+MOZ_OPTIONS?= --with-default-mozilla-five-home=${PREFIX}/lib/${MOZILLA} \
+ --disable-javaxpcom --enable-canvas \
+ --enable-system-cairo
+MOZ_EXTENSIONS= default,cookie,permissions
+OPTIONS= # Empty, used for generic gecko OPTIONS
+USE_GECKO_OPTIONS= java debug logging optimized_cflags
+USE_GECKO= gecko
+MOZ_TOOLKIT= cairo-gtk2
+USE_MOZILLA= -png -nss -dbm -jpeg
+MOZ_PKGCONFIG_FILES= libxul-embedding-unstable libxul-embedding \
+ libxul-unstable libxul mozilla-gtkmozembed-embedding \
+ mozilla-gtkmozembed mozilla-js mozilla-nss mozilla-plugin
+
+.include <bsd.port.mk>