aboutsummaryrefslogtreecommitdiffstats
path: root/games/py-mnemosyne/Makefile
blob: bd9b550ca74b1ebd24062450b3c7d400b9d9b72d (plain) (blame)
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
# New ports collection makefile for: py-mnemosyne
# Date created:     11 Jan 2008
# Whom:         Beech Rintoul <beech@FreeBSD.org>
#
#
# $FreeBSD$
#

PORTNAME=   mnemosyne
PORTVERSION=    1.2.2
PORTREVISION=   3
CATEGORIES= games python
MASTER_SITES=   SF/${PORTNAME}-proj/${PORTNAME}/${PORTNAME:S/^m/M/}-${PORTVERSION}
PKGNAMEPREFIX=  ${PYTHON_PKGNAMEPREFIX}
EXTRACT_SUFX=   .tgz

MAINTAINER= ports@FreeBSD.org
COMMENT=    Flash-card tool which optimises your learning process

RUN_DEPENDS=    py*-game>=0:${PORTSDIR}/devel/py-game \
        py*-qt>=0:${PORTSDIR}/x11-toolkits/py-qt \
        ${PYXML}

USE_PYTHON= 2.5+
USE_PYDISTUTILS=    easy_install
PYEASYINSTALL_EGG=  Mnemosyne-${PORTVERSION}-${PYTHON_VERSION:S/thon//}${PYEASYINSTALL_OSARCH}.egg

post-install:
    @${MKDIR} ${PREFIX}/share/applications
    ${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.desktop ${PREFIX}/share/applications
    @${MKDIR} ${PREFIX}/share/icons
    ${INSTALL_DATA} ${WRKSRC}/pixmaps/${PORTNAME}.png ${PREFIX}/share/icons

.include <bsd.port.mk>