Created attachment 157614 [details] patch There is an official patch [1] which enable downloading without external tools. [1] http://surf.suckless.org/patches/download
I had a look at the patch. 1) There's a new distfile 0.7 available from the distsite. 2) The patch applies, but the resulting Makefile does not build. Can you supply an updated patch ?
Sorry for late but I have no time for a few days.
I think 'bug 206259' obsolotes this report. It will introduce built-in download too.
See https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=206259
A commit references this bug: Author: pi Date: Tue Jan 26 20:53:38 UTC 2016 New revision: 407310 URL: https://svnweb.freebsd.org/changeset/ports/407310 Log: www/surf: 0.6 -> 0.7 - adds downloading without external tools - make toolkits selectable: GTK2 GTK3 PR: 200765 Submitted by: Zsolt Udvari <udvzsolt@gmail.com>, <tkato432@yahoo.com> Changes: head/www/surf/Makefile head/www/surf/distinfo head/www/surf/files/ head/www/surf/files/patch-config.def.h head/www/surf/files/patch-surf.c