diff options
Diffstat (limited to 'math/libqalculate')
-rw-r--r-- | math/libqalculate/Makefile | 15 |
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> |