1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-24 04:33:24 +00:00
freebsd-ports/x11-wm/herbstluftwm/Makefile
Gerald Pfeifer e59c88cece Bump PORTREVISION for ports depending on the canonical version of GCC
(via Mk/bsd.default-versions.mk and lang/gcc) which has moved from
GCC 5.4 to GCC 6.4 under most circumstances.

This includes ports
 - with USE_GCC=yes or USE_GCC=any,
 - with USES=fortran,
 - using Mk/bsd.octave.mk which in turn features USES=fortran, and
 - with USES=compiler specifying openmp, nestedfct, c++11-lib, c++11-lang,
   c++14-lang, c++0x, c11, or gcc-c++11-lib.

PR:		219275
2017-09-10 20:55:38 +00:00

62 lines
1.6 KiB
Makefile

# $FreeBSD$
PORTNAME= herbstluftwm
PORTVERSION= 0.7.0
PORTREVISION= 2
CATEGORIES= x11-wm
MASTER_SITES= http://herbstluftwm.org/tarballs/
MAINTAINER= uzsolt@uzsolt.hu
COMMENT= Manual tiling window manager for X11
LICENSE= BSD2CLAUSE
USES= compiler:c++11-lib gettext-runtime gmake pkgconfig shebangfix
SHEBANG_FILES= scripts/*.sh share/autostart share/*.sh
USE_XORG= x11 xext xinerama
USE_GNOME= glib20
MAKE_ARGS= PREFIX=${PREFIX} SYSCONFDIR=${PREFIX}/etc \
DOCSDIR=${DOCSDIR} EXAMPLESDIR=${EXAMPLESDIR} \
MANDIR=${PREFIX}/man LDXX=${CXX} \
COLOR=0
OPTIONS_DEFINE= BASH ZSH DOCS EXAMPLES DEFAULTCONF
DEFAULTCONF_DESC=Install default configuration (requires bash)
OPTIONS_DEFAULT+=DEFAULTCONF
OPTIONS_SUB= yes
ALL_TARGET= all-nodoc
INSTALL_TARGET= install-nodoc
DOCS_ALL_TARGET= doc
DOCS_INSTALL_TARGET= install
DEFAULTCONF_RUN_DEPENDS=bash:shells/bash
.include <bsd.port.options.mk>
post-patch:
${REINPLACE_CMD} -e '/LICENSEDIR/d' ${WRKSRC}/Makefile
.if ! ${PORT_OPTIONS:MBASH}
${REINPLACE_CMD} -e '/BASHCOMPLETIONDIR/d' ${WRKSRC}/Makefile
.endif
.if ! ${PORT_OPTIONS:MZSH}
${REINPLACE_CMD} -e '/ZSHCOMPLETIONDIR/d' ${WRKSRC}/Makefile
.endif
.if ! ${PORT_OPTIONS:MEXAMPLES}
${REINPLACE_CMD} -e '/EXAMPLESDIR/d' ${WRKSRC}/Makefile
.endif
.if ! ${PORT_OPTIONS:MDEFAULTCONF}
${REINPLACE_CMD} -e '/CONFIGDIR/d' ${WRKSRC}/Makefile
.endif
do-install-DOCS-off:
${MKDIR} ${STAGEDIR}${MANPREFIX}/man/man1
${INSTALL_MAN} ${WRKSRC}/doc/*.1 ${STAGEDIR}${MANPREFIX}/man/man1
${MKDIR} ${STAGEDIR}${MANPREFIX}/man/man7
${INSTALL_MAN} ${WRKSRC}/doc/*.7 ${STAGEDIR}${MANPREFIX}/man/man7
post-install:
${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/herbst*
.include <bsd.port.mk>