summaryrefslogtreecommitdiff
path: root/finance/xfinans
diff options
context:
space:
mode:
authorjoerg <joerg>2009-07-08 16:37:53 +0000
committerjoerg <joerg>2009-07-08 16:37:53 +0000
commit24540a8344c06d33106e54a9b4cc49debad8d521 (patch)
tree91a69d4020334e33f2627a23f097a9163d7d55da /finance/xfinans
parentce9d23dcba9c900929551e88e5461c5517398df3 (diff)
downloadpkgsrc-24540a8344c06d33106e54a9b4cc49debad8d521.tar.gz
user-destdir support
Diffstat (limited to 'finance/xfinans')
-rw-r--r--finance/xfinans/Makefile34
1 files changed, 18 insertions, 16 deletions
diff --git a/finance/xfinans/Makefile b/finance/xfinans/Makefile
index c97f5f9beeb..9c865733da0 100644
--- a/finance/xfinans/Makefile
+++ b/finance/xfinans/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.17 2008/11/10 17:21:35 wiz Exp $
+# $NetBSD: Makefile,v 1.18 2009/07/08 16:37:59 joerg Exp $
#
DISTNAME= xfinans-5.9
@@ -10,28 +10,30 @@ 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_DIR} ${PREFIX}/lib/X11/app-defaults/XFinans
- ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/Xfinans
- ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/Xfinans
- ${INSTALL_DATA} ${WRKSRC}/XFinans.defaults ${PREFIX}/lib/X11/app-defaults/XFinans
- ${INSTALL_DATA} ${WRKSRC}/*.acc ${PREFIX}/share/examples/Xfinans
- ${INSTALL_DATA} ${WRKSRC}/xfin.ps ${PREFIX}/share/doc/Xfinans
- ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/Xfinans
- ${INSTALL_DATA} ${WRKSRC}/INSTALL ${PREFIX}/share/doc/Xfinans
- ${INSTALL_DATA} ${WRKSRC}/hyperhelp ${PREFIX}/share/examples/Xfinans
- ${INSTALL_DATA} ${WRKSRC}/hyperhelp.index ${PREFIX}/share/examples/Xfinans
- ${INSTALL_DATA} ${WRKSRC}/finans.bkd ${PREFIX}/share/examples/Xfinans
- ${INSTALL_DATA} ${WRKSRC}/variables ${PREFIX}/share/examples/Xfinans
- ${INSTALL_DATA} ${WRKSRC}/categories ${PREFIX}/share/examples/Xfinans
- ${INSTALL_DATA} ${WRKSRC}/category_engine ${PREFIX}/share/examples/Xfinans
- ${RM} -f ${PREFIX}/${PKGMANDIR}/cat1/xfinans.0
+ ${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"