summaryrefslogtreecommitdiff
path: root/math
diff options
context:
space:
mode:
authorMarcelo Araujo <araujo@FreeBSD.org>2009-08-16 01:21:36 +0000
committerMarcelo Araujo <araujo@FreeBSD.org>2009-08-16 01:21:36 +0000
commit1b125e45f528793381d2a2a843bcf10129d359b6 (patch)
treefc6a6be15772f39e67191b3db49b6c8e7c68fc6e /math
parent- Bump PORTREVISION in favor of math/cln update. (diff)
- Bump PORTREVISION in favor of math/cln update.
- Pass maintainer to submitter. PR: ports/137567 Submitted by: Sylvio Cesar <scjamorim@bsd.com.br>
Notes
Notes: svn path=/head/; revision=239623
Diffstat (limited to 'math')
-rw-r--r--math/libqalculate/Makefile15
1 files changed, 11 insertions, 4 deletions
diff --git a/math/libqalculate/Makefile b/math/libqalculate/Makefile
index bfabb984890f..cf98220e672a 100644
--- a/math/libqalculate/Makefile
+++ b/math/libqalculate/Makefile
@@ -7,17 +7,16 @@
PORTNAME= libqalculate
PORTVERSION= 0.9.6
-PORTREVISION= 4
+PORTREVISION= 5
CATEGORIES= math
MASTER_SITES= SF/qalculate
-MAINTAINER= ports@FreeBSD.org
+MAINTAINER= scjamorim@bsd.com.br
COMMENT= A a multi-purpose desktop calculator (backend library)
-LIB_DEPENDS= cln.5:${PORTSDIR}/math/cln
+LIB_DEPENDS= cln.6:${PORTSDIR}/math/cln
USE_GNOME= glib20 gnomehack gnometarget intlhack libxml2
-USE_GETTEXT= yes
USE_GMAKE= yes
USE_AUTOTOOLS= libtool:22
USE_LDCONFIG= yes
@@ -27,4 +26,12 @@ post-patch:
@${REINPLACE_CMD} -e 's/^GMSGFMT = @GMSGFMT@/GMSGFMT = msgfmt/' ${WRKSRC}/po/Makefile.in.in
@${REINPLACE_CMD} -e 's/-pthread/${PTHREAD_LIBS}/' ${WRKSRC}/configure
+.if defined(WITHOUT_NLS)
+CONFIGURE_ARGS+= --disable-nls
+PLIST_SUB+= NLS="@comment "
+.else
+USE_GETTEXT= yes
+PLIST_SUB+= NLS=""
+.endif
+
.include <bsd.port.mk>