summaryrefslogtreecommitdiff
path: root/finance/xfinans/Makefile
blob: 9c865733da04a4728ae1d9c7c80ecb55d6b25f5f (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
33
34
35
36
37
38
39
40
# $NetBSD: Makefile,v 1.18 2009/07/08 16:37:59 joerg Exp $
#

DISTNAME=		xfinans-5.9
PKGREVISION=		3
CATEGORIES=		finance x11
MASTER_SITES=		${MASTER_SITE_SUNSITE:=apps/financial/accounting/}

MAINTAINER=		pkgsrc-users@NetBSD.org
HOMEPAGE=		http://www.io.com/~acroyear/xfinans/
COMMENT=		Xfinans is a useful financial tracking, and account balancing tool

PKG_DESTDIR_SUPPORT=	user-destdir

DEPENDS+=		gnuplot>=3.7:../../graphics/gnuplot

WRKSRC=			${WRKDIR}/Xfinans
CONFIGURE_DIRS=		Src
USE_IMAKE=		yes

INSTALLATION_DIRS=	lib/X11/app-defaults/XFinans \
			share/doc/Xfinans share/examples/Xfinans

post-install:
	${INSTALL_DATA} ${WRKSRC}/XFinans.defaults ${DESTDIR}${PREFIX}/lib/X11/app-defaults/XFinans
	${INSTALL_DATA} ${WRKSRC}/*.acc ${DESTDIR}${PREFIX}/share/examples/Xfinans
	${INSTALL_DATA} ${WRKSRC}/xfin.ps ${DESTDIR}${PREFIX}/share/doc/Xfinans
	${INSTALL_DATA} ${WRKSRC}/README ${DESTDIR}${PREFIX}/share/doc/Xfinans
	${INSTALL_DATA} ${WRKSRC}/INSTALL ${DESTDIR}${PREFIX}/share/doc/Xfinans
	${INSTALL_DATA} ${WRKSRC}/hyperhelp ${DESTDIR}${PREFIX}/share/examples/Xfinans
	${INSTALL_DATA} ${WRKSRC}/hyperhelp.index ${DESTDIR}${PREFIX}/share/examples/Xfinans
	${INSTALL_DATA} ${WRKSRC}/finans.bkd ${DESTDIR}${PREFIX}/share/examples/Xfinans
	${INSTALL_DATA} ${WRKSRC}/variables ${DESTDIR}${PREFIX}/share/examples/Xfinans
	${INSTALL_DATA} ${WRKSRC}/categories ${DESTDIR}${PREFIX}/share/examples/Xfinans
	${INSTALL_DATA} ${WRKSRC}/category_engine ${DESTDIR}${PREFIX}/share/examples/Xfinans
	${RM} -f ${DESTDIR}${PREFIX}/${PKGMANDIR}/cat1/xfinans.0

.include "../../x11/libXaw/buildlink3.mk"
.include "../../x11/libXp/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"