aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authormarcus <marcus@FreeBSD.org>2009-02-27 13:30:08 +0800
committermarcus <marcus@FreeBSD.org>2009-02-27 13:30:08 +0800
commit6932c01d32360f98089a0ba75af4a06855829575 (patch)
tree80fa21ea098290049515f5511424b35cd04bc0c3 /net
parent64fafcc6a920ee60be4981866277dd9112025f59 (diff)
downloadfreebsd-ports-gnome-6932c01d32360f98089a0ba75af4a06855829575.tar.gz
freebsd-ports-gnome-6932c01d32360f98089a0ba75af4a06855829575.tar.zst
freebsd-ports-gnome-6932c01d32360f98089a0ba75af4a06855829575.zip
Add libproxy-mozjs, a plug-in which allows Mozilla-based web browsers to
make use of libproxy.
Diffstat (limited to 'net')
-rw-r--r--net/Makefile1
-rw-r--r--net/libproxy-mozjs/Makefile29
-rw-r--r--net/libproxy-mozjs/pkg-descr7
-rw-r--r--net/libproxy-mozjs/pkg-plist1
4 files changed, 38 insertions, 0 deletions
diff --git a/net/Makefile b/net/Makefile
index 72d66377ee7e..7e622522a895 100644
--- a/net/Makefile
+++ b/net/Makefile
@@ -304,6 +304,7 @@
SUBDIR += libproxy
SUBDIR += libproxy-gnome
SUBDIR += libproxy-kde
+ SUBDIR += libproxy-mozjs
SUBDIR += librsync
SUBDIR += libsocket++
SUBDIR += libsocketcpp
diff --git a/net/libproxy-mozjs/Makefile b/net/libproxy-mozjs/Makefile
new file mode 100644
index 000000000000..0f0c4d2c767b
--- /dev/null
+++ b/net/libproxy-mozjs/Makefile
@@ -0,0 +1,29 @@
+# New ports collection makefile for: libproxy-mozjs
+# Date created: 26 February 2009
+# Whom: Joe Marcus Clarke <marcus@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTREVISION= 0
+CATEGORIES= net devel
+PKGNAMESUFFIX= -mozjs
+
+MAINTAINER= gnome@FreeBSD.org
+COMMENT= Mozilla Javascript plug-in for libproxy
+
+LIB_DEPENDS= proxy.0:${PORTSDIR}/net/libproxy
+
+MASTERDIR= ${.CURDIR}/../libproxy
+BUILD_WRKSRC= ${WRKSRC}/src/plugins
+INSTALL_WRKSRC= ${BUILD_WRKSRC}
+DESCR= ${.CURDIR}/pkg-descr
+PLIST= ${.CURDIR}/pkg-plist
+USE_GECKO= firefox
+CONFIGURE_ARGS=--without-gnome --without-kde --without-webkit \
+ --with-mozjs --without-networkmanager --without-python \
+ --without-envvar --without-file
+
+LIBPROXY_SLAVE= yes
+
+.include "${MASTERDIR}/Makefile"
diff --git a/net/libproxy-mozjs/pkg-descr b/net/libproxy-mozjs/pkg-descr
new file mode 100644
index 000000000000..1bcd6c2a32a4
--- /dev/null
+++ b/net/libproxy-mozjs/pkg-descr
@@ -0,0 +1,7 @@
+Libproxy exists to answer the question: Given a network resource, how do I
+reach it? It handles all the details, enabling you to get back to
+programming.
+
+This plug-in allows Mozilla-based browsers to make use of libproxy.
+
+WWW: http://code.google.com/p/libproxy/
diff --git a/net/libproxy-mozjs/pkg-plist b/net/libproxy-mozjs/pkg-plist
new file mode 100644
index 000000000000..9bd61ce5a8de
--- /dev/null
+++ b/net/libproxy-mozjs/pkg-plist
@@ -0,0 +1 @@
+lib/libproxy/%%VERSION%%/plugins/mozjs.so