svn commit: r317039 - head/net-p2p/gtkhx

Jason Helfman jgh at FreeBSD.org
Wed May 1 18:18:44 UTC 2013


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 at 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>


More information about the svn-ports-head mailing list