Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 23 Oct 2019 15:41:48 +0000 (UTC)
From:      Jason Helfman <jgh@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r515268 - head/x11-wm/fluxconf
Message-ID:  <201910231541.x9NFfmhj092243@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: jgh
Date: Wed Oct 23 15:41:47 2019
New Revision: 515268
URL: https://svnweb.freebsd.org/changeset/ports/515268

Log:
  - fully support NLS
  - add missing library dependencies
  - trim installing release-based untracked Makefiles as documentation
  - pet portlint
  
  PR:		241060
  Submitted by:	jgh@
  Approved by:	maintainer-timeout

Modified:
  head/x11-wm/fluxconf/Makefile

Modified: head/x11-wm/fluxconf/Makefile
==============================================================================
--- head/x11-wm/fluxconf/Makefile	Wed Oct 23 15:37:35 2019	(r515267)
+++ head/x11-wm/fluxconf/Makefile	Wed Oct 23 15:41:47 2019	(r515268)
@@ -3,7 +3,7 @@
 
 PORTNAME=	fluxconf
 PORTVERSION=	0.9.9
-PORTREVISION=	9
+PORTREVISION=	10
 CATEGORIES=	x11-wm
 MASTER_SITES=	http://devaux.fabien.free.fr/flux/
 
@@ -13,20 +13,28 @@ COMMENT=	Fluxbox window manager configuration program
 LICENSE=	GPLv2+
 LICENSE_FILE=	${WRKSRC}/COPYING
 
-USES=		pkgconfig
-USE_GNOME=	gtk20
+USES=		gnome pkgconfig
+
+USE_GNOME=	cairo gdkpixbuf2 gtk20
 GNU_CONFIGURE=	yes
 CFLAGS+=	-Wno-error
+LIB_DEPENDS+=	libfontconfig.so:x11-fonts/fontconfig \
+		libfreetype.so:print/freetype2
 
 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
+PLIST_FILES=	bin/fluxbare bin/fluxconf bin/fluxkeys bin/fluxmenu
 
-OPTIONS_DEFINE=	DOCS
+OPTIONS_DEFINE=	DOCS NLS
 
+NLS_USES=		gettext
+NLS_CONFIGURE_ENABLE=	nls
+NLS_PLIST_FILES=	share/locale/fi/LC_MESSAGES/fluxconf.mo \
+			share/locale/fr/LC_MESSAGES/fluxconf.mo
+
 post-install-DOCS-on:
 	@${MKDIR} ${STAGEDIR}${DOCSDIR}
-	${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/docs/,} ${STAGEDIR}${DOCSDIR}
+.for doc in fluxconf.png fluxkeys.png fluxmenu.png index.html
+	${INSTALL_DATA} ${WRKSRC}/docs/${doc} ${STAGEDIR}${DOCSDIR}
+.endfor
 
 .include <bsd.port.mk>



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