--- textproc/urlview/Makefile 2009-11-29 09:24:49.000000000 +0100 +++ textproc/urlview/Makefile 2009-12-03 22:25:58.000000000 +0100 @@ -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/ \ @@ -27,11 +27,12 @@ .include -.if defined(WITH_GECKO) -USE_GECKO= firefox firefox-devel seamonkey mozilla -.include "${.CURDIR}/../../www/mozilla/bsd.gecko.mk" +.if 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: @@ -41,6 +42,7 @@ "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