surf is a simple web browser based on WebKit2/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.
28 lines
905 B
Makefile
28 lines
905 B
Makefile
# $NetBSD: Makefile,v 1.1 2021/07/17 14:50:48 leot Exp $
|
|
|
|
DISTNAME= surf-2.1
|
|
CATEGORIES= www
|
|
MASTER_SITES= https://dl.suckless.org/surf/
|
|
|
|
MAINTAINER= leot@NetBSD.org
|
|
HOMEPAGE= https://surf.suckless.org/
|
|
COMMENT= Fast and minimalistic web browser based on WebKit2/GTK+
|
|
LICENSE= mit
|
|
|
|
USE_TOOLS+= pkg-config
|
|
|
|
SUBST_CLASSES+= configmk
|
|
SUBST_STAGE.configmk= pre-configure
|
|
SUBST_MESSAGE.configmk= Fixing config.mk
|
|
SUBST_FILES.configmk= config.mk
|
|
SUBST_SED.configmk+= -e 's,/usr/local,${PREFIX},g'
|
|
SUBST_SED.configmk+= -e 's,share/man,${PKGMANDIR},g'
|
|
SUBST_SED.configmk+= -e 's,/usr/X11R6,${X11BASE},g'
|
|
SUBST_SED.configmk+= -e 's,^CFLAGS *= ,CFLAGS += ,'
|
|
SUBST_SED.configmk+= -e 's,^LDFLAGS *= ,LDFLAGS += ,'
|
|
SUBST_SED.configmk+= -e 's/cc/${CC:Q}/'
|
|
|
|
.include "../../security/gcr/buildlink3.mk"
|
|
.include "../../www/webkit-gtk/buildlink3.mk"
|
|
.include "../../x11/gtk3/buildlink3.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|