aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason Helfman <jgh@FreeBSD.org>2013-05-01 18:18:44 +0000
committerJason Helfman <jgh@FreeBSD.org>2013-05-01 18:18:44 +0000
commitca707c9312bfeec7d72eed667494788d7809f5d2 (patch)
treedae6dc469f39f14ba6a6240d62da49736940424e
parentb946e6f7a601fd407808275bb6d34e84fb8b258d (diff)
downloadports-ca707c9312bfeec7d72eed667494788d7809f5d2.tar.gz
ports-ca707c9312bfeec7d72eed667494788d7809f5d2.zip
- adoption of USES for gettext
Approved by: portmgr (bapt@)
Notes
Notes: svn path=/head/; revision=317039
-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>