summaryrefslogtreecommitdiff
path: root/finance/xfinans/Makefile
blob: f682571cd210b5b0bba968d8801843ac73f76fd5 (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
# $NetBSD: Makefile,v 1.9 2005/12/05 20:50:13 rillig Exp $
#

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

MAINTAINER=		root@garbled.net
HOMEPAGE=		http://www.io.com/~acroyear/xfinans/
COMMENT=		Xfinans is a useful financial tracking, and account balancing tool

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

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

post-patch:
	${TOUCH} ${WRKSRC}/xfinans.man

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

.include "../../mk/bsd.pkg.mk"