aboutsummaryrefslogtreecommitdiff
path: root/games/fretsonfire/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'games/fretsonfire/Makefile')
-rw-r--r--games/fretsonfire/Makefile22
1 files changed, 11 insertions, 11 deletions
diff --git a/games/fretsonfire/Makefile b/games/fretsonfire/Makefile
index 662d74bf79b8..23baf32dac06 100644
--- a/games/fretsonfire/Makefile
+++ b/games/fretsonfire/Makefile
@@ -6,30 +6,32 @@
#
PORTNAME= fretsonfire
-PORTVERSION= 1.2.451
-PORTREVISION= 2
+PORTVERSION= 1.3.110
CATEGORIES= games python
MASTER_SITES= SF
-DISTNAME= ${PORTNAME:S/f/F/g:S/o/O/}-${PORTVERSION:S/^/src-/}
+DISTNAME= ${PORTNAME:S/f/F/g:S/o/O/}-${PORTVERSION}
DIST_SUBDIR= ${PORTNAME}
MAINTAINER= acm@FreeBSD.org
COMMENT= A game of musical skill and fast fingers
-RUN_DEPENDS= ${PYTHON_SITELIBDIR}/Numeric/_numpy.so:${PORTSDIR}/math/py-numeric \
+RUN_DEPENDS= ${PYTHON_SITELIBDIR}/numpy/core/numeric.py:${PORTSDIR}/math/py-numpy \
${PYTHON_SITELIBDIR}/pygame/__init__.py:${PORTSDIR}/devel/py-game \
${PYTHON_SITELIBDIR}/OpenGL/__init__.py:${PORTSDIR}/graphics/py-opengl \
- ${PYTHON_SITELIBDIR}/amanith.py:${PORTSDIR}/graphics/py-amanith \
${PYTHON_SITELIBDIR}/PIL/__init__.py:${PORTSDIR}/graphics/py-imaging \
- ${PYTHON_SITELIBDIR}/glew/__init__.py:${PORTSDIR}/graphics/py-glewpy \
${LOCALBASE}/share/${PORTNAME}/default.ttf:${PORTSDIR}/games/fretsonfire-data
USE_PYTHON= yes
+USE_DOS2UNIX= *.txt
NO_BUILD= yes
+
DATADIR= share/${PORTNAME}
-FOF_DIR= ${PREFIX}/lib/${PORTNAME}
+EXTRACT_AFTER_ARGS= | ${TAR} -xf - --exclude 'data'
SUB_FILES= pkg-message FretsOnFire
SUB_LIST= PROGRAM_DIR="${FOF_DIR}/${PORTNAME:S/f/F/g:S/o/O/}"
+WRKSRC= "${WRKDIR}/Frets on Fire-${PORTVERSION}"
+
+FOF_DIR= ${PREFIX}/lib/${PORTNAME}
.include <bsd.port.pre.mk>
@@ -48,15 +50,13 @@ do-install:
${FIND} -E * -type f -iregex ".*\.(py)" -exec ${INSTALL_DATA} "{}" "${FOF_DIR}/${PORTNAME:S/f/F/g:S/o/O/}/{}" \;
${MKDIR} ${FOF_DIR}/data
- ${LN} -s ${PREFIX}/${DATADIR}/* ${FOF_DIR}/data
+ ${LN} -s ${LOCALBASE}/${DATADIR}/* ${FOF_DIR}/data
${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME:S/f/F/g:S/o/O/} ${PREFIX}/bin
.if !defined(NOPORTDOCS)
${MKDIR} ${DOCSDIR}
- @cd ${WRKSRC}/doc && \
- ${FIND} * -type d -exec ${MKDIR} "${DOCSDIR}/{}" \; && \
- ${FIND} * -type f -exec ${INSTALL_DATA} "{}" "${DOCSDIR}/{}" \;
${INSTALL_DATA} ${WRKSRC}/readme.txt ${DOCSDIR}/README
+ ${INSTALL_DATA} ${WRKSRC}/install.txt ${DOCSDIR}/INSTALL
.endif
post-install: