2006-06-25 02:25:58 +00:00
|
|
|
# New ports collection makefile for: homebank
|
|
|
|
# Date created: 24 June 2006
|
|
|
|
# Whom: Mezz <mezz@FreeBSD.org>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= homebank
|
2010-02-25 17:22:20 +00:00
|
|
|
PORTVERSION= 4.2.1
|
2010-05-31 02:01:56 +00:00
|
|
|
PORTREVISION= 2
|
2006-06-25 02:25:58 +00:00
|
|
|
CATEGORIES= finance
|
|
|
|
MASTER_SITES= http://homebank.free.fr/public/
|
|
|
|
|
2009-03-18 20:06:38 +00:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2006-06-25 02:25:58 +00:00
|
|
|
COMMENT= Manage your personal accounts at home
|
|
|
|
|
2009-05-09 09:19:07 +00:00
|
|
|
OPTIONS= OFX "Enable libOFX support" on
|
|
|
|
|
2009-11-12 10:52:24 +00:00
|
|
|
USE_GNOME= desktopfileutils gnomehier gtk20
|
2006-06-25 02:25:58 +00:00
|
|
|
USE_GETTEXT= yes
|
2009-05-09 09:19:07 +00:00
|
|
|
USE_GMAKE= yes
|
2006-06-25 02:25:58 +00:00
|
|
|
GNU_CONFIGURE= yes
|
2009-05-09 09:19:07 +00:00
|
|
|
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
|
|
|
|
INSTALLS_ICONS= yes
|
2006-06-25 02:25:58 +00:00
|
|
|
|
2009-05-09 09:19:07 +00:00
|
|
|
CPPFLAGS= -I${LOCALBASE}/include ${PTHREAD_CFLAGS}
|
|
|
|
LDFLAGS= -L${LOCALBASE}/lib ${PTHREAD_LIBS}
|
2006-06-25 02:25:58 +00:00
|
|
|
|
2009-05-09 09:19:07 +00:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
|
|
|
.if defined(WITHOUT_OFX)
|
|
|
|
CONFIGURE_ARGS+=--without-ofx
|
|
|
|
.else
|
2008-04-04 16:26:50 +00:00
|
|
|
LIB_DEPENDS+= ofx.4:${PORTSDIR}/finance/libofx
|
|
|
|
CONFIGURE_ARGS+=--with-ofx
|
|
|
|
.endif
|
|
|
|
|
2010-02-13 08:46:43 +00:00
|
|
|
post-extract:
|
|
|
|
@${CHMOD} ${BINMODE} ${WRKSRC}/install-sh
|
|
|
|
|
2006-06-25 02:25:58 +00:00
|
|
|
post-install:
|
2009-05-09 09:19:07 +00:00
|
|
|
.if !defined(NOPORTDOCS)
|
2006-06-25 02:25:58 +00:00
|
|
|
@${MKDIR} ${DOCSDIR}
|
2009-05-09 09:19:07 +00:00
|
|
|
.for file in AUTHORS ChangeLog NEWS README
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}
|
2006-06-25 02:25:58 +00:00
|
|
|
.endfor
|
|
|
|
.endif
|
2007-05-25 04:35:20 +00:00
|
|
|
@-update-desktop-database
|
2008-04-04 16:26:50 +00:00
|
|
|
@-update-mime-database ${PREFIX}/share/mime
|
2006-06-25 02:25:58 +00:00
|
|
|
|
2009-05-09 09:19:07 +00:00
|
|
|
.include <bsd.port.post.mk>
|