summaryrefslogtreecommitdiff
path: root/finance/skrooge/Makefile
blob: a6a1e0f8352f38f5345f8c0811b3efa17c641deb (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
28
29
30
31
32
# $FreeBSD$

PORTNAME=	skrooge
PORTVERSION=	1.12.5
CATEGORIES=	finance kde
MASTER_SITES=	KDE/stable/${PORTNAME}

MAINTAINER=	kde@FreeBSD.org
COMMENT=	KDE4 personal finance manager

BUILD_DEPENDS=	xsltproc:textproc/libxslt
LIB_DEPENDS=	libofx.so:finance/libofx \
		libqca.so:devel/qca \
		libgrantlee_gui.so:devel/grantlee \
		libkactivities.so:x11/kactivities

USES=		cmake:outsource gettext shared-mime-info sqlite:3 tar:xz
USE_QT4=	qmake_build moc_build uic_build rcc_build designer_build \
		corelib dbus gui script sql webkit xml sql-sqlite3_run
USE_KDE4=	automoc4 kdelibs kdeprefix pimlibs
USE_LDCONFIG=	yes

PLIST_SUB=	VERSION=${PORTVERSION} \
		GRANTLEE_VER=0.5

# Skrooge creates several empty directories due to how it calls CMake's
# install(DIRECTORY ...) function, so we need some code to remove them.
post-install:
	${FIND} ${STAGEDIR}${PREFIX}/share/apps/skrooge/html \
		-type d -empty -delete

.include <bsd.port.mk>