aboutsummaryrefslogtreecommitdiffstats
path: root/net-p2p
diff options
context:
space:
mode:
authorjgh <jgh@FreeBSD.org>2013-05-02 02:18:44 +0800
committerjgh <jgh@FreeBSD.org>2013-05-02 02:18:44 +0800
commit6a7d1235ecd2e1fd491762e38510c1f6b13d317c (patch)
treedae6dc469f39f14ba6a6240d62da49736940424e /net-p2p
parentc17ff3b3aae0669a8e5de9efd8b9076feb83eaf1 (diff)
downloadfreebsd-ports-gnome-6a7d1235ecd2e1fd491762e38510c1f6b13d317c.tar.gz
freebsd-ports-gnome-6a7d1235ecd2e1fd491762e38510c1f6b13d317c.tar.zst
freebsd-ports-gnome-6a7d1235ecd2e1fd491762e38510c1f6b13d317c.zip
- adoption of USES for gettext
Approved by: portmgr (bapt@)
Diffstat (limited to 'net-p2p')
-rw-r--r--net-p2p/gtkhx/Makefile12
1 files changed, 6 insertions, 6 deletions
diff --git a/net-p2p/gtkhx/Makefile b/net-p2p/gtkhx/Makefile
index 3ff0c9fdb593..f076e874b6b0 100644
--- a/net-p2p/gtkhx/Makefile
+++ b/net-p2p/gtkhx/Makefile
@@ -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>