aboutsummaryrefslogtreecommitdiff
path: root/games/fretsonfire
diff options
context:
space:
mode:
authorJason E. Hale <jhale@FreeBSD.org>2014-06-25 12:56:21 +0000
committerJason E. Hale <jhale@FreeBSD.org>2014-06-25 12:56:21 +0000
commit688f3ac046ed55a2e09cd192696b9a7694c3ca63 (patch)
tree4162d0e56c85bc0c344fd8b3b7d12034f372f73f /games/fretsonfire
parent66ee105a30e3e320a2f35266d2395b15d2e919e5 (diff)
downloadports-688f3ac046ed55a2e09cd192696b9a7694c3ca63.tar.gz
ports-688f3ac046ed55a2e09cd192696b9a7694c3ca63.zip
Notes
Diffstat (limited to 'games/fretsonfire')
-rw-r--r--games/fretsonfire/Makefile30
-rw-r--r--games/fretsonfire/pkg-descr2
2 files changed, 13 insertions, 19 deletions
diff --git a/games/fretsonfire/Makefile b/games/fretsonfire/Makefile
index 58d5d79b3c6f..4849e2bdc7dd 100644
--- a/games/fretsonfire/Makefile
+++ b/games/fretsonfire/Makefile
@@ -3,7 +3,7 @@
PORTNAME= fretsonfire
PORTVERSION= 1.3.110
-PORTREVISION= 5
+PORTREVISION= 6
CATEGORIES= games python
MASTER_SITES= SF
DISTNAME= ${PORTNAME:S/f/F/g:S/o/O/}-${PORTVERSION}
@@ -31,26 +31,20 @@ WRKSRC= "${WRKDIR}/Frets on Fire-${PORTVERSION}"
FOF_DIR= ${PREFIX}/lib/${PORTNAME}
-NO_STAGE= yes
-.include <bsd.port.pre.mk>
+OPTIONS_DEFINE= DOCS
do-install:
- ${MKDIR} ${FOF_DIR}/${PORTNAME:S/f/F/g:S/o/O/}
+ @${MKDIR} ${STAGEDIR}${FOF_DIR}/${PORTNAME:S/f/F/g:S/o/O/}
@cd ${WRKSRC}/src && \
- ${FIND} * -type d -exec ${MKDIR} "${FOF_DIR}/${PORTNAME:S/f/F/g:S/o/O/}/{}" \; && \
- ${FIND} -E * -type f -iregex ".*\.(py)" -exec ${INSTALL_DATA} "{}" "${FOF_DIR}/${PORTNAME:S/f/F/g:S/o/O/}/{}" \;
+ ${FIND} * -type d -exec ${MKDIR} "${STAGEDIR}${FOF_DIR}/${PORTNAME:S/f/F/g:S/o/O/}/{}" \; && \
+ ${FIND} -E * -type f -iregex ".*\.(py)" -exec ${INSTALL_DATA} "{}" "${STAGEDIR}${FOF_DIR}/${PORTNAME:S/f/F/g:S/o/O/}/{}" \;
- ${MKDIR} ${FOF_DIR}/data
- ${LN} -s ${LOCALBASE}/${DATADIR}/* ${FOF_DIR}/data
- ${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME:S/f/F/g:S/o/O/} ${PREFIX}/bin
+ @${MKDIR} ${STAGEDIR}${FOF_DIR}/data
+ ${LN} -s ${LOCALBASE}/${DATADIR}/* ${STAGEDIR}${FOF_DIR}/data
+ ${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME:S/f/F/g:S/o/O/} ${STAGEDIR}${PREFIX}/bin
-.if ${PORT_OPTIONS:MDOCS}
- ${MKDIR} ${DOCSDIR}
- ${INSTALL_DATA} ${WRKSRC}/readme.txt ${DOCSDIR}/README
- ${INSTALL_DATA} ${WRKSRC}/install.txt ${DOCSDIR}/INSTALL
-.endif
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/readme.txt ${STAGEDIR}${DOCSDIR}/README
+ ${INSTALL_DATA} ${WRKSRC}/install.txt ${STAGEDIR}${DOCSDIR}/INSTALL
-post-install:
- @${CAT} ${PKGMESSAGE}
-
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/games/fretsonfire/pkg-descr b/games/fretsonfire/pkg-descr
index af0eee11e115..c8c09794eaf8 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://fretsonfire.sf.net
+WWW: http://fretsonfire.sf.net