59 lines
1.7 KiB
Makefile
59 lines
1.7 KiB
Makefile
COMMENT = manual tiling window manager
|
|
DISTNAME = herbstluftwm-0.9.3
|
|
CATEGORIES = x11
|
|
|
|
HOMEPAGE = https://herbstluftwm.org/
|
|
|
|
MAINTAINER = Lucas <lucas@sexy.is>, \
|
|
Florian Viehweger <openbsd@out-of-creativity.de>
|
|
|
|
# BSD
|
|
PERMIT_PACKAGE = Yes
|
|
|
|
WANTLIB += ${COMPILER_LIBCXX} X11 Xext Xft Xinerama Xrandr Xrender
|
|
WANTLIB += c freetype m z
|
|
|
|
MASTER_SITES = https://herbstluftwm.org/tarballs/
|
|
|
|
# c++11
|
|
COMPILER = base-clang ports-gcc
|
|
|
|
MODULES += devel/cmake
|
|
|
|
RUN_DEPENDS += devel/desktop-file-utils \
|
|
shells/bash \
|
|
x11/dmenu \
|
|
x11/dzen2,-gadgets
|
|
|
|
# tarball already includes generated manpages
|
|
# saves depend on asciidoc
|
|
CONFIGURE_ARGS += -DWITH_DOCUMENTATION=NO
|
|
CONFIGURE_ENV += CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}"
|
|
|
|
# requires unported pyewmh, pytest-xvfb and maybe more
|
|
NO_TEST = Yes
|
|
|
|
CFLAGS += -I${X11BASE}/include -I${LOCALBASE}/include
|
|
LDFLAGS += -L${X11BASE}/lib -L${LOCALBASE}/lib
|
|
|
|
post-install:
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/herbstluftwm
|
|
${INSTALL_SCRIPT} ${WRKINST}/etc/xdg/herbstluftwm/autostart \
|
|
${PREFIX}/share/examples/herbstluftwm/
|
|
mv ${WRKINST}/etc/xdg/herbstluftwm/dmenu_run_hlwm \
|
|
${PREFIX}/bin
|
|
${INSTALL_SCRIPT} ${WRKINST}/etc/xdg/herbstluftwm/panel.sh \
|
|
${PREFIX}/share/examples/herbstluftwm/
|
|
${INSTALL_SCRIPT} ${WRKINST}/etc/xdg/herbstluftwm/restartpanels.sh \
|
|
${PREFIX}/share/examples/herbstluftwm/
|
|
${INSTALL_MAN} ${WRKSRC}/doc/herbstclient.1 \
|
|
${PREFIX}/man/man1/herbstclient.1
|
|
${INSTALL_MAN} ${WRKSRC}/doc/herbstluftwm.1 \
|
|
${PREFIX}/man/man1/herbstluftwm.1
|
|
${INSTALL_MAN} ${WRKSRC}/doc/herbstluftwm-tutorial.7 \
|
|
${PREFIX}/man/man7/herbstluftwm-tutorial.7
|
|
${INSTALL_DATA} ${WRKSRC}/doc/hlwm-doc.json \
|
|
${PREFIX}/share/doc/herbstluftwm/
|
|
|
|
.include <bsd.port.mk>
|