2013-03-09 20:59:21 +01:00
|
|
|
# Created by: Christopher Knaust <jigboe@gmx.de>
|
2010-01-04 18:32:01 +01:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= surf
|
2010-09-14 21:40:50 +02:00
|
|
|
PORTVERSION= 0.4.1
|
2012-06-01 07:26:28 +02:00
|
|
|
PORTREVISION= 2
|
2010-01-04 18:32:01 +01:00
|
|
|
CATEGORIES= www
|
2010-07-14 05:28:27 +02:00
|
|
|
MASTER_SITES= http://dl.suckless.org/${PORTNAME}/
|
2010-01-04 18:32:01 +01:00
|
|
|
|
2013-03-09 20:59:21 +01:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
|
|
COMMENT= Simple Web browser based on WebKit/Gtk+
|
2010-01-04 18:32:01 +01:00
|
|
|
|
2011-08-23 20:39:19 +02:00
|
|
|
LIB_DEPENDS= webkitgtk-1.0:${PORTSDIR}/www/webkit-gtk2
|
2010-01-04 18:32:01 +01:00
|
|
|
RUN_DEPENDS= dmenu:${PORTSDIR}/x11/dmenu
|
|
|
|
|
|
|
|
USE_GNOME= gtk20 pkgconfig
|
|
|
|
|
|
|
|
MAN1= surf.1
|
|
|
|
PLIST_FILES= bin/surf
|
|
|
|
PORTDOCS= LICENSE README
|
|
|
|
|
2010-11-23 10:57:57 +01:00
|
|
|
CONFLICTS= surf-1* # math/surf
|
|
|
|
|
2010-01-06 22:08:11 +01:00
|
|
|
# Name conflicts with the math/surf port
|
|
|
|
NO_LATEST_LINK= yes
|
|
|
|
|
2010-01-04 18:32:01 +01:00
|
|
|
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>
|