2004-07-25 14:19:41 +02:00
|
|
|
# New ports collection makefile for: KMyMoney
|
|
|
|
# Date created: 21 June 2004
|
|
|
|
# Whom: Alexander Novitsky
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= kmymoney2
|
2007-09-10 14:20:51 +02:00
|
|
|
PORTVERSION= 0.8.7
|
2008-06-06 16:17:21 +02:00
|
|
|
PORTREVISION= 2
|
2004-07-25 14:19:41 +02:00
|
|
|
CATEGORIES= finance
|
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
|
|
|
MASTER_SITE_SUBDIR= ${PORTNAME}
|
|
|
|
|
|
|
|
MAINTAINER= alecn2002@yandex.ru
|
|
|
|
COMMENT= KDE-based personal finance assistant
|
|
|
|
|
2007-01-24 20:15:07 +01:00
|
|
|
LIB_DEPENDS= osp.5:${PORTSDIR}/textproc/opensp
|
2006-04-07 14:05:39 +02:00
|
|
|
BUILD_DEPENDS= ${LOCALBASE}/bin/bash:${PORTSDIR}/shells/bash
|
|
|
|
|
|
|
|
# Currently no possibility to enable OFX; requires additional work
|
|
|
|
.undef WITH_OFX
|
|
|
|
WITHOUT_OFX= yes
|
|
|
|
|
|
|
|
.if defined(WITH_OFX)
|
2006-11-24 09:37:53 +01:00
|
|
|
LIB_DEPENDS+= ofx.3:${PORTSDIR}/finance/libofx
|
2006-04-07 14:05:39 +02:00
|
|
|
CONFIGURE_ARGS= --enable-ofxplugin
|
|
|
|
OFXPLUGIN=
|
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS= --enable-ofxplugin=no
|
|
|
|
OFXPLUGIN= "@comment "
|
|
|
|
.endif
|
|
|
|
|
|
|
|
PLIST_SUB+= OFXPLUGIN=${OFXPLUGIN}
|
|
|
|
|
2004-07-25 14:19:41 +02:00
|
|
|
USE_KDELIBS_VER= 3
|
2005-07-31 19:17:56 +02:00
|
|
|
USE_GMAKE= yes
|
2006-09-05 19:28:41 +02:00
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
USE_AUTOTOOLS= libtool:15
|
2005-07-31 19:17:56 +02:00
|
|
|
USE_PERL5= yes
|
|
|
|
USE_BZIP2= yes
|
2006-09-05 19:28:41 +02:00
|
|
|
USE_LDCONFIG= yes
|
|
|
|
USE_GETTEXT= yes
|
|
|
|
|
|
|
|
INSTALLS_ICONS= yes
|
2004-07-25 14:19:41 +02:00
|
|
|
|
2005-07-31 19:17:56 +02:00
|
|
|
MAN1= kmymoney2.1
|
2006-09-05 19:28:41 +02:00
|
|
|
MANCOMPRESSED= yes
|
2004-07-25 14:19:41 +02:00
|
|
|
|
2005-07-31 19:17:56 +02:00
|
|
|
DATADIR= ${PREFIX}/share/apps/${PORTNAME}
|
|
|
|
DOCSDIR= ${PREFIX}/share/doc/HTML/en/${PORTNAME}
|
|
|
|
|
2006-04-07 14:05:39 +02:00
|
|
|
post-patch:
|
|
|
|
${REINPLACE_CMD} -E -e "s|%%LOCALBASE%%|${LOCALBASE}|g" ${WRKSRC}/configure
|
|
|
|
|
2007-10-04 02:50:28 +02:00
|
|
|
.include <bsd.port.mk>
|