Changeset View
Changeset View
Standalone View
Standalone View
math/qalculate/Makefile
# Created by: Sergey Akifyev <asa@gascom.ru> | # Created by: Sergey Akifyev <asa@gascom.ru> | ||||
# $FreeBSD$ | # $FreeBSD$ | ||||
PORTNAME= qalculate | PORTNAME= qalculate | ||||
PORTVERSION= 1.0.0 | PORTVERSION= 2.2.1 | ||||
PORTREVISION= 1 | |||||
DISTVERSIONPREFIX= v | |||||
CATEGORIES= math | CATEGORIES= math | ||||
MASTER_SITES= https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/releases/download/v${PORTVERSION}/ | |||||
tcberner: ^ instead of setting MASTER_SITES and DISTNAME this should be
```
DISTVERSIONPREFIX=v
[...]… | |||||
jhaleAuthorUnsubmitted Not Done Inline ActionsThis pulls in the full release tarball, so we don't have to run autoreconf and a bunch of other stuff. jhale: This pulls in the full release tarball, so we don't have to run autoreconf and a bunch of other… | |||||
DISTNAME= ${GH_PROJECT}-${PORTVERSION} | |||||
MAINTAINER= jhale@FreeBSD.org | MAINTAINER= jhale@FreeBSD.org | ||||
COMMENT= Multi-purpose desktop calculator (GTK+3 frontend) | COMMENT= Multi-purpose desktop calculator (GTK+3 frontend) | ||||
LICENSE= GPLv2 | LICENSE= GPLv2+ | ||||
LICENSE_FILE= ${WRKSRC}/COPYING | LICENSE_FILE= ${WRKSRC}/COPYING | ||||
LIB_DEPENDS= libcln.so:math/cln \ | |||||
libqalculate.so:math/libqalculate | |||||
RUN_DEPENDS= gnuplot:math/gnuplot \ | |||||
wget:ftp/wget | |||||
BROKEN_powerpc64= fails to compile: main.cc: undefined reference to Calculator::temporaryCategory[abi:cxx11]() | BROKEN_powerpc64= fails to compile: main.cc: undefined reference to Calculator::temporaryCategory[abi:cxx11]() | ||||
USES= autoreconf compiler:c++11-lang gettext gmake \ | LIB_DEPENDS= libqalculate.so:math/libqalculate | ||||
RUN_DEPENDS= gnuplot:math/gnuplot | |||||
USES= compiler:c++11-lang gettext gmake \ | |||||
libtool:build localbase pkgconfig | libtool:build localbase pkgconfig | ||||
USE_GNOME= cairo gdkpixbuf2 gtk30 intltool libxml2 | USE_GNOME= cairo gdkpixbuf2 gtk30 intltool libxml2 | ||||
#USE_GITHUB= yes | |||||
GH_ACCOUNT= Qalculate | |||||
GH_PROJECT= ${PORTNAME}-gtk | |||||
GNU_CONFIGURE= yes | GNU_CONFIGURE= yes | ||||
DATADIR= share/${GH_PROJECT} | DATADIR= share/${GH_PROJECT} | ||||
DOCSDIR= share/doc/${GH_PROJECT} | DOCSDIR= share/doc/${GH_PROJECT} | ||||
USE_GITHUB= yes | OPTIONS_DEFINE= NLS | ||||
GH_ACCOUNT= Qalculate | OPTIONS_SUB= yes | ||||
GH_PROJECT= ${PORTNAME}-gtk | |||||
post-patch-NLS-off: | |||||
@${REINPLACE_CMD} -e '/^SUBDIRS =/s|po ||g' ${WRKSRC}/Makefile.in | |||||
.include <bsd.port.mk> | .include <bsd.port.mk> |
^ instead of setting MASTER_SITES and DISTNAME this should be