summaryrefslogtreecommitdiffstats
path: root/math/qalculate/Makefile
blob: 20dcf0dfada9a8823ef0fd9dec4a2fefaa987c4c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# Created by: Sergey Akifyev <asa@gascom.ru>
# $FreeBSD$

PORTNAME=	qalculate
PORTVERSION=	0.9.7
PORTREVISION=	2
CATEGORIES=	math
MASTER_SITES=	SF/${PORTNAME}/${PORTNAME}-gtk/${PORTNAME}-gtk-${PORTVERSION}
DISTNAME=	${PORTNAME}-gtk-${PORTVERSION}

MAINTAINER=	ports@FreeBSD.org
COMMENT=	Multi-purpose desktop calculator (Gnome frontend)

LIB_DEPENDS=	qalculate.5:${PORTSDIR}/math/libqalculate
RUN_DEPENDS=	gnuplot:${PORTSDIR}/math/gnuplot \
		wget:${PORTSDIR}/ftp/wget

USE_GNOME=	gnomehack gnomeprefix intlhack libglade2 libgnome
USES=		gettext gmake
GNU_CONFIGURE=	yes
INSTALLS_OMF=	yes

NO_STAGE=	yes
post-patch:
	@${REINPLACE_CMD} -e 's/^GMSGFMT = @GMSGFMT@/GMSGFMT = msgfmt/' ${WRKSRC}/po/Makefile.in.in

.include <bsd.port.mk>
OpenPOWER on IntegriCloud