blob: 445c5786bc0ba519f1fe156f653d95601f4cd901 (
plain)
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
35
36
37
38
39
40
|
# 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>
|