summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--x11-wm/fluxconf/Makefile15
1 files changed, 9 insertions, 6 deletions
diff --git a/x11-wm/fluxconf/Makefile b/x11-wm/fluxconf/Makefile
index ce73f36a37cc..2f3f0210f01b 100644
--- a/x11-wm/fluxconf/Makefile
+++ b/x11-wm/fluxconf/Makefile
@@ -3,28 +3,31 @@
PORTNAME= fluxconf
PORTVERSION= 0.9.9
-PORTREVISION= 7
+PORTREVISION= 8
CATEGORIES= x11-wm
MASTER_SITES= http://devaux.fabien.free.fr/flux/
MAINTAINER= alfredoj69@gmail.com
-COMMENT= A configuration program for the fluxbox window manager
+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
+
+.include <bsd.port.options.mk>
+
post-install:
-.if !defined(NOPORTDOCS)
+.if ${PORT_OPTIONS:MDOCS}
@${MKDIR} ${DOCSDIR}
-.for file in ${PORTDOCS}
- ${INSTALL_DATA} ${WRKSRC}/docs/${file} ${DOCSDIR}
-.endfor
+ ${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/docs/,} ${DOCSDIR}
.endif
.include <bsd.port.mk>