1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-27 05:10:36 +00:00
freebsd-ports/x11-wm/herbstluftwm/Makefile
Mathieu Arnold cf118ccf87
One more small cleanup, forgotten yesterday.
Reported by:	lwhsu
2021-04-07 10:09:01 +02:00

43 lines
997 B
Makefile

PORTNAME= herbstluftwm
DISTVERSIONPREFIX= v
DISTVERSION= 0.9.2
CATEGORIES= x11-wm
MAINTAINER= uzsolt@uzsolt.hu
COMMENT= Manual tiling window manager for X11
LICENSE= BSD2CLAUSE
BUILD_DEPENDS= asciidoc:textproc/asciidoc
LIB_DEPENDS+= libfreetype.so:print/freetype2
USES= cmake compiler:c++11-lang gnome \
localbase:ldflags pkgconfig shebangfix xorg
USE_GITHUB= yes
USE_GNOME= glib20
USE_XORG= x11 xext xft xinerama xrandr
SHEBANG_FILES= doc/gendoc.py scripts/*.sh share/*.sh
SUB_FILES= pkg-message
OPTIONS_DEFINE= DOCS EXAMPLES
OPTIONS_SUB= yes
DOCS_USES+= python:3.5+,build
DOCS_CMAKE_BOOL+= WITH_DOCUMENTATION
DOCS_VARS= binary_alias=python3=${PYTHON_CMD}
.include <bsd.port.options.mk>
post-patch-EXAMPLES-on:
@${REINPLACE_CMD} -e 's,$${DOCDIR}/examples,${EXAMPLESDIR},' ${WRKSRC}/CMakeLists.txt
post-patch-EXAMPLES-off:
@${REINPLACE_CMD} -e '\@$${DOCDIR}/examples@d' ${WRKSRC}/CMakeLists.txt
post-install:
${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/herbst*
.include <bsd.port.mk>