Fix default command

Before urlview was trying to run /usr/local/etc/urlview/firefox
Now it properly calls firefox
This commit is contained in:
Baptiste Daroussin 2016-10-12 16:47:13 +00:00
parent 167fe2eb83
commit a5f588697c
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=423874

View File

@ -3,6 +3,7 @@
PORTNAME= urlview
PORTVERSION= 0.9.20131021
PORTREVISION= 1
CATEGORIES= textproc www
MAINTAINER= udvzsolt@gmail.com
@ -22,7 +23,7 @@ PLIST_FILES= bin/urlview \
post-patch:
@${REINPLACE_CMD} -e 's,/etc,${PREFIX}&,' \
-e 's/url_handler.sh/firefox/' \
-e 's/DEFAULT_COMMAND.*url_handler.sh/DEFAULT_COMMAND "firefox/' \
${WRKSRC}/*
do-install: