aboutsummaryrefslogtreecommitdiffstats
path: root/math/libqalculate/Makefile
blob: bda1e954f5d9ac0688624718930182012a114787 (plain) (blame)
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
28
29
30
# New ports collection makefile for:   libqalculate
# Date created:        03 June 2004
# Whom:                Sergey Akifyev <asa@agava.com>
#
# $FreeBSD$
#

PORTNAME=   libqalculate
PORTVERSION=    0.9.6
PORTREVISION=   2
CATEGORIES= math
MASTER_SITES=   SF/qalculate

MAINTAINER= ports@FreeBSD.org
COMMENT=    A a multi-purpose desktop calculator (backend library)

LIB_DEPENDS=    cln.5:${PORTSDIR}/math/cln

USE_GNOME=  glib20 gnomehack gnometarget intlhack libxml2
USE_GETTEXT=    yes
USE_GMAKE=  yes
USE_AUTOTOOLS=  libtool:15
USE_LDCONFIG=   yes

post-patch:
    @${REINPLACE_CMD} -e '/^SUBDIRS =/s|docs||g' ${WRKSRC}/Makefile.in
    @${REINPLACE_CMD} -e 's/^GMSGFMT = @GMSGFMT@/GMSGFMT = msgfmt/' ${WRKSRC}/po/Makefile.in.in
    @${REINPLACE_CMD} -e 's/-pthread/${PTHREAD_LIBS}/' ${WRKSRC}/configure

.include <bsd.port.mk>