Date: Mon, 21 Dec 2009 21:02:30 +0000 (UTC) From: Christopher Knaust <jigboe@gmx.de> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/141854: New Port: www/surf - A simple Web browser based on WebKit/Gtk+ Message-ID: <20091221210230.73B83106568F@hub.freebsd.org> Resent-Message-ID: <200912212110.nBLLA4Gx059113@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 141854 >Category: ports >Synopsis: New Port: www/surf - A simple Web browser based on WebKit/Gtk+ >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Mon Dec 21 21:10:03 UTC 2009 >Closed-Date: >Last-Modified: >Originator: Christopher Knaust >Release: FreeBSD 7.2-RELEASE-p5 i386 >Organization: >Environment: System: FreeBSD T41.local 7.2-RELEASE-p5 FreeBSD 7.2-RELEASE-p5 #0: Sun Dec 6 13:04:45 CET 2009 bigjoe@T41.local:/usr/obj/usr/src/sys/THINKPAD_T41 i386 >Description: surf is a simple web browser based on WebKit/GTK+. It is able to display websites and follow links. It supports the XEmbed protocol which makes it possible to embed it in another application. Furthermore, one can point surf to another URI by setting its XProperties. WWW: http://surf.suckless.org >How-To-Repeat: >Fix: --- surf_port.shar begins here --- # This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # surf # surf/files # surf/files/patch-config.mk # surf/Makefile # surf/distinfo # surf/pkg-descr # echo c - surf mkdir -p surf > /dev/null 2>&1 echo c - surf/files mkdir -p surf/files > /dev/null 2>&1 echo x - surf/files/patch-config.mk sed 's/^X//' >surf/files/patch-config.mk << '5d5730cdd17d1405902df5caf91779bb' X--- config.mk 2009-10-30 13:41:02.000000000 +0100 X+++ config.mk 2009-12-21 19:25:11.000000000 +0100 X@@ -4,25 +4,25 @@ VERSION = 0.3 X # Customize below to fit your system X X # paths X-PREFIX = /usr/local X-MANPREFIX = ${PREFIX}/share/man X+PREFIX?= /usr/local X+MANPREFIX = ${PREFIX}/man X X-GTKINC=$(shell pkg-config --cflags gtk+-2.0 webkit-1.0) X-GTKLIB=$(shell pkg-config --libs gtk+-2.0 webkit-1.0) X+GTKINC!= pkg-config --cflags gtk+-2.0 webkit-1.0 X+GTKLIB!= pkg-config --libs gtk+-2.0 webkit-1.0 X X X # includes and libs X-INCS = -I. -I/usr/include ${GTKINC} X-LIBS = -L/usr/lib -lc ${GTKLIB} -lgthread-2.0 X+INCS = ${GTKINC} X+LIBS = ${PTHREAD_LIBS} ${GTKLIB} X X # flags X-CPPFLAGS = -DVERSION=\"${VERSION}\" X-CFLAGS = -std=c99 -pedantic -Wall -Os ${INCS} ${CPPFLAGS} X-LDFLAGS = -s ${LIBS} X+CPPFLAGS+= -DVERSION=\"${VERSION}\" X+CFLAGS+= -std=c99 ${INCS} ${CPPFLAGS} X+LDFLAGS+= ${LIBS} X X # Solaris X #CFLAGS = -fast ${INCS} -DVERSION=\"${VERSION}\" X #LDFLAGS = ${LIBS} X X # compiler and linker X-CC = cc X+CC?= cc 5d5730cdd17d1405902df5caf91779bb echo x - surf/Makefile sed 's/^X//' >surf/Makefile << '3be5577f187d084ed559640092728972' X# New ports collection makefile for: surf X# Date created: December 21, 2009 X# Whom: Christopher Knaust <jigboe@gmx.de> X# X# $FreeBSD$ X# X XPORTNAME= surf XPORTVERSION= 0.3 XCATEGORIES= www XMASTER_SITES= http://dl.suckless.org/${PORTNAME}/ X XMAINTAINER= jigboe@gmx.de XCOMMENT= A simple Web browser based on WebKit/Gtk+ X XLIB_DEPENDS= webkit-1.0:${PORTSDIR}/www/webkit-gtk2 XRUN_DEPENDS= dmenu:${PORTSDIR}/x11/dmenu X XUSE_GNOME= gtk20 pkgconfig X XMAN1= surf.1 XPLIST_FILES= bin/surf XPORTDOCS= LICENSE README X Xpre-everything:: X @${ECHO_MSG} "You can build surf with your own config.h using the SURF_CONF knob:" X @${ECHO_MSG} "make SURF_CONF=/path/to/surf/config.h install clean" X Xpost-extract: X.if defined(SURF_CONF) X @${ECHO_MSG} "creating config.h from ${SURF_CONF}" X @${CP} ${SURF_CONF} ${WRKSRC}/config.h X.endif X Xpost-install: X.if !defined(NOPORTDOCS) X @${ECHO_MSG} "installing additional documentation to ${DOCSDIR}" X @${MKDIR} ${DOCSDIR} X @${INSTALL_MAN} ${WRKSRC}/LICENSE ${DOCSDIR} X @${INSTALL_MAN} ${WRKSRC}/README ${DOCSDIR} X.endif X X.include <bsd.port.mk> 3be5577f187d084ed559640092728972 echo x - surf/distinfo sed 's/^X//' >surf/distinfo << 'd2daca25b6f84ecf183b59713ccaa0cc' XMD5 (surf-0.3.tar.gz) = 0b7bbe58f0ca140f1fb7aac09c4319d9 XSHA256 (surf-0.3.tar.gz) = 652a9ddb0a82a6350fabbc7c8d8a9f852b8c838263f892ac7695dfcdd5b31842 XSIZE (surf-0.3.tar.gz) = 9838 d2daca25b6f84ecf183b59713ccaa0cc echo x - surf/pkg-descr sed 's/^X//' >surf/pkg-descr << '7c5c39bc2fb1afca1f377d7a087cd87c' Xsurf is a simple web browser based on WebKit/GTK+. It is able to display Xwebsites and follow links. It supports the XEmbed protocol which makes Xit possible to embed it in another application. Furthermore, one can Xpoint surf to another URI by setting its XProperties. X XWWW: http://surf.suckless.org 7c5c39bc2fb1afca1f377d7a087cd87c exit --- surf_port.shar ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20091221210230.73B83106568F>