summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--security/gnomint/Makefile17
1 files changed, 7 insertions, 10 deletions
diff --git a/security/gnomint/Makefile b/security/gnomint/Makefile
index f8488be8153a..c11adc707f56 100644
--- a/security/gnomint/Makefile
+++ b/security/gnomint/Makefile
@@ -3,7 +3,7 @@
PORTNAME= gnomint
PORTVERSION= 1.2.1
-PORTREVISION= 3
+PORTREVISION= 4
CATEGORIES= security
MASTER_SITES= SF
@@ -17,21 +17,18 @@ LIB_DEPENDS= libgcrypt.so:${PORTSDIR}/security/libgcrypt \
libgnutls.so:${PORTSDIR}/security/gnutls \
libsqlite3.so:${PORTSDIR}/databases/sqlite3
+BUILD_DEPENDS= intltool-update:${PORTSDIR}/textproc/intltool
+
GNU_CONFIGURE= yes
-USES= gmake perl5 pkgconfig
+USES= gmake perl5 pkgconfig readline
USE_GNOME= gconf2 gdkpixbuf2 glib20 gtk20
CFLAGS:= ${CFLAGS:C/-Werror//}
OPTIONS_DEFINE= NLS
+OPTIONS_SUB= yes
-.include <bsd.port.options.mk>
-
-.if ${PORT_OPTIONS:MNLS}
-PLIST_SUB+= NLS=""
-.else
-CONFIGURE_ARGS+= --disable-nls
-PLIST_SUB+= NLS="@comment "
-.endif
+NLS_USES= gettext
+NLS_CONFIGURE_ENABLE= nls
.include <bsd.port.mk>