aboutsummaryrefslogtreecommitdiff
path: root/games/fretsonfire
diff options
context:
space:
mode:
Diffstat (limited to 'games/fretsonfire')
-rw-r--r--games/fretsonfire/Makefile14
-rw-r--r--games/fretsonfire/pkg-descr2
2 files changed, 7 insertions, 9 deletions
diff --git a/games/fretsonfire/Makefile b/games/fretsonfire/Makefile
index 7821e463133d..4082ee8d88fe 100644
--- a/games/fretsonfire/Makefile
+++ b/games/fretsonfire/Makefile
@@ -7,7 +7,7 @@
PORTNAME= fretsonfire
PORTVERSION= 1.3.110
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= games python
MASTER_SITES= SF
DISTNAME= ${PORTNAME:S/f/F/g:S/o/O/}-${PORTVERSION}
@@ -16,18 +16,16 @@ DIST_SUBDIR= ${PORTNAME}
MAINTAINER= acm@FreeBSD.org
COMMENT= A game of musical skill and fast fingers
-RUN_DEPENDS= ${PYTHON_SITELIBDIR}/numpy:${PORTSDIR}/math/py-numpy \
- ${PYTHON_SITELIBDIR}/pygame/__init__.py:${PORTSDIR}/devel/py-game \
- ${PYTHON_SITELIBDIR}/OpenGL/__init__.py:${PORTSDIR}/graphics/py-opengl \
- ${PYTHON_SITELIBDIR}/PIL/__init__.py:${PORTSDIR}/graphics/py-imaging \
+RUN_DEPENDS= ${PYNUMPY} \
+ ${PYTHON_PKGNAMEPREFIX}game>=0:${PORTSDIR}/devel/py-game \
+ ${PYTHON_PKGNAMEPREFIX}opengl>=0:${PORTSDIR}/graphics/py-opengl \
+ ${PYTHON_PKGNAMEPREFIX}imaging>=0:${PORTSDIR}/graphics/py-imaging \
${LOCALBASE}/share/${PORTNAME}/default.ttf:${PORTSDIR}/games/fretsonfire-data
USE_PYTHON= yes
USE_DOS2UNIX= *.txt
NO_BUILD= yes
-BROKEN= does not build
-
DATADIR= share/${PORTNAME}
EXTRACT_AFTER_ARGS= | ${TAR} -xf - --exclude 'data'
SUB_FILES= pkg-message FretsOnFire
@@ -56,7 +54,7 @@ do-install:
${LN} -s ${LOCALBASE}/${DATADIR}/* ${FOF_DIR}/data
${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME:S/f/F/g:S/o/O/} ${PREFIX}/bin
-.if !defined(NOPORTDOCS)
+.if ${PORT_OPTIONS:MDOCS}
${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/readme.txt ${DOCSDIR}/README
${INSTALL_DATA} ${WRKSRC}/install.txt ${DOCSDIR}/INSTALL
diff --git a/games/fretsonfire/pkg-descr b/games/fretsonfire/pkg-descr
index b3e8d61f02b7..af0eee11e115 100644
--- a/games/fretsonfire/pkg-descr
+++ b/games/fretsonfire/pkg-descr
@@ -1,4 +1,4 @@
Frets on Fire is a game of musical skill and fast fingers. The aim of the game
is to play guitar with the keyboard as accurately as possible.
-WWW: http://louhi.kempele.fi/~skyostil/uv/fretsonfire/
+WWW: http://fretsonfire.sf.net