2015-04-03 11:17:41 +02:00
|
|
|
# $NetBSD: Makefile,v 1.9 2015/04/03 09:17:41 wiz Exp $
|
2012-10-27 21:43:18 +02:00
|
|
|
#
|
|
|
|
# any of ~* is fine, they are the same and just there for Ubuntu
|
|
|
|
# so moneyguru's built for all releases
|
2015-04-03 11:17:41 +02:00
|
|
|
DISTNAME= moneyguru-2.8.2
|
2012-10-27 21:43:18 +02:00
|
|
|
CATEGORIES= finance
|
2015-04-03 11:17:41 +02:00
|
|
|
MASTER_SITES= ${MASTER_SITE_GITHUB:=hsoft/}
|
2012-10-27 21:43:18 +02:00
|
|
|
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
|
|
HOMEPAGE= http://www.hardcoded.net/moneyguru/
|
|
|
|
COMMENT= Personal finance management application
|
2014-01-25 12:11:20 +01:00
|
|
|
LICENSE= modified-bsd
|
2012-10-27 21:43:18 +02:00
|
|
|
|
2014-01-25 12:11:20 +01:00
|
|
|
DEPENDS+= ${PYPKGPREFIX}-polib-[0-9]*:../../devel/py-polib
|
2012-10-27 21:43:18 +02:00
|
|
|
DEPENDS+= ${PYPKGPREFIX}-qt4-[0-9]*:../../x11/py-qt4
|
|
|
|
DEPENDS+= ${PYPKGPREFIX}-sphinx-[0-9]*:../../textproc/py-sphinx
|
|
|
|
DEPENDS+= ${PYPKGPREFIX}-sqlite3-[0-9]*:../../databases/py-sqlite3
|
|
|
|
DEPENDS+= ${PYPKGPREFIX}-cElementTree-[0-9]*:../../textproc/py-cElementTree
|
|
|
|
|
2015-04-03 11:17:41 +02:00
|
|
|
GITHUB_TAG= ${PKGVERSION_NOREV}
|
2014-01-25 12:11:20 +01:00
|
|
|
EXTRACT_USING= bsdtar
|
2012-10-27 21:43:18 +02:00
|
|
|
|
2014-01-25 12:11:20 +01:00
|
|
|
WRKSRC= ${WRKDIR}/${PKGNAME_NOREV}
|
2012-10-27 21:43:18 +02:00
|
|
|
USE_LANGUAGES= c
|
|
|
|
USE_TOOLS= pax
|
|
|
|
|
2014-01-25 12:11:20 +01:00
|
|
|
PYTHON_VERSIONS_INCOMPATIBLE= 26 27 # 3.x only
|
|
|
|
PY_PATCHPLIST= yes
|
2014-05-10 08:52:03 +02:00
|
|
|
PLIST_SUBST+= PYVERSSUFFIX=${PYVERSSUFFIX}
|
2014-01-25 12:11:20 +01:00
|
|
|
REPLACE_PYTHON+= cocoa/waf
|
|
|
|
REPLACE_PYTHON+= cocoa/wscript
|
|
|
|
REPLACE_PYTHON+= psmtabbarcontrol/waf
|
|
|
|
REPLACE_PYTHON+= psmtabbarcontrol/wscript
|
|
|
|
REPLACE_PYTHON+= run_template_cocoa.py
|
|
|
|
REPLACE_PYTHON+= run_template_qt.py
|
2012-10-27 21:43:18 +02:00
|
|
|
|
|
|
|
INSTALLATION_DIRS= bin share/applications share/moneyguru
|
|
|
|
|
2014-01-25 12:11:20 +01:00
|
|
|
do-configure:
|
|
|
|
cd ${WRKSRC} && ${PYTHONBIN} configure.py
|
2012-10-27 21:43:18 +02:00
|
|
|
|
|
|
|
do-build:
|
2014-01-25 12:11:20 +01:00
|
|
|
cd ${WRKSRC} && ${PYTHONBIN} build.py
|
|
|
|
${CHMOD} +x ${WRKSRC}/run.py
|
2012-10-27 21:43:18 +02:00
|
|
|
|
|
|
|
do-install:
|
2014-04-19 03:14:41 +02:00
|
|
|
cd ${WRKSRC} && pax -pp -rw ambuttonbar build cocoa cocoalib core data help hscommon images locale plugin_examples psmtabbarcontrol qt qtlib run.py ${DESTDIR}${PREFIX}/share/moneyguru
|
2012-10-27 21:43:18 +02:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/debian/moneyguru.desktop ${DESTDIR}${PREFIX}/share/applications
|
|
|
|
${LN} -s ${DESTDIR}${PREFIX}/share/moneyguru/run.py ${DESTDIR}${PREFIX}/bin/moneyguru
|
|
|
|
|
|
|
|
.include "../../lang/python/application.mk"
|
|
|
|
.include "../../lang/python/extension.mk"
|
|
|
|
.include "../../sysutils/desktop-file-utils/desktopdb.mk"
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|