aboutsummaryrefslogtreecommitdiffstats
path: root/net/libproxy-mozjs/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'net/libproxy-mozjs/Makefile')
-rw-r--r--net/libproxy-mozjs/Makefile21
1 files changed, 8 insertions, 13 deletions
diff --git a/net/libproxy-mozjs/Makefile b/net/libproxy-mozjs/Makefile
index 461c13ca24e1..15366949c4a4 100644
--- a/net/libproxy-mozjs/Makefile
+++ b/net/libproxy-mozjs/Makefile
@@ -3,31 +3,26 @@
# Whom: Joe Marcus Clarke <marcus@FreeBSD.org>
#
# $FreeBSD$
-#
+# $MCom: ports/net/libproxy-mozjs/Makefile,v 1.5 2011/01/12 13:10:53 kwm Exp $
-PORTREVISION= 6
-CATEGORIES= net devel
+PORTREVISION= 0
+CATEGORIES= net www
PKGNAMESUFFIX= -mozjs
MAINTAINER= gnome@FreeBSD.org
COMMENT= Mozilla Javascript plug-in for libproxy
-LIB_DEPENDS= proxy.0:${PORTSDIR}/net/libproxy
+LIB_DEPENDS= proxy.1:${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= libxul
-CONFIGURE_ARGS=--without-gnome --without-kde --without-webkit \
- --with-mozjs --without-networkmanager --without-python \
- --without-envvar --without-file
-LIBPROXY_SLAVE= yes
+LIBPROXY_SLAVE= mozjs
-post-patch:
- @${REINPLACE_CMD} -e 's|mozilla-js|mozilla-js libxul|g' \
- ${WRKSRC}/configure
+do-install:
+ ${INSTALL_LIB} ${WRKSRC}/libproxy/pacrunner_mozjs.so \
+ ${PREFIX}/lib/libproxy/${PORTVERSION}/modules/
.include "${MASTERDIR}/Makefile"