aboutsummaryrefslogtreecommitdiffstats
path: root/math/libqalculate/Makefile
blob: cb292f904a72e1cc5e5672d32538b14c0269c314 (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
31
32
33
34
35
36
37
38
# Created by: Sergey Akifyev <asa@agava.com>
# $FreeBSD$

PORTNAME=   libqalculate
PORTVERSION=    0.9.10
DISTVERSIONPREFIX=  v
CATEGORIES= math

MAINTAINER= jhale@FreeBSD.org
COMMENT=    Multi-purpose desktop calculator (backend library)

LICENSE=    GPLv2
LICENSE_FILE=   ${WRKSRC}/COPYING

LIB_DEPENDS=    libcln.so:math/cln

USES=       autoreconf gmake gettext libtool \
        localbase pathfix pkgconfig readline:port
USE_GNOME=  glib20 intltool libxml2
USE_LDCONFIG=   yes
GNU_CONFIGURE=  yes
INSTALL_TARGET= install-strip

USE_GITHUB= yes
GH_ACCOUNT= Qalculate

OPTIONS_DEFINE= NLS
OPTIONS_SUB=    yes

.include <bsd.port.options.mk>

post-patch-NLS-off:
    @${REINPLACE_CMD} -e '/^SUBDIRS =/s|po ||g' ${WRKSRC}/Makefile.am

post-patch:
    @${REINPLACE_CMD} -e '/^SUBDIRS =/s|docs||g' ${WRKSRC}/Makefile.am

.include <bsd.port.mk>