mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-19 08:13:21 +00:00
d72c560b21
Hat: portmgr
41 lines
993 B
Makefile
41 lines
993 B
Makefile
# New ports collection makefile for: anki
|
|
# Date created: 9 August 2007
|
|
# Whom: Andrew Pantyukhin <infofarmer@FreeBSD.org>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= anki
|
|
PORTVERSION= 0.9.5.7
|
|
PORTREVISION= 1
|
|
CATEGORIES= games
|
|
MASTER_SITES= CENKES http://ichi2.net/anki/download/
|
|
EXTRACT_SUFX= .tgz
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= Flashcard trainer with spaced repetition
|
|
|
|
BUILD_DEPENDS= py*-qt4-core>=4.2:${PORTSDIR}/devel/py-qt4-core \
|
|
py*-qt4-gui>=4.2:${PORTSDIR}/x11-toolkits/py-qt4-gui \
|
|
py*-sip>=4.6:${PORTSDIR}/devel/py-sip \
|
|
py*-numpy>=0:${PORTSDIR}/math/py-numpy \
|
|
py*-anki>=0.4.3:${PORTSDIR}/games/py-anki \
|
|
py*-matplotlib>=0.90.0:${PORTSDIR}/math/py-matplotlib
|
|
RUN_DEPENDS:= ${BUILD_DEPENDS}
|
|
|
|
USE_GETTEXT= yes
|
|
USE_PYDISTUTILS=easy_install
|
|
USE_PYTHON= yes
|
|
USE_QT_VER= 4
|
|
QT_COMPONENTS= moc
|
|
PYDISTUTILS_PKGNAME= ankiqt
|
|
PORT_VERBS= ankiqt
|
|
|
|
post-extract:
|
|
@cd ${WRKSRC}/&&${RM} -rf libanki build
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e '/req/d' ${WRKSRC}/setup.py
|
|
|
|
.include <bsd.port.mk>
|