freebsd-ports/games/py-mnemosyne/Makefile
Martin Wilke 729d9d232f - Move over to py25 or above
- While here get rid FreeBSD 6.X and md5 support
2011-02-25 03:19:29 +00:00

34 lines
972 B
Makefile

# 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= 1
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>