freebsd-ports/math/qalculate/Makefile
Jason E. Hale ff9dc9b22b math/libqalculate: Update to 2.2.1
math/qalculate: Update to 2.2.1

Download the pre-rolled releases hosted on GitHub instead of using USE_GITHUB
to avoid running autoreconf, etc.

Backport upsteam patches for several instances of FindQalculate.cmake in KDE 4.x
ports that could not detect the newer libqalculate.

Bump PORTREVISION on dependent ports due to shared library version increase.

Changes:	https://qalculate.github.io/news.html
Differential Revision:	https://reviews.freebsd.org/D14459
2018-02-26 11:22:36 +00:00

40 lines
1.0 KiB
Makefile

# Created by: Sergey Akifyev <asa@gascom.ru>
# $FreeBSD$
PORTNAME= qalculate
PORTVERSION= 2.2.1
CATEGORIES= math
MASTER_SITES= https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/releases/download/v${PORTVERSION}/
DISTNAME= ${GH_PROJECT}-${PORTVERSION}
MAINTAINER= jhale@FreeBSD.org
COMMENT= Multi-purpose desktop calculator (GTK+3 frontend)
LICENSE= GPLv2+
LICENSE_FILE= ${WRKSRC}/COPYING
BROKEN_powerpc64= fails to compile: main.cc: undefined reference to Calculator::temporaryCategory[abi:cxx11]()
LIB_DEPENDS= libqalculate.so:math/libqalculate
RUN_DEPENDS= gnuplot:math/gnuplot
USES= compiler:c++11-lang gettext gmake \
libtool:build localbase pkgconfig
USE_GNOME= cairo gdkpixbuf2 gtk30 intltool libxml2
# USE_GITHUB= Use MASTER_SITES so that the pre-rolled release is downloaded
GH_ACCOUNT= Qalculate
GH_PROJECT= ${PORTNAME}-gtk
GNU_CONFIGURE= yes
DATADIR= share/${GH_PROJECT}
DOCSDIR= share/doc/${GH_PROJECT}
OPTIONS_DEFINE= NLS
OPTIONS_SUB= yes
post-patch-NLS-off:
@${REINPLACE_CMD} -e '/^SUBDIRS =/s|po ||g' ${WRKSRC}/Makefile.in
.include <bsd.port.mk>