svn commit: r322227 - head/x11/florence

William Grzybowski wg at FreeBSD.org
Wed Jul 3 12:44:18 UTC 2013


Author: wg
Date: Wed Jul  3 12:44:17 2013
New Revision: 322227
URL: http://svnweb.freebsd.org/changeset/ports/322227

Log:
  x11/florence: fix run depends
  
  - BUILD_DEPENDS is RUN_DEPENDS as well
  - Add DOCS option
  - Use OPTIONS_SUB
  
  PR:		ports/180113
  Submitted by:	nemysis <nemysis at gmx.ch> (maintainer)

Modified:
  head/x11/florence/Makefile

Modified: head/x11/florence/Makefile
==============================================================================
--- head/x11/florence/Makefile	Wed Jul  3 12:41:28 2013	(r322226)
+++ head/x11/florence/Makefile	Wed Jul  3 12:44:17 2013	(r322227)
@@ -4,7 +4,7 @@
 PORTNAME=	florence
 PORTVERSION=	0.6.0
 CATEGORIES=	x11
-MASTER_SITES=	SF/florence/florence/${PORTVERSION}
+MASTER_SITES=	SF/florence/florence/${PORTVERSION}/
 
 MAINTAINER=	nemysis at gmx.ch
 COMMENT=	Extensible scalable virtual keyboard
@@ -14,9 +14,10 @@ LICENSE_COMB=	dual
 
 LIB_DEPENDS=	notify:${PORTSDIR}/devel/libnotify
 BUILD_DEPENDS=	${LOCALBASE}/libexec/at-spi2-registryd:${PORTSDIR}/accessibility/at-spi2-core
+RUN_DEPENDS:=	${BUILD_DEPENDS}
 
 USE_BZIP2=	yes
-USES=		desktop-file-utils gettext iconv pathfix
+USES=		desktop-file-utils iconv pathfix
 USE_XORG=	xtst xext
 USE_GNOME=	gtk30 cairo intlhack gnomedocutils librsvg2
 USE_GSTREAMER=	yes
@@ -31,16 +32,12 @@ MAN1=		${PORTNAME}.1 ${PORTNAME}_applet.
 
 PORTDOCS=	AUTHORS ChangeLog NEWS README
 
-OPTIONS_DEFINE=	NLS
+OPTIONS_DEFINE=	DOCS NLS
+OPTIONS_SUB=	yes
 
-.include <bsd.port.options.mk>
+NLS_USES=	gettext
 
-.if ${PORT_OPTIONS:MNLS}
-USES+=		gettext
-PLIST_SUB+=	NLS=""
-.else
-PLIST_SUB+=	NLS="@comment "
-.endif
+.include <bsd.port.options.mk>
 
 post-patch:
 	@${REINPLACE_CMD} -e 's|^Categories=.*|Categories=Application;Accessibility;System;|' \


More information about the svn-ports-all mailing list