diff options
author | Emanuel Haupt <ehaupt@FreeBSD.org> | 2010-01-08 10:02:36 +0000 |
---|---|---|
committer | Emanuel Haupt <ehaupt@FreeBSD.org> | 2010-01-08 10:02:36 +0000 |
commit | 53d9d31bdacd2682a994f8342dcf9d6006b756eb (patch) | |
tree | 00a8e04b9251e0439d3970cfe667294ed2f589c7 /www/uzbl | |
parent | 2b0a9e7afb372be89f988856f664c8d57bc3fff0 (diff) | |
download | ports-53d9d31bdacd2682a994f8342dcf9d6006b756eb.tar.gz ports-53d9d31bdacd2682a994f8342dcf9d6006b756eb.zip |
Notes
Diffstat (limited to 'www/uzbl')
-rw-r--r-- | www/uzbl/Makefile | 64 | ||||
-rw-r--r-- | www/uzbl/distinfo | 3 | ||||
-rw-r--r-- | www/uzbl/files/patch-examples__data__uzbl__scripts__uzbl-cookie-daemon | 29 | ||||
-rw-r--r-- | www/uzbl/files/patch-uzbl-core.c | 19 | ||||
-rw-r--r-- | www/uzbl/pkg-descr | 6 | ||||
-rw-r--r-- | www/uzbl/pkg-plist | 62 |
6 files changed, 183 insertions, 0 deletions
diff --git a/www/uzbl/Makefile b/www/uzbl/Makefile new file mode 100644 index 000000000000..0905387b508c --- /dev/null +++ b/www/uzbl/Makefile @@ -0,0 +1,64 @@ +# Ports collection makefile for: uzbl +# Date created: 2009/12/14 +# Whom: aehlig@linta.de +# +# $FreeBSD$ +# + +PORTNAME= uzbl +DISTVERSION= 0.0.0.${GITDATE} +CATEGORIES= www +MASTER_SITES= http://www.linta.de/distfiles/ \ + LOCAL/ehaupt + +MAINTAINER= aehlig@linta.de +COMMENT= Web interface tools which adhere to the unix philosophy + +LIB_DEPENDS= webkit:${PORTSDIR}/www/webkit-gtk2 + +USE_GNOME= gtk20 +USE_LDCONFIG= yes + +GITDATE= 2010.01.05 +GITVERSION= 1958b52 + +WRKSRC= ${WRKDIR}/Dieterbe-uzbl-${GITVERSION} + +post-patch: + @${REINPLACE_CMD} -e "s|/usr/local|${PREFIX}|" \ + ${WRKSRC}/examples/config/uzbl/config \ + ${WRKSRC}/uzbl-browser \ + ${WRKSRC}/examples/data/uzbl/scripts/uzbl-event-manager + +post-build: + @${FIND} ${WRKSRC} \( -name "*.orig" -or -name "*.bak" \) -exec rm -f {} \; + +do-install: + ${INSTALL_PROGRAM} ${WRKSRC}/uzbl-core ${PREFIX}/bin + ${INSTALL_SCRIPT} ${WRKSRC}/uzbl-browser ${PREFIX}/bin +.for f in uzbl-event-manager uzbl-cookie-daemon uzbl-tabbed + ${INSTALL_SCRIPT} ${WRKSRC}/examples/data/uzbl/scripts/${f} ${PREFIX}/bin +.endfor + ${MKDIR} ${DATADIR}/docs + ${INSTALL_DATA} ${WRKSRC}/config.h ${DATADIR}/docs +.for f in COMMUNITY CONTRIBUTING FAQ INSTALL TODO config-syntax \ + multiple-instances-management performance url-editing + ${INSTALL_DATA} ${WRKSRC}/docs/${f} ${DATADIR}/docs +.endfor +.for f in AUTHORS README + ${INSTALL_DATA} ${WRKSRC}/${f} ${DATADIR}/docs +.endfor + ${MKDIR} ${DATADIR}/examples/config/uzbl \ + ${DATADIR}/examples/data/uzbl/forms +.for f in examples/config/uzbl/config examples/config/uzbl/cookies \ + examples/data/uzbl/bookmarks \ + examples/data/uzbl/forms/bbs.archlinux.org \ + examples/data/uzbl/style.css examples/data/uzbl/uzbl.png + ${INSTALL_DATA} ${WRKSRC}/${f} ${DATADIR}/${f} +.endfor + (cd ${WRKSRC}/examples/data/uzbl && \ + ${COPYTREE_BIN} plugins ${DATADIR}/examples/data/uzbl) + (cd ${WRKSRC}/examples/data/uzbl && \ + ${COPYTREE_BIN} scripts ${DATADIR}/examples/data/uzbl) + +.include <bsd.port.mk> diff --git a/www/uzbl/distinfo b/www/uzbl/distinfo new file mode 100644 index 000000000000..5d58a9c6386d --- /dev/null +++ b/www/uzbl/distinfo @@ -0,0 +1,3 @@ +MD5 (uzbl-0.0.0.2010.01.05.tar.gz) = 2574fc68a7a7693297d371ca58a4edb4 +SHA256 (uzbl-0.0.0.2010.01.05.tar.gz) = 0aae5c9994d968b4f4ec7f8f2ce935c25e25d19cabbce27e3ded0672756132c8 +SIZE (uzbl-0.0.0.2010.01.05.tar.gz) = 133875 diff --git a/www/uzbl/files/patch-examples__data__uzbl__scripts__uzbl-cookie-daemon b/www/uzbl/files/patch-examples__data__uzbl__scripts__uzbl-cookie-daemon new file mode 100644 index 000000000000..49530c2e171b --- /dev/null +++ b/www/uzbl/files/patch-examples__data__uzbl__scripts__uzbl-cookie-daemon @@ -0,0 +1,29 @@ +--- ./examples/data/uzbl/scripts/uzbl-cookie-daemon.orig 2010-01-05 20:17:29.000000000 +0100 ++++ ./examples/data/uzbl/scripts/uzbl-cookie-daemon 2010-01-07 13:24:58.000000000 +0100 +@@ -187,7 +187,7 @@ + raise Exception("directory at %r is not a socket" % cookie_socket) + + try: +- sock = socket.socket(socket.AF_UNIX, socket.SOCK_SEQPACKET) ++ sock = socket.socket(socket.AF_UNIX, socket.SOCK_STREAM) + sock.connect(cookie_socket) + sock.close() + echo("detected daemon listening on %r" % cookie_socket) +@@ -210,7 +210,7 @@ + return False + + try: +- sock = socket.socket(socket.AF_UNIX, socket.SOCK_SEQPACKET) ++ sock = socket.socket(socket.AF_UNIX, socket.SOCK_STREAM) + sock.connect(cookie_socket) + sock.send(cmd) + sock.close() +@@ -420,7 +420,7 @@ + mkbasedir(cookie_socket) + + self.server_socket = socket.socket(socket.AF_UNIX, +- socket.SOCK_SEQPACKET) ++ socket.SOCK_STREAM) + + self.server_socket.bind(cookie_socket) + diff --git a/www/uzbl/files/patch-uzbl-core.c b/www/uzbl/files/patch-uzbl-core.c new file mode 100644 index 000000000000..89712e2053bc --- /dev/null +++ b/www/uzbl/files/patch-uzbl-core.c @@ -0,0 +1,19 @@ +--- uzbl-core.c.orig 2010-01-05 20:17:29.000000000 +0100 ++++ uzbl-core.c 2010-01-08 10:13:45.000000000 +0100 +@@ -29,6 +29,7 @@ + * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + */ + ++#include <sys/errno.h> + #include "uzbl-core.h" + #include "callbacks.h" + #include "events.h" +@@ -1436,7 +1437,7 @@ + sa.sun_family = AF_UNIX; + + /* create socket file descriptor and connect it to path */ +- fd = socket(AF_UNIX, SOCK_SEQPACKET, 0); ++ fd = socket(AF_UNIX, SOCK_STREAM, 0); + if(fd == -1) { + g_printerr("talk_to_socket: creating socket failed (%s)\n", strerror(errno)); + return; diff --git a/www/uzbl/pkg-descr b/www/uzbl/pkg-descr new file mode 100644 index 000000000000..6f83044a9e5c --- /dev/null +++ b/www/uzbl/pkg-descr @@ -0,0 +1,6 @@ +Uzbl is a collection of web interface tools that follow the UNIX philosophy - +"Write programs that do one thing and do it well. Write programs to work +together. Write programs to handle text streams, because that is a universal +interface." + +WWW: http://www.uzbl.org diff --git a/www/uzbl/pkg-plist b/www/uzbl/pkg-plist new file mode 100644 index 000000000000..7219d7fd51a5 --- /dev/null +++ b/www/uzbl/pkg-plist @@ -0,0 +1,62 @@ +bin/uzbl-core +bin/uzbl-browser +bin/uzbl-cookie-daemon +bin/uzbl-event-manager +bin/uzbl-tabbed +%%DATADIR%%/docs/url-editing +%%DATADIR%%/docs/CONTRIBUTING +%%DATADIR%%/docs/FAQ +%%DATADIR%%/docs/INSTALL +%%DATADIR%%/docs/TODO +%%DATADIR%%/docs/config-syntax +%%DATADIR%%/docs/multiple-instances-management +%%DATADIR%%/docs/performance +%%DATADIR%%/docs/COMMUNITY +%%DATADIR%%/docs/config.h +%%DATADIR%%/docs/AUTHORS +%%DATADIR%%/docs/README +%%DATADIR%%/examples/config/uzbl/config +%%DATADIR%%/examples/config/uzbl/cookies +%%DATADIR%%/examples/data/uzbl/forms/bbs.archlinux.org +%%DATADIR%%/examples/data/uzbl/plugins/progress_bar.py +%%DATADIR%%/examples/data/uzbl/plugins/completion.py +%%DATADIR%%/examples/data/uzbl/plugins/config.py +%%DATADIR%%/examples/data/uzbl/plugins/keycmd.py +%%DATADIR%%/examples/data/uzbl/plugins/mode.py +%%DATADIR%%/examples/data/uzbl/plugins/on_event.py +%%DATADIR%%/examples/data/uzbl/plugins/plugin_template.py +%%DATADIR%%/examples/data/uzbl/plugins/bind.py +%%DATADIR%%/examples/data/uzbl/scripts/uzblcat +%%DATADIR%%/examples/data/uzbl/scripts/download.sh +%%DATADIR%%/examples/data/uzbl/scripts/extedit.js +%%DATADIR%%/examples/data/uzbl/scripts/follow_Numbers.js +%%DATADIR%%/examples/data/uzbl/scripts/follow_Numbers_Strings.js +%%DATADIR%%/examples/data/uzbl/scripts/formfiller.pl +%%DATADIR%%/examples/data/uzbl/scripts/formfiller.sh +%%DATADIR%%/examples/data/uzbl/scripts/hint.js +%%DATADIR%%/examples/data/uzbl/scripts/history.sh +%%DATADIR%%/examples/data/uzbl/scripts/insert_bookmark.sh +%%DATADIR%%/examples/data/uzbl/scripts/instance-select-wmii.sh +%%DATADIR%%/examples/data/uzbl/scripts/linkfollow.js +%%DATADIR%%/examples/data/uzbl/scripts/load_url_from_bookmarks.sh +%%DATADIR%%/examples/data/uzbl/scripts/load_url_from_history.sh +%%DATADIR%%/examples/data/uzbl/scripts/scheme.py +%%DATADIR%%/examples/data/uzbl/scripts/scroll-percentage.js +%%DATADIR%%/examples/data/uzbl/scripts/session.sh +%%DATADIR%%/examples/data/uzbl/scripts/uzbl-cookie-daemon +%%DATADIR%%/examples/data/uzbl/scripts/uzbl-tabbed +%%DATADIR%%/examples/data/uzbl/scripts/uzbl-event-manager +%%DATADIR%%/examples/data/uzbl/scripts/cookies.sh +%%DATADIR%%/examples/data/uzbl/bookmarks +%%DATADIR%%/examples/data/uzbl/style.css +%%DATADIR%%/examples/data/uzbl/uzbl.png +@dirrm %%DATADIR%%/docs +@dirrm %%DATADIR%%/examples/config/uzbl +@dirrm %%DATADIR%%/examples/config +@dirrm %%DATADIR%%/examples/data/uzbl/forms +@dirrm %%DATADIR%%/examples/data/uzbl/plugins +@dirrm %%DATADIR%%/examples/data/uzbl/scripts +@dirrm %%DATADIR%%/examples/data/uzbl +@dirrm %%DATADIR%%/examples/data +@dirrm %%DATADIR%%/examples +@dirrm %%DATADIR%% |