# Created by: hendrik@scholz.net
# $FreeBSD: x11-wm/fluxconf/Makefile 327786 2013-09-21 00:01:16Z bapt $

PORTNAME=	fluxconf
PORTVERSION=	0.9.9
PORTREVISION=	8
CATEGORIES=	x11-wm
MASTER_SITES=	http://devaux.fabien.free.fr/flux/

MAINTAINER=	alfredoj69@gmail.com
COMMENT=	Fluxbox window manager configuration program

USES=		pkgconfig
USE_GNOME=	gtk20
GNU_CONFIGURE=	yes
CFLAGS+=	-Wno-error

PORTDOCS=	fluxconf.png fluxkeys.png fluxmenu.png index.html
PLIST_FILES=	bin/fluxbare bin/fluxconf bin/fluxkeys bin/fluxmenu \
		share/locale/fi/LC_MESSAGES/fluxconf.mo \
		share/locale/fr/LC_MESSAGES/fluxconf.mo

OPTIONS_DEFINE=	DOCS

NO_STAGE=	yes
.include <bsd.port.options.mk>

post-install:
.if ${PORT_OPTIONS:MDOCS}
	@${MKDIR} ${DOCSDIR}
	${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/docs/,} ${DOCSDIR}
.endif

.include <bsd.port.mk>
