opnsense-ports/math/libqalculate/Makefile
Franco Fichtner 97e1154653 */*: sync with upstream
Taken from: HardenedBSD
2018-07-30 06:47:24 +02:00

39 lines
957 B
Makefile

# Created by: Sergey Akifyev <asa@agava.com>
# $FreeBSD$
PORTNAME= libqalculate
PORTVERSION= 2.6.1
CATEGORIES= math
MASTER_SITES= https://github.com/Qalculate/${PORTNAME}/releases/download/v${PORTVERSION}/
MAINTAINER= jhale@FreeBSD.org
COMMENT= Multi-purpose desktop calculator (backend library)
LICENSE= GPLv2+
LICENSE_FILE= ${WRKSRC}/COPYING
BROKEN_powerpc64= fails to compile: umachine.h:347: 'char16_t' does not name a type
LIB_DEPENDS= libicuuc.so:devel/icu \
libcurl.so:ftp/curl \
libgmp.so:math/gmp \
libmpfr.so:math/mpfr
USES= gmake gettext iconv libtool localbase \
ncurses pathfix pkgconfig readline:port
USE_GNOME= intltool libxml2
USE_LDCONFIG= yes
GNU_CONFIGURE= yes
INSTALL_TARGET= install-strip
OPTIONS_DEFINE= NLS
OPTIONS_SUB= yes
post-patch-NLS-off:
@${REINPLACE_CMD} -e '/^SUBDIRS =/s|po ||g' ${WRKSRC}/Makefile.in
post-patch:
@${REINPLACE_CMD} -e '/^SUBDIRS =/s|docs||g' ${WRKSRC}/Makefile.in
.include <bsd.port.mk>