aboutsummaryrefslogtreecommitdiff
path: root/security/gnomint
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2014-07-16 22:06:04 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2014-07-16 22:06:04 +0000
commit214b03b3c81b411fa9b296ee4e0948861b8a333f (patch)
tree8cb4da6a9a32ff9b689bac7ea4d02efd3db7fba7 /security/gnomint
parent5e34f29bc83de1e8d1945cba6c2df4cb5a2d7a72 (diff)
downloadports-214b03b3c81b411fa9b296ee4e0948861b8a333f.tar.gz
ports-214b03b3c81b411fa9b296ee4e0948861b8a333f.zip
Add a build dependency on intltool
Use options helpers Fix building when no shared readline is in base
Notes
Notes: svn path=/head/; revision=362114
Diffstat (limited to 'security/gnomint')
-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>