blob: 49e83c0770949bbde28f2c24b2bc29bf46e74612 (
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.1.1
CATEGORIES= games python
MASTER_SITES= SF/${PORTNAME}-proj/OldFiles
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
DISTNAME= mnemosyne-${PORTVERSION}
EXTRACT_SUFX= .tgz
MAINTAINER= beech@FreeBSD.org
COMMENT= Flash-card tool which optimises your learning process
USE_PYTHON= 2.4+
USE_PYDISTUTILS= easy_install
PYEASYINSTALL_EGG= Mnemosyne-${PORTVERSION}-${PYTHON_VERSION:S/thon//}${PYEASYINSTALL_OSARCH}.egg
RUN_DEPENDS+= ${PYTHON_SITELIBDIR}/pygame/__init__.py:${PORTSDIR}/devel/py-game \
py*-xml>=0:${PORTSDIR}/textproc/py-xml \
py*-qt>=0:${PORTSDIR}/x11-toolkits/py-qt
post-install:
@${INSTALL} -d ${PREFIX}/share/applications
@${INSTALL_DATA} ${WRKSRC}/mnemosyne.desktop ${PREFIX}/share/applications/
@${INSTALL} -d ${PREFIX}/share/icons
@${INSTALL_DATA} ${WRKSRC}/pixmaps/mnemosyne.png ${PREFIX}/share/icons/
.include <bsd.port.mk>
|