aboutsummaryrefslogtreecommitdiffstats
path: root/www
diff options
context:
space:
mode:
authorwg <wg@FreeBSD.org>2013-09-07 23:49:54 +0800
committerwg <wg@FreeBSD.org>2013-09-07 23:49:54 +0800
commit5956d1ecdd493037c0dc82725576c56c22f4e1d5 (patch)
tree337ab86eb534fb24816942e7ed61b1c30df41e43 /www
parent6ab3480c1850ed40057927f5d5efb4b043236cf9 (diff)
downloadfreebsd-ports-gnome-5956d1ecdd493037c0dc82725576c56c22f4e1d5.tar.gz
freebsd-ports-gnome-5956d1ecdd493037c0dc82725576c56c22f4e1d5.tar.zst
freebsd-ports-gnome-5956d1ecdd493037c0dc82725576c56c22f4e1d5.zip
www/uzbl: missing pkgconfig dependency
- Add missing pkgconfig [1] - Trim Makefile header [1] - USES gmake pygtk2 - Convert lib depends to new syntax - Python 2.5 is no longer supported - Add DOCS option - NOPORTDOCS -> PORT_OPTIONS:MDOCS PR: ports/181910 [1] Submitted by: Klaus Aehlig <aehlig linta.de> (maintainer)
Diffstat (limited to 'www')
-rw-r--r--www/uzbl/Makefile28
1 files changed, 13 insertions, 15 deletions
diff --git a/www/uzbl/Makefile b/www/uzbl/Makefile
index 930b0113583c..79d3e31b824a 100644
--- a/www/uzbl/Makefile
+++ b/www/uzbl/Makefile
@@ -1,13 +1,9 @@
-# Ports collection makefile for: uzbl
-# Date created: 2009/12/14
-# Whom: aehlig@linta.de
-#
+# Created by: Klaus Aehlig <aehlig@linta.de>
# $FreeBSD$
-#
PORTNAME= uzbl
DISTVERSION= 0.0.0.${GITDATE}
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= www
MASTER_SITES= http://www.linta.de/distfiles/
@@ -17,23 +13,25 @@ COMMENT= Web interface tools which adhere to the unix philosophy
LICENSE= GPLv3
LICENSE_FILE= ${WRKSRC}/LICENSE
-LIB_DEPENDS= webkitgtk-1.0:${PORTSDIR}/www/webkit-gtk2
+LIB_DEPENDS= libwebkitgtk-1.0.so:${PORTSDIR}/www/webkit-gtk2
RUN_DEPENDS= socat:${PORTSDIR}/net/socat \
- dmenu:${PORTSDIR}/x11/dmenu \
- ${PYTHON_PKGNAMEPREFIX}gtk>=2:${PORTSDIR}/x11-toolkits/py-gtk2
+ dmenu:${PORTSDIR}/x11/dmenu
-USE_GNOME= gtk20
+USES= gmake pkgconfig
+USE_GNOME= gtk20 pygtk2
USE_LDCONFIG= yes
-USE_GMAKE= yes
-USE_PYTHON= 2.5-2.7
+USE_PYTHON= -2.7
GITDATE= 2012.05.14
GITVERSION= 228bc38
WRKSRC= ${WRKDIR}/Dieterbe-uzbl-${GITVERSION}
+OPTIONS_DEFINE= DOCS
-.if !defined(NOPORTDOCS)
+.include <bsd.port.options.mk>
+
+.if ${PORT_OPTIONS:MDOCS}
PORTDOCS= AUTHORS README COMMUNITY CONTRIBUTING FAQ INSTALL TODO config-syntax \
multiple-instances-management performance url-editing config.h vim
.endif
@@ -64,8 +62,8 @@ do-install:
.for f in uzbl-event-manager uzbl-browser uzbl-tabbed
${INSTALL_SCRIPT} ${WRKSRC}/bin/${f} ${PREFIX}/bin
.endfor
-.if !defined(NOPORTDOCS)
- ${MKDIR} ${DOCSDIR}
+.if ${PORT_OPTIONS:MDOCS}
+ @${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/src/config.h ${DOCSDIR}
.for f in COMMUNITY CONTRIBUTING FAQ INSTALL TODO config-syntax \
multiple-instances-management performance url-editing