Files
ports/math/libqalculate/Makefile
T

39 lines
1006 B
Makefile

PORTNAME= libqalculate
PORTVERSION= 5.11.0
CATEGORIES= math
MASTER_SITES= https://github.com/Qalculate/${PORTNAME}/releases/download/v${PORTVERSION}/
MAINTAINER= jhale@FreeBSD.org
COMMENT= Multi-purpose desktop calculator (library and CLI)
WWW= https://qalculate.github.io/
LICENSE= GPLv2+
LICENSE_FILE= ${WRKSRC}/COPYING
LIB_DEPENDS= libicuuc.so:devel/icu \
libcurl.so:ftp/curl \
libgmp.so:math/gmp \
libmpfr.so:math/mpfr
USES= compiler:c++17-lang gettext gmake gnome iconv libtool \
localbase ncurses pathfix pkgconfig readline
# Project does not set a c++ dialect, but it's better to not leave this
# undefined and left up to the whims of the compiler.
USE_CXXSTD= c++17
USE_GNOME= 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>