diff options
author | kwm <kwm@df743ca5-7f9a-e211-a948-0013205c9059> | 2010-07-05 19:34:49 +0800 |
---|---|---|
committer | kwm <kwm@df743ca5-7f9a-e211-a948-0013205c9059> | 2010-07-05 19:34:49 +0800 |
commit | bde500a3f7cf00b9c196f3393e21c440b318b03f (patch) | |
tree | b107009a045c5f5fad5d442bbd34f58d031772cb /www/surf | |
parent | 910ed5f4ecfca362ba908a3f74a888b6e78022ff (diff) | |
download | marcuscom-ports-bde500a3f7cf00b9c196f3393e21c440b318b03f.tar marcuscom-ports-bde500a3f7cf00b9c196f3393e21c440b318b03f.tar.gz marcuscom-ports-bde500a3f7cf00b9c196f3393e21c440b318b03f.tar.bz2 marcuscom-ports-bde500a3f7cf00b9c196f3393e21c440b318b03f.tar.lz marcuscom-ports-bde500a3f7cf00b9c196f3393e21c440b318b03f.tar.xz marcuscom-ports-bde500a3f7cf00b9c196f3393e21c440b318b03f.tar.zst marcuscom-ports-bde500a3f7cf00b9c196f3393e21c440b318b03f.zip |
webkit-gtk2 shlib changed its name. Chase all users. also update some
depend lines to include a version because there is now a webkitgtk-1.0 and
webkitgtk-3.0. So webkitgtk matches both.
While here reset epiphany back to the 2.30 version.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@14295 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'www/surf')
-rw-r--r-- | www/surf/Makefile | 48 | ||||
-rw-r--r-- | www/surf/distinfo | 3 | ||||
-rw-r--r-- | www/surf/files/patch-config.mk | 38 | ||||
-rw-r--r-- | www/surf/pkg-descr | 6 |
4 files changed, 95 insertions, 0 deletions
diff --git a/www/surf/Makefile b/www/surf/Makefile new file mode 100644 index 000000000..fb80298d8 --- /dev/null +++ b/www/surf/Makefile @@ -0,0 +1,48 @@ +# New ports collection makefile for: surf +# Date created: December 21, 2009 +# Whom: Christopher Knaust <jigboe@gmx.de> +# +# $FreeBSD: ports/www/surf/Makefile,v 1.4 2010/03/28 06:45:06 dinoex Exp $ +# + +PORTNAME= surf +PORTVERSION= 0.3 +PORTREVISION= 3 +CATEGORIES= www +MASTER_SITES= http://dl.suckless.org/${PORTNAME}/ \ + LOCAL/glarkin + +MAINTAINER= jigboe@gmx.de +COMMENT= A simple Web browser based on WebKit/Gtk+ + +LIB_DEPENDS= webkitgtk-1.0:${PORTSDIR}/www/webkit-gtk2 +RUN_DEPENDS= dmenu:${PORTSDIR}/x11/dmenu + +USE_GNOME= gtk20 pkgconfig + +MAN1= surf.1 +PLIST_FILES= bin/surf +PORTDOCS= LICENSE README + +# Name conflicts with the math/surf port +NO_LATEST_LINK= yes + +pre-everything:: + @${ECHO_MSG} "You can build surf with your own config.h using the SURF_CONF knob:" + @${ECHO_MSG} "make SURF_CONF=/path/to/surf/config.h install clean" + +post-extract: +.if defined(SURF_CONF) + @${ECHO_MSG} "creating config.h from ${SURF_CONF}" + @${CP} ${SURF_CONF} ${WRKSRC}/config.h +.endif + +post-install: +.if !defined(NOPORTDOCS) + @${ECHO_MSG} "installing additional documentation to ${DOCSDIR}" + @${MKDIR} ${DOCSDIR} + @${INSTALL_MAN} ${WRKSRC}/LICENSE ${DOCSDIR} + @${INSTALL_MAN} ${WRKSRC}/README ${DOCSDIR} +.endif + +.include <bsd.port.mk> diff --git a/www/surf/distinfo b/www/surf/distinfo new file mode 100644 index 000000000..8bd34c700 --- /dev/null +++ b/www/surf/distinfo @@ -0,0 +1,3 @@ +MD5 (surf-0.3.tar.gz) = 0b7bbe58f0ca140f1fb7aac09c4319d9 +SHA256 (surf-0.3.tar.gz) = 652a9ddb0a82a6350fabbc7c8d8a9f852b8c838263f892ac7695dfcdd5b31842 +SIZE (surf-0.3.tar.gz) = 9838 diff --git a/www/surf/files/patch-config.mk b/www/surf/files/patch-config.mk new file mode 100644 index 000000000..d19ad65c9 --- /dev/null +++ b/www/surf/files/patch-config.mk @@ -0,0 +1,38 @@ +--- config.mk 2009-10-30 13:41:02.000000000 +0100 ++++ config.mk 2009-12-21 19:25:11.000000000 +0100 +@@ -4,25 +4,25 @@ VERSION = 0.3 + # Customize below to fit your system + + # paths +-PREFIX = /usr/local +-MANPREFIX = ${PREFIX}/share/man ++PREFIX?= /usr/local ++MANPREFIX = ${PREFIX}/man + +-GTKINC=$(shell pkg-config --cflags gtk+-2.0 webkit-1.0) +-GTKLIB=$(shell pkg-config --libs gtk+-2.0 webkit-1.0) ++GTKINC!= pkg-config --cflags gtk+-2.0 webkit-1.0 ++GTKLIB!= pkg-config --libs gtk+-2.0 webkit-1.0 + + + # includes and libs +-INCS = -I. -I/usr/include ${GTKINC} +-LIBS = -L/usr/lib -lc ${GTKLIB} -lgthread-2.0 ++INCS = ${GTKINC} ++LIBS = ${PTHREAD_LIBS} ${GTKLIB} + + # flags +-CPPFLAGS = -DVERSION=\"${VERSION}\" +-CFLAGS = -std=c99 -pedantic -Wall -Os ${INCS} ${CPPFLAGS} +-LDFLAGS = -s ${LIBS} ++CPPFLAGS+= -DVERSION=\"${VERSION}\" ++CFLAGS+= -std=c99 ${INCS} ${CPPFLAGS} ++LDFLAGS+= ${LIBS} + + # Solaris + #CFLAGS = -fast ${INCS} -DVERSION=\"${VERSION}\" + #LDFLAGS = ${LIBS} + + # compiler and linker +-CC = cc ++CC?= cc diff --git a/www/surf/pkg-descr b/www/surf/pkg-descr new file mode 100644 index 000000000..26aab1a1f --- /dev/null +++ b/www/surf/pkg-descr @@ -0,0 +1,6 @@ +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 |