2013-01-30 07:31:40 +01:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= herbstluftwm
|
2016-02-15 19:37:57 +01:00
|
|
|
PORTVERSION= 0.7.0
|
2013-01-30 07:31:40 +01:00
|
|
|
CATEGORIES= x11-wm
|
2013-07-01 11:49:34 +02:00
|
|
|
MASTER_SITES= http://herbstluftwm.org/tarballs/
|
2013-01-30 07:31:40 +01:00
|
|
|
|
2014-08-15 12:47:01 +02:00
|
|
|
MAINTAINER= udvzsolt@gmail.com
|
2013-01-30 07:31:40 +01:00
|
|
|
COMMENT= Manual tiling window manager for X11
|
|
|
|
|
2014-02-09 12:36:39 +01:00
|
|
|
LICENSE= BSD2CLAUSE
|
2013-01-30 07:31:40 +01:00
|
|
|
|
2016-11-02 13:17:46 +01:00
|
|
|
USES= compiler:c++11-lib gettext-runtime gmake pkgconfig shebangfix
|
2014-08-15 12:47:01 +02:00
|
|
|
SHEBANG_FILES= scripts/*.sh share/autostart share/*.sh
|
2016-11-02 13:17:46 +01:00
|
|
|
USE_XORG= x11 xext xinerama
|
2013-01-30 07:31:40 +01:00
|
|
|
USE_GNOME= glib20
|
|
|
|
|
|
|
|
MAKE_ARGS= PREFIX=${PREFIX} SYSCONFDIR=${PREFIX}/etc \
|
|
|
|
DOCSDIR=${DOCSDIR} EXAMPLESDIR=${EXAMPLESDIR} \
|
2016-02-15 19:37:57 +01:00
|
|
|
MANDIR=${PREFIX}/man LDXX=${CXX} \
|
|
|
|
COLOR=0
|
2013-01-30 07:31:40 +01:00
|
|
|
|
2014-08-15 12:47:01 +02:00
|
|
|
OPTIONS_DEFINE= BASH ZSH DOCS EXAMPLES DEFAULTCONF
|
|
|
|
DEFAULTCONF_DESC=Install default configuration (requires bash)
|
|
|
|
OPTIONS_DEFAULT+=DEFAULTCONF
|
2014-04-24 18:44:39 +02:00
|
|
|
OPTIONS_SUB= yes
|
2013-01-30 07:31:40 +01:00
|
|
|
|
2016-11-13 15:13:42 +01:00
|
|
|
ALL_TARGET= all-nodoc
|
|
|
|
INSTALL_TARGET= install-nodoc
|
|
|
|
DOCS_ALL_TARGET= doc
|
|
|
|
DOCS_INSTALL_TARGET= install
|
2016-04-01 16:33:55 +02:00
|
|
|
DEFAULTCONF_RUN_DEPENDS=bash:shells/bash
|
2014-08-15 12:47:01 +02:00
|
|
|
|
2013-01-30 07:31:40 +01:00
|
|
|
.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
|
2014-08-15 12:47:01 +02:00
|
|
|
.if ! ${PORT_OPTIONS:MDEFAULTCONF}
|
|
|
|
${REINPLACE_CMD} -e '/CONFIGDIR/d' ${WRKSRC}/Makefile
|
|
|
|
.endif
|
|
|
|
|
2016-11-13 15:13:42 +01:00
|
|
|
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
|
|
|
|
|
2014-08-15 12:47:01 +02:00
|
|
|
post-install:
|
|
|
|
${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/herbst*
|
2013-01-30 07:31:40 +01:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|