aboutsummaryrefslogtreecommitdiff
path: root/games/fretsonfire/Makefile
diff options
context:
space:
mode:
authorJose Alonso Cardenas Marquez <acm@FreeBSD.org>2013-03-24 05:09:32 +0000
committerJose Alonso Cardenas Marquez <acm@FreeBSD.org>2013-03-24 05:09:32 +0000
commit165aeab54ba01bc74311d67ec56d1e0a1d8e7ae8 (patch)
tree249ca5c57a0100c002873a8d4aa3df0ad8b28294 /games/fretsonfire/Makefile
parent6f18026ee002ebefdf9f56d5fc31da15c88dc461 (diff)
downloadports-165aeab54ba01bc74311d67ec56d1e0a1d8e7ae8.tar.gz
ports-165aeab54ba01bc74311d67ec56d1e0a1d8e7ae8.zip
Notes
Diffstat (limited to 'games/fretsonfire/Makefile')
-rw-r--r--games/fretsonfire/Makefile14
1 files changed, 6 insertions, 8 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