aboutsummaryrefslogtreecommitdiff
path: root/www/surf
diff options
context:
space:
mode:
authorEitan Adler <eadler@FreeBSD.org>2013-03-09 21:36:59 +0000
committerEitan Adler <eadler@FreeBSD.org>2013-03-09 21:36:59 +0000
commitd567c4c25ffb2cd933f753aeb0c00d9c5b3dfd8c (patch)
tree453d8d9b4e6059a7528028d04f1412316492cc45 /www/surf
parente45341193944239158557611c72a9b6a609196ed (diff)
downloadports-d567c4c25ffb2cd933f753aeb0c00d9c5b3dfd8c.tar.gz
ports-d567c4c25ffb2cd933f753aeb0c00d9c5b3dfd8c.zip
Notes
Diffstat (limited to 'www/surf')
-rw-r--r--www/surf/Makefile9
1 files changed, 6 insertions, 3 deletions
diff --git a/www/surf/Makefile b/www/surf/Makefile
index 2c7bc259f520..4ca8e3d47222 100644
--- a/www/surf/Makefile
+++ b/www/surf/Makefile
@@ -10,10 +10,11 @@ MASTER_SITES= http://dl.suckless.org/${PORTNAME}/
MAINTAINER= ports@FreeBSD.org
COMMENT= Simple Web browser based on WebKit/Gtk+
-LIB_DEPENDS= webkitgtk-1.0:${PORTSDIR}/www/webkit-gtk2
+LIB_DEPENDS= webkitgtk-1:${PORTSDIR}/www/webkit-gtk2
RUN_DEPENDS= dmenu:${PORTSDIR}/x11/dmenu
-USE_GNOME= gtk20 pkgconfig
+USE_GNOME= gtk20
+USE_PKGCONFIG= yes
MAN1= surf.1
PLIST_FILES= bin/surf
@@ -24,6 +25,8 @@ CONFLICTS= surf-1* # math/surf
# Name conflicts with the math/surf port
NO_LATEST_LINK= yes
+.include <bsd.port.options.mk>
+
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"
@@ -35,7 +38,7 @@ post-extract:
.endif
post-install:
-.if !defined(NOPORTDOCS)
+.if ${PORT_OPTIONS:MDOCS}
@${ECHO_MSG} "installing additional documentation to ${DOCSDIR}"
@${MKDIR} ${DOCSDIR}
@${INSTALL_MAN} ${WRKSRC}/LICENSE ${DOCSDIR}