diff options
author | Beech Rintoul <beech@FreeBSD.org> | 2008-09-12 07:16:11 +0000 |
---|---|---|
committer | Beech Rintoul <beech@FreeBSD.org> | 2008-09-12 07:16:11 +0000 |
commit | d3560e2560989ab085f8e8457bed2f19a2e9f674 (patch) | |
tree | f92daca53285b91f79d8af264c9c119b4143d563 /games/py-mnemosyne | |
parent | 955f4e22a6403acb0e3c8efcc35b3a2d55f25140 (diff) | |
download | ports-d3560e2560989ab085f8e8457bed2f19a2e9f674.tar.gz ports-d3560e2560989ab085f8e8457bed2f19a2e9f674.zip |
Notes
Diffstat (limited to 'games/py-mnemosyne')
-rw-r--r-- | games/py-mnemosyne/Makefile | 6 | ||||
-rw-r--r-- | games/py-mnemosyne/files/patch-setup.py | 9 |
2 files changed, 6 insertions, 9 deletions
diff --git a/games/py-mnemosyne/Makefile b/games/py-mnemosyne/Makefile index cc6964de7f28..07115af2a031 100644 --- a/games/py-mnemosyne/Makefile +++ b/games/py-mnemosyne/Makefile @@ -18,8 +18,6 @@ EXTRACT_SUFX= .tgz MAINTAINER= beech@FreeBSD.org COMMENT= Flash-card tool which optimises your learning process -BROKEN= installs files in build phase - USE_PYTHON= 2.4+ USE_PYDISTUTILS= easy_install PYEASYINSTALL_EGG= Mnemosyne-${PORTVERSION}-${PYTHON_VERSION:S/thon//}${PYEASYINSTALL_OSARCH}.egg @@ -29,9 +27,9 @@ RUN_DEPENDS+= ${PYTHON_SITELIBDIR}/pygame/__init__.py:${PORTSDIR}/devel/py-game py*-qt>=0:${PORTSDIR}/x11-toolkits/py-qt post-install: - @${MKDIR} ${PREFIX}/share/applications || true + @${INSTALL} -d ${PREFIX}/share/applications @${INSTALL_DATA} ${WRKSRC}/mnemosyne.desktop ${PREFIX}/share/applications/ - @${MKDIR} ${PREFIX}/share/icons || true + @${INSTALL} -d ${PREFIX}/share/icons @${INSTALL_DATA} ${WRKSRC}/pixmaps/mnemosyne.png ${PREFIX}/share/icons/ .include <bsd.port.mk> diff --git a/games/py-mnemosyne/files/patch-setup.py b/games/py-mnemosyne/files/patch-setup.py index 0647b8387d4a..1294a630486b 100644 --- a/games/py-mnemosyne/files/patch-setup.py +++ b/games/py-mnemosyne/files/patch-setup.py @@ -1,13 +1,12 @@ ---- setup.py.orig 2007-12-27 10:09:54.000000000 -0900 -+++ setup.py 2008-01-14 08:59:26.000000000 -0900 -@@ -147,8 +147,8 @@ +--- setup.py.orig 2008-08-23 08:05:54.000000000 -0800 ++++ setup.py 2008-09-11 20:19:12.000000000 -0800 +@@ -151,8 +151,7 @@ else: base_path = os.path.join(sys.exec_prefix, "lib", "python"+sys.version[:3], "site-packages","mnemosyne") - data_files = [('/usr/share/applications', ['mnemosyne.desktop']), - ('/usr/share/icons', ['pixmaps/mnemosyne.png'])] -+ data_files = [('/usr/local/share/applications', ['mnemosyne.desktop']), -+ ('/usr/local/share/icons', ['pixmaps/mnemosyne.png'])] ++ data_files = [] pixmap_path = os.path.join(base_path, "pixmaps") util_path = os.path.join(base_path, "util") |