openbsd-ports/x11/spectrwm/Makefile
gonzalo a9a3b31647 Update for Spectrwm to 2.2.0:
* Fix setkeymapping to call expand_tilde for proper expansion of ~
in path.
* Add new quirk NOFOCUSONMAP.
* Add get_screen_count function that handles the result of
  xcb_get_setup.
* Initialize some pointers that could be freed without being
  initialized.
* Add new ws_next_move and ws_prev_move bindings.
* Fix fullscreen layout stacking issue when using multiple regions.
* Improve man page explanation of verbose_layout.
* Fix input focus fallback issue when running with multiple regions.
* Fix manual focus mode sometimes switching region with pointer
  motion.
2013-04-05 16:32:01 +00:00

48 lines
1.3 KiB
Makefile

# $OpenBSD: Makefile,v 1.8 2013/04/05 16:32:01 gonzalo Exp $
COMMENT= small tiling window manager
SHARED_LIBS= swmhack 1.0
DISTNAME= spectrwm-2.2.0
EXTRACT_SUFX= .tgz
CATEGORIES= x11
HOMEPAGE= https://opensource.conformal.com/wiki/spectrwm
MAINTAINER= Gonzalo L. R. <gonzalo@openbsd.org>
# BSD
PERMIT_PACKAGE_CDROM= Yes
WANTLIB += X11 X11-xcb Xcursor Xft c util xcb xcb-aux xcb-icccm
WANTLIB += xcb-keysyms xcb-randr xcb-xtest
MASTER_SITES= http://opensource.conformal.com/snapshots/spectrwm/
NO_TEST= Yes
RUN_DEPENDS= x11/dmenu>=4.5
MAKE_FLAGS= BINDIR="${TRUEPREFIX}/bin" \
MANDIR="${TRUEPREFIX}/man/man" \
SHLIB_MAJOR=${LIBswmhack_VERSION:R} \
SHLIB_MINOR=${LIBswmhack_VERSION:E}
pre-configure:
@${SUBST_CMD} ${WRKSRC}/spectrwm.c
post-install:
ln -s ${TRUEPREFIX}/bin/spectrwm ${PREFIX}/bin/scrotwm
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/spectrwm
${INSTALL_SCRIPT} ${WRKSRC}/baraction.sh ${PREFIX}/share/examples/spectrwm
${INSTALL_SCRIPT} ${WRKSRC}/initscreen.sh ${PREFIX}/share/examples/spectrwm
${INSTALL_SCRIPT} ${WRKSRC}/screenshot.sh ${PREFIX}/share/examples/spectrwm
${INSTALL_DATA} ${WRKSRC}/spectrwm.conf ${PREFIX}/share/examples/spectrwm
.for i in es cz fr fr_ch se us
${INSTALL_DATA_DIR} ${WRKSRC}/spectrwm_$i.conf
mv ${WRKSRC}/spectrwm_$i.conf ${PREFIX}/share/examples/spectrwm
.endfor
.include <bsd.port.mk>