From owner-svn-ports-head@FreeBSD.ORG Sat Aug 23 11:49:46 2014 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 132DE11A; Sat, 23 Aug 2014 11:49:46 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id E91C03C08; Sat, 23 Aug 2014 11:49:45 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.9/8.14.9) with ESMTP id s7NBnj7I067641; Sat, 23 Aug 2014 11:49:45 GMT (envelope-from wen@FreeBSD.org) Received: (from wen@localhost) by svn.freebsd.org (8.14.9/8.14.9/Submit) id s7NBnjDi067638; Sat, 23 Aug 2014 11:49:45 GMT (envelope-from wen@FreeBSD.org) Message-Id: <201408231149.s7NBnjDi067638@svn.freebsd.org> X-Authentication-Warning: svn.freebsd.org: wen set sender to wen@FreeBSD.org using -f From: Wen Heping Date: Sat, 23 Aug 2014 11:49:45 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r365722 - head/finance/mybudget X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 23 Aug 2014 11:49:46 -0000 Author: wen Date: Sat Aug 23 11:49:45 2014 New Revision: 365722 URL: http://svnweb.freebsd.org/changeset/ports/365722 QAT: https://qat.redports.org/buildarchive/r365722/ Log: - Stage support - Add LICENSE PR: 192792 Submitted by: tkato432@yahoo.com Modified: head/finance/mybudget/Makefile head/finance/mybudget/pkg-descr head/finance/mybudget/pkg-plist Modified: head/finance/mybudget/Makefile ============================================================================== --- head/finance/mybudget/Makefile Sat Aug 23 11:40:15 2014 (r365721) +++ head/finance/mybudget/Makefile Sat Aug 23 11:49:45 2014 (r365722) @@ -3,23 +3,48 @@ PORTNAME= myBudget PORTVERSION= 0.60 -PORTREVISION= 8 +PORTREVISION= 9 CATEGORIES= finance gnome MASTER_SITES= http://www.abisource.com/~msevior/ MAINTAINER= ports@FreeBSD.org COMMENT= Gtk+-2 finance manager +LICENSE= LGPL21 + +NO_ARCH= yes NO_BUILD= yes -USE_PYTHON= yes USE_GNOME= pygnome2 +INSTALL_ICONS= yes + +USES= python shebangfix +SHEBANG_FILES= myBudget.py +python_CMD= ${PYTHON_CMD} + +OPTIONS_DEFINE= DOCS -NO_STAGE= yes post-patch: - @${REINPLACE_CMD} -e 's|gobject.so|_gobject.so|' \ - ${WRKSRC}/install.py + @${REINPLACE_CMD} -e \ + "/^sPREFIX/s|=.*| = '${PREFIX}/share'|" ${WRKSRC}/myBudget.py do-install: - cd ${WRKSRC} && ${PYTHON_CMD} ./install.py ${PREFIX} + (cd ${WRKSRC} && ${INSTALL_SCRIPT} myBudget.py \ + ${STAGEDIR}${PREFIX}/bin/myBudget) + @${MKDIR} ${STAGEDIR}${DATADIR} + (cd ${WRKSRC} && ${INSTALL_DATA} *.myb *.png *.txt \ + ${STAGEDIR}${DATADIR}) + @${MKDIR} ${STAGEDIR}${DATADIR}/glade + (cd ${WRKSRC}/glade && ${INSTALL_DATA} *.* \ + ${STAGEDIR}${DATADIR}/glade) + @${MKDIR} ${STAGEDIR}${DATADIR}/po + (cd ${WRKSRC}/po && ${INSTALL_DATA} *.po \ + ${STAGEDIR}${DATADIR}/po) + (cd ${WRKSRC} && ${INSTALL_DATA} *.desktop \ + ${STAGEDIR}${PREFIX}/share/applications) + @${MKDIR} ${STAGEDIR}${PREFIX}/share/icons/hicolor/scalable/apps + (cd ${WRKSRC} && ${INSTALL_DATA} *.svg \ + ${STAGEDIR}${PREFIX}/share/icons/hicolor/scalable/apps) + @${MKDIR} ${STAGEDIR}${DOCSDIR} + @(cd ${WRKSRC}/docs && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}) .include Modified: head/finance/mybudget/pkg-descr ============================================================================== --- head/finance/mybudget/pkg-descr Sat Aug 23 11:40:15 2014 (r365721) +++ head/finance/mybudget/pkg-descr Sat Aug 23 11:49:45 2014 (r365722) @@ -1,27 +1,4 @@ The aim of the program is to make it as easy as possible for people to -do their own personal budgets and keep track of their finances. Using -this program you can: - - * Create a budget and organize budget items into categories. - * Nominate budget items to be paid from either a cash account or - via a "Direct Debit" account which allows you to save for big - ticket items and ensure timely payment of scheduled bills. - * Automatically calculates how much money you must put aside - each fortnight to meet all your "Direct Debit" obligations. - * Automatically tells you how much money you must have in Direct - Debit account to meet your obligatory payments on any - particular date. - * Record and save expenses against each of your budget categories. - * Track how your expenses relate to your budget so you can - determine if you are over or under-spending in any of your - categories. - * Sort your records into categories or by date. - * Comes with realistic example to show how things work. - * Allows you to export any of your reports, records, budget and - Direct Debit status to the Gnumeric Spreadsheet program where - they can be either printed or used for more detailed analysis. - * Allows you to export any of your reports, records, budget and - Direct Debit status to the AbiWord WordProcessor program where - they can be printed or incorporated into a report. +do their own personal budgets and keep track of their finances. WWW: http://www.abisource.com/~msevior/index.html Modified: head/finance/mybudget/pkg-plist ============================================================================== --- head/finance/mybudget/pkg-plist Sat Aug 23 11:40:15 2014 (r365721) +++ head/finance/mybudget/pkg-plist Sat Aug 23 11:49:45 2014 (r365722) @@ -1,38 +1,39 @@ bin/myBudget +share/applications/myBudget.desktop +%%PORTDOCS%%%%DOCSDIR%%/DirectDebitPane.png +%%PORTDOCS%%%%DOCSDIR%%/ExportAbiWord.png +%%PORTDOCS%%%%DOCSDIR%%/MyBudget.html +%%PORTDOCS%%%%DOCSDIR%%/MyBudget.html_files/1.png +%%PORTDOCS%%%%DOCSDIR%%/MyBudget.html_files/addButton_0.png +%%PORTDOCS%%%%DOCSDIR%%/MyBudget.html_files/deleteButton_0.png +%%PORTDOCS%%%%DOCSDIR%%/MyBudget.html_files/deleteButton_1.png +%%PORTDOCS%%%%DOCSDIR%%/MyBudget.html_files/gnumericButton_0.png +%%PORTDOCS%%%%DOCSDIR%%/MyBudget.html_files/gnumericButton_1.png +%%PORTDOCS%%%%DOCSDIR%%/MyBudget.html_files/gnumericButton_2.png +%%PORTDOCS%%%%DOCSDIR%%/MyBudget.html_files/myBudget-1_0.png +%%PORTDOCS%%%%DOCSDIR%%/MyBudget.html_files/myBudget-2_0.png +%%PORTDOCS%%%%DOCSDIR%%/MyBudget.html_files/mybudget-3_0.png +%%PORTDOCS%%%%DOCSDIR%%/MyBudget.html_files/quitButton_0.png +%%PORTDOCS%%%%DOCSDIR%%/MyBudget.html_files/replaceButton_0.png +%%PORTDOCS%%%%DOCSDIR%%/MyBudget.html_files/replaceButton_1.png +%%PORTDOCS%%%%DOCSDIR%%/MyBudget.html_files/sortCategoriesButton_0.png +%%PORTDOCS%%%%DOCSDIR%%/MyBudget.html_files/sortDatesButton_0.png +%%PORTDOCS%%%%DOCSDIR%%/MyBudget.html_files/sortItem_0.png +%%PORTDOCS%%%%DOCSDIR%%/MyBudget.zabw +%%PORTDOCS%%%%DOCSDIR%%/addButton.png +%%PORTDOCS%%%%DOCSDIR%%/applyButton.png +%%PORTDOCS%%%%DOCSDIR%%/deleteButton.png +%%PORTDOCS%%%%DOCSDIR%%/gnumericButton.png +%%PORTDOCS%%%%DOCSDIR%%/myBudget-1.png +%%PORTDOCS%%%%DOCSDIR%%/myBudget-2.png +%%PORTDOCS%%%%DOCSDIR%%/mybudget-3.png +%%PORTDOCS%%%%DOCSDIR%%/quitButton.png +%%PORTDOCS%%%%DOCSDIR%%/replaceButton.png +%%PORTDOCS%%%%DOCSDIR%%/sortCategoriesButton.png +%%PORTDOCS%%%%DOCSDIR%%/sortDatesButton.png +%%PORTDOCS%%%%DOCSDIR%%/sortItem.png +share/icons/hicolor/scalable/apps/myBudget-icon.svg %%DATADIR%%/abiword_head.txt -%%DATADIR%%/applications/myBudget.desktop -%%DATADIR%%/docs/DirectDebitPane.png -%%DATADIR%%/docs/ExportAbiWord.png -%%DATADIR%%/docs/MyBudget.html -%%DATADIR%%/docs/MyBudget.html_files/1.png -%%DATADIR%%/docs/MyBudget.html_files/addButton_0.png -%%DATADIR%%/docs/MyBudget.html_files/deleteButton_0.png -%%DATADIR%%/docs/MyBudget.html_files/deleteButton_1.png -%%DATADIR%%/docs/MyBudget.html_files/gnumericButton_0.png -%%DATADIR%%/docs/MyBudget.html_files/gnumericButton_1.png -%%DATADIR%%/docs/MyBudget.html_files/gnumericButton_2.png -%%DATADIR%%/docs/MyBudget.html_files/myBudget-1_0.png -%%DATADIR%%/docs/MyBudget.html_files/myBudget-2_0.png -%%DATADIR%%/docs/MyBudget.html_files/mybudget-3_0.png -%%DATADIR%%/docs/MyBudget.html_files/quitButton_0.png -%%DATADIR%%/docs/MyBudget.html_files/replaceButton_0.png -%%DATADIR%%/docs/MyBudget.html_files/replaceButton_1.png -%%DATADIR%%/docs/MyBudget.html_files/sortCategoriesButton_0.png -%%DATADIR%%/docs/MyBudget.html_files/sortDatesButton_0.png -%%DATADIR%%/docs/MyBudget.html_files/sortItem_0.png -%%DATADIR%%/docs/MyBudget.zabw -%%DATADIR%%/docs/addButton.png -%%DATADIR%%/docs/applyButton.png -%%DATADIR%%/docs/deleteButton.png -%%DATADIR%%/docs/gnumericButton.png -%%DATADIR%%/docs/myBudget-1.png -%%DATADIR%%/docs/myBudget-2.png -%%DATADIR%%/docs/mybudget-3.png -%%DATADIR%%/docs/quitButton.png -%%DATADIR%%/docs/replaceButton.png -%%DATADIR%%/docs/sortCategoriesButton.png -%%DATADIR%%/docs/sortDatesButton.png -%%DATADIR%%/docs/sortItem.png %%DATADIR%%/example.myb %%DATADIR%%/generic-budget.txt %%DATADIR%%/glade/icon.svg @@ -40,13 +41,10 @@ bin/myBudget %%DATADIR%%/glade/mybudget.gladep %%DATADIR%%/gnumeric_foot.txt %%DATADIR%%/gnumeric_head.txt -%%DATADIR%%/pixmaps/myBudget-icon.svg %%DATADIR%%/po/myBudget.po %%DATADIR%%/splashscreen.png @dirrm %%DATADIR%%/po -@dirrm %%DATADIR%%/pixmaps @dirrm %%DATADIR%%/glade -@dirrm %%DATADIR%%/docs/MyBudget.html_files -@dirrm %%DATADIR%%/docs -@dirrm %%DATADIR%%/applications @dirrm %%DATADIR%% +%%PORTDOCS%%@dirrm %%DOCSDIR%%/MyBudget.html_files +%%PORTDOCS%%@dirrm %%DOCSDIR%%