Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 11 Sep 2013 15:53:29 +0000 (UTC)
From:      Boris Samorodov <bsam@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r326989 - head/x11-wm/fluxconf
Message-ID:  <201309111553.r8BFrTll050860@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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@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@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>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201309111553.r8BFrTll050860>