summaryrefslogtreecommitdiff
path: root/textproc
diff options
context:
space:
mode:
authorDavid E. O'Brien <obrien@FreeBSD.org>2009-12-29 03:46:26 +0000
committerDavid E. O'Brien <obrien@FreeBSD.org>2009-12-29 03:46:26 +0000
commitaae9e9a031e1875380dd9369800fd6c9fef33847 (patch)
tree29c0a86c033e77f672a26028002c7a8c42e55169 /textproc
parentUpdate to Vim 7.2 patchlevel 322. (diff)
Switch to master bsd.gecko.mk, drop mozilla support, default to firefox35.
PR: 141148 Submitted by: thierry
Notes
Notes: svn path=/head/; revision=246809
Diffstat (limited to 'textproc')
-rw-r--r--textproc/urlview/Makefile17
1 files changed, 10 insertions, 7 deletions
diff --git a/textproc/urlview/Makefile b/textproc/urlview/Makefile
index 2835c4f856b0..7f82c04f4ef5 100644
--- a/textproc/urlview/Makefile
+++ b/textproc/urlview/Makefile
@@ -8,7 +8,7 @@
PORTNAME= urlview
PORTVERSION= 0.9
-PORTREVISION= 3
+PORTREVISION= 4
CATEGORIES= textproc www
MASTER_SITES= ftp://ftp.mutt.org/mutt/contrib/ \
ftp://ftp.sunsite.auc.dk/pub/mail/mutt/contrib/ \
@@ -20,8 +20,6 @@ MASTER_SITES= ftp://ftp.mutt.org/mutt/contrib/ \
MAINTAINER= obrien@FreeBSD.org
COMMENT= URL extractor/launcher
-BROKEN= fails to package
-
GNU_CONFIGURE= yes
MAN1= urlview.1
SUB_FILES= gecko.sh
@@ -30,10 +28,14 @@ SUB_LIST= GECKO=${GECKO}
.include <bsd.port.pre.mk>
.if defined(WITH_GECKO)
-USE_GECKO= firefox firefox-devel seamonkey mozilla
-.include "${.CURDIR}/../../www/mozilla/bsd.gecko.mk"
+USE_GECKO= firefox-devel firefox35 seamonkey
+.include <bsd.gecko.mk>
+.elif defined(WITH_SEAMONKEY)
+RUN_DEPENDS+= ${LOCALBASE}/lib/seamonkey/seamonkey-bin:${PORTSDIR}/www/seamonkey
+GECKO= seamonkey
.else
-GECKO= firefox
+RUN_DEPENDS+= ${LOCALBASE}/lib/firefox3/firefox:${PORTSDIR}/www/firefox35
+GECKO= firefox3
.endif
post-patch:
@@ -43,6 +45,7 @@ post-patch:
"s,/etc/urlview.conf,${PREFIX}/etc/urlview.conf,g" ${WRKSRC}/*
post-install:
- ${INSTALL_SCRIPT} ${WRKSRC}/url_handler.sh ${PREFIX}/bin
+ ${INSTALL_SCRIPT} ${WRKSRC}/url_handler.sh ${WRKDIR}/gecko.sh \
+ ${PREFIX}/bin
.include <bsd.port.post.mk>