Index: head/math/libqalculate/Makefile =================================================================== --- head/math/libqalculate/Makefile (revision 379111) +++ head/math/libqalculate/Makefile (revision 379112) @@ -1,38 +1,36 @@ # Created by: Sergey Akifyev # $FreeBSD$ PORTNAME= libqalculate PORTVERSION= 0.9.7 PORTREVISION= 5 CATEGORIES= math MASTER_SITES= SF/qalculate/${PORTNAME}/${PORTNAME}-${PORTVERSION} MAINTAINER= jhale@FreeBSD.org COMMENT= Multi-purpose desktop calculator (backend library) LIB_DEPENDS= libcln.so:${PORTSDIR}/math/cln -USES= pkgconfig pathfix gmake libtool +USES= pkgconfig pathfix gmake libtool gettext-tools USE_GNOME= glib20 intltool libxml2 USE_LDCONFIG= yes GNU_CONFIGURE= yes CPPFLAGS+= -I${LOCALBASE}/include LIBS+= -L${LOCALBASE}/lib INSTALL_TARGET= install-strip OPTIONS_DEFINE= NLS OPTIONS_SUB= yes -.include +NLS_USES= gettext-runtime -.if !${PORT_OPTIONS:MNLS} -USES+= gettext -.endif +.include post-patch: .if !${PORT_OPTIONS:MNLS} @${REINPLACE_CMD} -e '/^SUBDIRS =/s|po ||g' ${WRKSRC}/Makefile.in .endif @${REINPLACE_CMD} -e '/^SUBDIRS =/s|docs||g' ${WRKSRC}/Makefile.in .include