aboutsummaryrefslogtreecommitdiff
path: root/textproc/urlview
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/urlview
parent628391055428391aeebd520683233a0eb3727c16 (diff)
downloadports-aae9e9a031e1875380dd9369800fd6c9fef33847.tar.gz
ports-aae9e9a031e1875380dd9369800fd6c9fef33847.zip
Notes
Diffstat (limited to 'textproc/urlview')
-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>