2013-01-30 07:31:40 +01:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= herbstluftwm
|
2014-06-06 17:40:07 +02:00
|
|
|
PORTVERSION= 0.6.2
|
2014-08-15 12:47:01 +02:00
|
|
|
PORTREVISION= 1
|
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
|
|
|
|
2014-06-06 17:40:07 +02:00
|
|
|
USES= gmake pkgconfig shebangfix
|
2014-08-15 12:47:01 +02:00
|
|
|
SHEBANG_FILES= scripts/*.sh share/autostart share/*.sh
|
2013-01-30 07:31:40 +01:00
|
|
|
USE_XORG= x11 xinerama
|
|
|
|
USE_GNOME= glib20
|
|
|
|
|
|
|
|
MAKE_ARGS= PREFIX=${PREFIX} SYSCONFDIR=${PREFIX}/etc \
|
|
|
|
DOCSDIR=${DOCSDIR} EXAMPLESDIR=${EXAMPLESDIR} \
|
|
|
|
MANDIR=${PREFIX}/man
|
|
|
|
|
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
|
|
|
|
2014-08-15 12:47:01 +02:00
|
|
|
DEFAULTCONF_RUN_DEPENDS=bash:${PORTSDIR}/shells/bash
|
|
|
|
|
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:MDOCS}
|
|
|
|
${REINPLACE_CMD} -e '/DOCDIR/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
|
|
|
|
|
|
|
|
post-install:
|
|
|
|
${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/herbst*
|
2013-01-30 07:31:40 +01:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|