aboutsummaryrefslogtreecommitdiff
path: root/games
diff options
context:
space:
mode:
authorRuslan Makhmatkhanov <rm@FreeBSD.org>2012-06-10 07:27:48 +0000
committerRuslan Makhmatkhanov <rm@FreeBSD.org>2012-06-10 07:27:48 +0000
commitdab0cfc0606459e5780fa473288217025ac83351 (patch)
tree9a2d8990d971087503c085243b3d45415706a811 /games
parentb72aa3dce33bd1e2ec8d6f99aa6c51a1c56bd537 (diff)
downloadports-dab0cfc0606459e5780fa473288217025ac83351.tar.gz
ports-dab0cfc0606459e5780fa473288217025ac83351.zip
Notes
Diffstat (limited to 'games')
-rw-r--r--games/anki/Makefile4
-rw-r--r--games/anki/Makefile.inc32
-rw-r--r--games/anki/pkg-descr2
-rw-r--r--games/py-anki/Makefile4
4 files changed, 19 insertions, 23 deletions
diff --git a/games/anki/Makefile b/games/anki/Makefile
index b2772248004b..f0deadd273a2 100644
--- a/games/anki/Makefile
+++ b/games/anki/Makefile
@@ -1,6 +1,6 @@
# New ports collection makefile for: anki
-# Date created: 9 August 2007
-# Whom: Andrew Pantyukhin <infofarmer@FreeBSD.org>
+# Date created: 9 August 2007
+# Whom: Andrew Pantyukhin <infofarmer@FreeBSD.org>
#
# $FreeBSD$
#
diff --git a/games/anki/Makefile.inc b/games/anki/Makefile.inc
index d82e5f215616..7ee618ce70ab 100644
--- a/games/anki/Makefile.inc
+++ b/games/anki/Makefile.inc
@@ -2,27 +2,23 @@
PORTNAME= anki
PORTVERSION= 1.2.11
-PORTREVISION?= 1
+PORTREVISION?= 2
CATEGORIES= games
MASTER_SITES= GOOGLE_CODE \
http://ankisrs.net/download/mirror/
EXTRACT_SUFX= .tgz
-USE_PYTHON= yes
+USE_PYTHON= -2.7
USE_GETTEXT= yes
USE_PYDISTUTILS= easy_install
.if !defined(PKGNAMEPREFIX)
-BUILD_DEPENDS= ${PYNUMPY} \
- py*-qt4-core>=4.4:${PORTSDIR}/devel/py-qt4-core \
- py*-sip>=4.6:${PORTSDIR}/devel/py-sip \
- py*-matplotlib>=0.90.0:${PORTSDIR}/math/py-matplotlib \
- py*-qt4-gui>=4.4:${PORTSDIR}/x11-toolkits/py-qt4-gui
+BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}qt4-core>=4.4:${PORTSDIR}/devel/py-qt4-core \
+ ${PYTHON_PKGNAMEPREFIX}qt4-gui>=4.4:${PORTSDIR}/x11-toolkits/py-qt4-gui
RUN_DEPENDS:= ${BUILD_DEPENDS} \
- py*-anki>=1.2.11:${PORTSDIR}/games/py-anki \
- py*-svg>=4.4:${PORTSDIR}/graphics/py-qt4-svg \
- py*-network>=4.4:${PORTSDIR}/net/py-qt4-network \
- py*-webkit>=4.4:${PORTSDIR}/www/py-qt4-webkit
+ ${PYNUMPY} \
+ ${PYTHON_PKGNAMEPREFIX}sip>=4.6:${PORTSDIR}/devel/py-sip \
+ ${PYTHON_PKGNAMEPREFIX}matplotlib>=0.90.0:${PORTSDIR}/math/py-matplotlib \
USE_QT4= corelib gui
PYDISTUTILS_PKGNAME= ankiqt
@@ -35,13 +31,13 @@ DESKTOP_ENTRIES= "${PORTNAME}" \
"Education;Languages;Qt;" \
false
.else
-BUILD_DEPENDS= ${PYNUMPY} \
- ${PYTHON_SITELIBDIR}/_sqlite3.so:${PORTSDIR}/databases/py-sqlite3 \
- py*-sqlalchemy06>=0:${PORTSDIR}/databases/py-sqlalchemy06 \
- py*-game>=0:${PORTSDIR}/devel/py-game \
- py*-simplejson>=0:${PORTSDIR}/devel/py-simplejson \
- py*-matplotlib>=0.90.0:${PORTSDIR}/math/py-matplotlib
-RUN_DEPENDS:= ${BUILD_DEPENDS}
+BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}simplejson>0:${PORTSDIR}/devel/py-simplejson \
+ ${PYTHON_PKGNAMEPREFIX}sqlite3>0:${PORTSDIR}/databases/py-sqlite3 \
+ ${PYTHON_PKGNAMEPREFIX}sqlalchemy>0:${PORTSDIR}/databases/py-sqlalchemy
+RUN_DEPENDS:= ${BUILD_DEPENDS} \
+ ${PYNUMPY} \
+ ${PYTHON_PKGNAMEPREFIX}game>0:${PORTSDIR}/devel/py-game \
+ ${PYTHON_PKGNAMEPREFIX}matplotlib>=0.90.0:${PORTSDIR}/math/py-matplotlib
PLIST= ${PKGDIR}/pkg-plist.py-anki
WRKSRC= ${WRKDIR}/${DISTNAME}/lib${PORTNAME}
diff --git a/games/anki/pkg-descr b/games/anki/pkg-descr
index 609719d8755f..282ac13a54e1 100644
--- a/games/anki/pkg-descr
+++ b/games/anki/pkg-descr
@@ -10,4 +10,4 @@ features designed to make studying Japanese and English easier: integrated
dictionary lookups, missing kanji reports, and more. Sample decks are also
provided for Russian.
-WWW: http://ankisrs.net/
+WWW: http://ankisrs.net/
diff --git a/games/py-anki/Makefile b/games/py-anki/Makefile
index 3bf8645b241e..e6794af048dd 100644
--- a/games/py-anki/Makefile
+++ b/games/py-anki/Makefile
@@ -1,6 +1,6 @@
# New ports collection makefile for: py-anki
-# Date created: 12 February 2008
-# Whom: Andrew Pantyukhin <infofarmer@FreeBSD.org>
+# Date created: 12 February 2008
+# Whom: Andrew Pantyukhin <infofarmer@FreeBSD.org>
#
# $FreeBSD$
#