aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexey Dokuchaev <danfe@FreeBSD.org>2017-06-05 14:10:14 +0000
committerAlexey Dokuchaev <danfe@FreeBSD.org>2017-06-05 14:10:14 +0000
commit7edb46c57034cad6f3a130fa9d7df7ca2a3c5c1b (patch)
treee980701e8c6dab1e805d0325cfc35a317b5e9103
parent44c6abd583fb7bc192533719cfb5d5bd826f9361 (diff)
downloadports-7edb46c57034cad6f3a130fa9d7df7ca2a3c5c1b.tar.gz
ports-7edb46c57034cad6f3a130fa9d7df7ca2a3c5c1b.zip
Notes
-rw-r--r--x11-wm/awesome/Makefile18
-rw-r--r--x11-wm/awesome/pkg-plist36
2 files changed, 28 insertions, 26 deletions
diff --git a/x11-wm/awesome/Makefile b/x11-wm/awesome/Makefile
index 074a8f49d643..0a455bac4360 100644
--- a/x11-wm/awesome/Makefile
+++ b/x11-wm/awesome/Makefile
@@ -13,9 +13,7 @@ COMMENT= Highly configurable, next generation framework window manager
LICENSE= GPLv2+
LICENSE_FILE= ${WRKSRC}/LICENSE
-BUILD_DEPENDS= asciidoc:textproc/asciidoc \
- convert:graphics/ImageMagick \
- xmlto:textproc/xmlto \
+BUILD_DEPENDS= convert:graphics/ImageMagick \
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 \
@@ -38,19 +36,23 @@ USE_GITHUB= yes
GH_ACCOUNT= awesomewm
USES= cmake:outsource execinfo gettext iconv pkgconfig lua shebangfix
SHEBANG_FILES= utils/awesome-client
-CMAKE_ARGS+= -DSYSCONFDIR=${PREFIX}/etc \
+CMAKE_ARGS= -DSYSCONFDIR=${PREFIX}/etc \
-DAWESOME_MAN_PATH=${MANPREFIX}/man \
-DGENERATE_DOC=OFF
USE_GNOME= glib20 pango gdkpixbuf2
USE_XORG= pixman x11 xau xcb xdmcp xext xft xinerama xrandr xrender \
xproto
-OPTIONS_DEFINE= DBUS DOCS
-OPTIONS_DEFAULT=DBUS
+OPTIONS_DEFINE= DBUS DOCS MANPAGES
+OPTIONS_DEFAULT=DBUS MANPAGES
+OPTIONS_SUB= yes
DBUS_LIB_DEPENDS= libdbus-1.so:devel/dbus
-DBUS_CMAKE_ON= -DWITH_DBUS=ON
-DBUS_CMAKE_OFF= -DWITH_DBUS=OFF
+DBUS_CMAKE_OFF= -DWITH_DBUS:BOOL=OFF
+
+MANPAGES_BUILD_DEPENDS= asciidoc:textproc/asciidoc \
+ xmlto:textproc/xmlto
+MANPAGES_CMAKE_OFF= -DGENERATE_MANPAGES:BOOL=OFF
.include <bsd.port.pre.mk>
diff --git a/x11-wm/awesome/pkg-plist b/x11-wm/awesome/pkg-plist
index 1b9596d66747..b4ddd5eb4cce 100644
--- a/x11-wm/awesome/pkg-plist
+++ b/x11-wm/awesome/pkg-plist
@@ -1,24 +1,24 @@
bin/awesome
bin/awesome-client
etc/xdg/awesome/rc.lua
-man/de/man1/awesome-client.1.gz
-man/de/man1/awesome.1.gz
-man/de/man5/awesomerc.5.gz
-man/es/man1/awesome-client.1.gz
-man/es/man1/awesome.1.gz
-man/es/man5/awesomerc.5.gz
-man/fr/man1/awesome-client.1.gz
-man/fr/man1/awesome.1.gz
-man/fr/man5/awesomerc.5.gz
-man/it/man1/awesome-client.1.gz
-man/it/man1/awesome.1.gz
-man/it/man5/awesomerc.5.gz
-man/man1/awesome-client.1.gz
-man/man1/awesome.1.gz
-man/man5/awesomerc.5.gz
-man/ru/man1/awesome-client.1.gz
-man/ru/man1/awesome.1.gz
-man/ru/man5/awesomerc.5.gz
+%%MANPAGES%%man/de/man1/awesome-client.1.gz
+%%MANPAGES%%man/de/man1/awesome.1.gz
+%%MANPAGES%%man/de/man5/awesomerc.5.gz
+%%MANPAGES%%man/es/man1/awesome-client.1.gz
+%%MANPAGES%%man/es/man1/awesome.1.gz
+%%MANPAGES%%man/es/man5/awesomerc.5.gz
+%%MANPAGES%%man/fr/man1/awesome-client.1.gz
+%%MANPAGES%%man/fr/man1/awesome.1.gz
+%%MANPAGES%%man/fr/man5/awesomerc.5.gz
+%%MANPAGES%%man/it/man1/awesome-client.1.gz
+%%MANPAGES%%man/it/man1/awesome.1.gz
+%%MANPAGES%%man/it/man5/awesomerc.5.gz
+%%MANPAGES%%man/man1/awesome-client.1.gz
+%%MANPAGES%%man/man1/awesome.1.gz
+%%MANPAGES%%man/man5/awesomerc.5.gz
+%%MANPAGES%%man/ru/man1/awesome-client.1.gz
+%%MANPAGES%%man/ru/man1/awesome.1.gz
+%%MANPAGES%%man/ru/man5/awesomerc.5.gz
%%DATADIR%%/icons/awesome16.png
%%DATADIR%%/icons/awesome32.png
%%DATADIR%%/icons/awesome48.png