Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 1 May 2013 18:18:44 +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: r317039 - head/net-p2p/gtkhx
Message-ID:  <201305011818.r41IIiqW054189@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: jgh
Date: Wed May  1 18:18:44 2013
New Revision: 317039
URL: http://svnweb.freebsd.org/changeset/ports/317039

Log:
  - adoption of USES for gettext
  
  Approved by:	portmgr (bapt@)

Modified:
  head/net-p2p/gtkhx/Makefile

Modified: head/net-p2p/gtkhx/Makefile
==============================================================================
--- head/net-p2p/gtkhx/Makefile	Wed May  1 18:17:36 2013	(r317038)
+++ head/net-p2p/gtkhx/Makefile	Wed May  1 18:18:44 2013	(r317039)
@@ -8,9 +8,9 @@ CATEGORIES=	net-p2p
 MASTER_SITES=	SF
 
 MAINTAINER=	ports@FreeBSD.org
-COMMENT=	A GTK+ version of Hx, a UNIX Hotline Client
+COMMENT=	GTK+ version of Hx, a UNIX Hotline Client
 
-USES=        pathfix
+USES=	pathfix
 USE_GNOME=	gdkpixbuf gnomehack
 USE_GMAKE=	yes
 GNU_CONFIGURE=	yes
@@ -19,11 +19,11 @@ LDFLAGS+=	-L${LOCALBASE}/lib
 
 MAN1=		gtkhx.1
 
-.include <bsd.port.pre.mk>
+.include <bsd.port.options.mk>
 
-.if !defined(WITHOUT_NLS)
+.if ${PORT_OPTIONS:MNLS}
 PLIST_SUB+=	NLS=""
-USE_GETTEXT=	yes
+USES+=		gettext
 .else
 PLIST_SUB+=	NLS="@comment "
 CONFIGURE_ARGS+=--disable-nls
@@ -39,4 +39,4 @@ post-patch:
 		 s|$$CFLAGS -O2|$$CFLAGS|g ; \
 		 s|-g -Wall|$$CFLAGS -Wall|g' ${WRKSRC}/configure
 
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>



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