aboutsummaryrefslogtreecommitdiffstats
path: root/finance/kmymoney-kde4/Makefile
blob: 36876da63b8cfb5f4a717d01029dc88f598dd243 (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
39
40
41
42
# New ports collection makefile for:    KMyMoney
# Date created:             21 June 2004
# Whom:                 Alexander Novitsky
#
# $FreeBSD$
#

PORTNAME=   kmymoney2
PORTVERSION=    0.8.9
CATEGORIES= finance
MASTER_SITES=   SF

MAINTAINER= alecn2002@yandex.ru
COMMENT=    KDE-based personal finance assistant

LIB_DEPENDS=    osp.5:${PORTSDIR}/textproc/opensp
BUILD_DEPENDS=  bash:${PORTSDIR}/shells/bash

LIB_DEPENDS+=   ofx.4:${PORTSDIR}/finance/libofx
CONFIGURE_ARGS= --enable-ofxplugin --enable-ofxbanking --enable-pdf-docs

USE_KDELIBS_VER=3
USE_GMAKE=  yes
GNU_CONFIGURE=  yes
USE_AUTOTOOLS=  libtool:15
USE_PERL5=  yes
USE_BZIP2=  yes
USE_LDCONFIG=   yes
USE_GETTEXT=    yes

INSTALLS_ICONS= yes

MAN1=       kmymoney2.1
MANCOMPRESSED=  yes

DATADIR=    ${PREFIX}/share/apps/${PORTNAME}
DOCSDIR=    ${PREFIX}/share/doc/HTML/en/${PORTNAME}

post-patch:
    ${REINPLACE_CMD} -E -e "s|%%LOCALBASE%%|${LOCALBASE}|g" ${WRKSRC}/configure

.include <bsd.port.mk>