freebsd-ports/finance/kmymoney2/Makefile
Pav Lucistnik fd6055e71c - Fix build (needs Xext)
Reported by:	pointyhat
2009-01-06 22:06:43 +00:00

56 lines
1.3 KiB
Makefile

# New ports collection makefile for: KMyMoney
# Date created: 21 June 2004
# Whom: Alexander Novitsky
#
# $FreeBSD$
#
PORTNAME= kmymoney2
PORTVERSION= 0.8.9
PORTREVISION= 2
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
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
USE_XORG= xext
INSTALLS_ICONS= yes
MAN1= kmymoney2.1
MANCOMPRESSED= yes
DATADIR= ${PREFIX}/share/apps/${PORTNAME}
DOCSDIR= ${PREFIX}/share/doc/HTML/en/${PORTNAME}
.include <bsd.port.pre.mk>
.if defined(NOPORTDOCS)
CONFIGURE_ARGS= --enable-ofxplugin --enable-ofxbanking
EXTRA_PATCHES= ${FILESDIR}/extra-patch-Makefile.in \
${FILESDIR}/extra-patch-doc__en__Makefile.in
.else
CONFIGURE_ARGS= --enable-ofxplugin --enable-ofxbanking --enable-pdf-docs
# Add more build-time dependencies to generate the PDF docs
BUILD_DEPENDS+= jade:${PORTSDIR}/textproc/jade \
pdfjadetex:${PORTSDIR}/print/jadetex \
html2ps:${PORTSDIR}/print/html2ps-letter \
dsssl-docbook-modular>=0:${PORTSDIR}/textproc/dsssl-docbook-modular
.endif
.include <bsd.port.post.mk>