2012-10-05 14:41:45 +02:00
|
|
|
# Created by: Nikos Ntarmos <ntarmos@ceid.upatras.gr>
|
2007-09-28 01:55:09 +02:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= awesome
|
2017-07-25 14:34:10 +02:00
|
|
|
PORTVERSION= 4.2
|
2017-04-11 19:38:49 +02:00
|
|
|
DISTVERSIONPREFIX= v
|
2013-03-13 22:29:11 +01:00
|
|
|
PORTEPOCH= 1
|
2007-09-28 01:55:09 +02:00
|
|
|
CATEGORIES= x11-wm
|
|
|
|
|
2010-01-09 11:51:27 +01:00
|
|
|
MAINTAINER= garga@FreeBSD.org
|
2014-07-01 20:53:47 +02:00
|
|
|
COMMENT= Highly configurable, next generation framework window manager
|
2007-09-28 01:55:09 +02:00
|
|
|
|
2016-05-29 15:55:12 +02:00
|
|
|
LICENSE= GPLv2+
|
|
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
2011-11-17 09:08:22 +01:00
|
|
|
|
2017-06-05 16:10:14 +02:00
|
|
|
BUILD_DEPENDS= convert:graphics/ImageMagick \
|
2017-04-11 19:38:49 +02:00
|
|
|
xproto>=7.0.15:x11/xproto \
|
|
|
|
${LUA_MODLIBDIR}/lgi/corelgilua${LUA_VER_STR}.so:devel/lua-lgi
|
|
|
|
RUN_DEPENDS= ${LUA_MODLIBDIR}/lgi/corelgilua${LUA_VER_STR}.so:devel/lua-lgi \
|
|
|
|
bash:shells/bash
|
2016-02-01 12:25:55 +01:00
|
|
|
LIB_DEPENDS= libcairo.so:graphics/cairo \
|
|
|
|
libstartup-notification-1.so:x11/startup-notification \
|
|
|
|
libxdg-basedir.so:x11/libxdg-basedir \
|
|
|
|
libxcb-cursor.so:x11/xcb-util-cursor \
|
2017-04-11 19:38:49 +02:00
|
|
|
libxcb-util.so:x11/xcb-util \
|
2016-02-01 12:25:55 +01:00
|
|
|
libxcb-keysyms.so:x11/xcb-util-keysyms \
|
|
|
|
libxcb-icccm.so:x11/xcb-util-wm \
|
2017-04-11 19:38:49 +02:00
|
|
|
libxcb-xrm.so:x11/xcb-util-xrm \
|
|
|
|
libxkbcommon.so:x11/libxkbcommon
|
2007-09-28 01:55:09 +02:00
|
|
|
|
2017-05-20 18:58:10 +02:00
|
|
|
BROKEN_powerpc64= fails to compile: stack.h: redefinition of typedef 'client_t'
|
|
|
|
|
2017-05-18 23:20:30 +02:00
|
|
|
CONFLICTS_INSTALL= awesome3-[0-9]*
|
2017-04-11 19:38:49 +02:00
|
|
|
|
|
|
|
USE_GITHUB= yes
|
|
|
|
GH_ACCOUNT= awesomewm
|
2017-09-22 12:48:28 +02:00
|
|
|
USES= cmake:outsource gettext iconv pkgconfig lua shebangfix
|
2017-04-11 19:38:49 +02:00
|
|
|
SHEBANG_FILES= utils/awesome-client
|
2017-06-05 16:10:14 +02:00
|
|
|
CMAKE_ARGS= -DSYSCONFDIR=${PREFIX}/etc \
|
2017-04-11 19:38:49 +02:00
|
|
|
-DAWESOME_MAN_PATH=${MANPREFIX}/man \
|
|
|
|
-DGENERATE_DOC=OFF
|
2013-11-01 00:57:27 +01:00
|
|
|
USE_GNOME= glib20 pango gdkpixbuf2
|
The FreeBSD x11 team proudly presents
an zeising, kwm, miwi, bapt, eadler production:
Xorg 7.7
Starring:
xserver 1.12.4 (new xorg only)
Mesa 8.0.4, including libGL, libGLU and dri (new xorg only)
libX11 1.5.0
libxcb 1.9
libdrm 2.4.42 (new xorg only)
freeglut 2.8.1
Also starring:
Updates to drivers and other libraries and utilities
Additional notes:
Change pkgconf to be a build dependency.
Add a new USE_XORG, xcb, to depend on libxcb and update all ports to use
this.
Trim makefile headers.
Take maintanership of x11/xcb-proto, ok'd by ashish.
If you are running WITH_NEW_XORG=, you need to rebuild all installed
drivers, see UPDATING for more information.
Various fixes to make ports compile.
PR: ports/177942
Exp-run by: miwi
Approved by: portmgr (miwi)
Thanks to all who helped testing!
2013-05-25 16:37:02 +02:00
|
|
|
USE_XORG= pixman x11 xau xcb xdmcp xext xft xinerama xrandr xrender \
|
|
|
|
xproto
|
2009-02-05 03:15:55 +01:00
|
|
|
|
2017-06-05 16:10:14 +02:00
|
|
|
OPTIONS_DEFINE= DBUS DOCS MANPAGES
|
|
|
|
OPTIONS_DEFAULT=DBUS MANPAGES
|
|
|
|
OPTIONS_SUB= yes
|
2009-04-01 19:43:39 +02:00
|
|
|
|
2016-02-01 12:25:55 +01:00
|
|
|
DBUS_LIB_DEPENDS= libdbus-1.so:devel/dbus
|
2017-06-05 16:10:14 +02:00
|
|
|
DBUS_CMAKE_OFF= -DWITH_DBUS:BOOL=OFF
|
|
|
|
|
|
|
|
MANPAGES_BUILD_DEPENDS= asciidoc:textproc/asciidoc \
|
|
|
|
xmlto:textproc/xmlto
|
|
|
|
MANPAGES_CMAKE_OFF= -DGENERATE_MANPAGES:BOOL=OFF
|
2013-11-01 00:57:27 +01:00
|
|
|
|
2009-02-05 03:15:55 +01:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
|
|
|
.if (exists(${LOCALBASE}/libdata/pkgconfig/cairo.pc) && \
|
|
|
|
!exists(${LOCALBASE}/libdata/pkgconfig/cairo-xcb.pc))
|
2009-02-26 03:08:44 +01:00
|
|
|
IGNORE= cannot find dependency: The cairo exists but not with XCB support. Please reinstall graphics/cairo with XCB support
|
2007-09-28 01:55:09 +02:00
|
|
|
.endif
|
2009-02-05 03:15:55 +01:00
|
|
|
|
2010-09-05 16:33:45 +02:00
|
|
|
post-patch:
|
2017-04-11 19:38:49 +02:00
|
|
|
# Ref https://github.com/awesomeWM/awesome/issues/1377
|
|
|
|
@${REINPLACE_CMD} -e "/COMMAND lua/ s,lua,${LUA_CMD}," \
|
2013-03-25 11:17:40 +01:00
|
|
|
${WRKSRC}/awesomeConfig.cmake
|
|
|
|
@${REINPLACE_CMD} -e "s,^lua ,${LUA_CMD} ," \
|
|
|
|
${WRKSRC}/build-utils/lgi-check.sh
|
2010-09-05 16:33:45 +02:00
|
|
|
|
2009-02-05 03:15:55 +01:00
|
|
|
.include <bsd.port.post.mk>
|