svn commit: r326989 - head/x11-wm/fluxconf
Boris Samorodov
bsam at FreeBSD.org
Wed Sep 11 15:53:30 UTC 2013
Author: bsam
Date: Wed Sep 11 15:53:29 2013
New Revision: 326989
URL: http://svnweb.freebsd.org/changeset/ports/326989
Log:
. fix build with clang (CFLAGS+=-Wno-error);
. add LICENSE (GPLv2), bump PORTREVISION;
. trim headers;
. reword COMMENT;
. NOPORTDOCS -> PORT_OPTIONS:MDOCS;
. use one line install instead of an if loop.
PR: ports/181619
Submitted by: bsam (me)
Reviewed by: alfredoj69 at gmail.com (maintainer timeout, 2 weeks)
Modified:
head/x11-wm/fluxconf/Makefile
Modified: head/x11-wm/fluxconf/Makefile
==============================================================================
--- head/x11-wm/fluxconf/Makefile Wed Sep 11 15:21:32 2013 (r326988)
+++ head/x11-wm/fluxconf/Makefile Wed Sep 11 15:53:29 2013 (r326989)
@@ -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 at 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>
More information about the svn-ports-all
mailing list