svn commit: r339907 - head/games/lostfeathers
Rusmir Dusko
nemysis at FreeBSD.org
Thu Jan 16 12:46:14 UTC 2014
Author: nemysis
Date: Thu Jan 16 12:46:13 2014
New Revision: 339907
URL: http://svnweb.freebsd.org/changeset/ports/339907
QAT: https://qat.redports.org/buildarchive/r339907/
Log:
- Change master sites
- Change license BSD to BSD3CLAUSE
- Set PORTSCOUT
- Change Desktop entry file
- Fix the usage of 'python' to get rid of the implicit lang/python dependency
- Install missing *.pyc *.pyo, add to pkg-plist
- Break lines around 80 characters
Modified:
head/games/lostfeathers/Makefile
head/games/lostfeathers/pkg-plist (contents, props changed)
Modified: head/games/lostfeathers/Makefile
==============================================================================
--- head/games/lostfeathers/Makefile Thu Jan 16 10:44:21 2014 (r339906)
+++ head/games/lostfeathers/Makefile Thu Jan 16 12:46:13 2014 (r339907)
@@ -5,7 +5,7 @@ PORTNAME= lostfeathers
PORTVERSION= 1.0b
CATEGORIES= games
MASTER_SITES= GOOGLE_CODE \
- SF/nemysisfreebsdp/:icons
+ SF/nemysisfreebsdp/${CATEGORIES}/${PORTNAME}/:icons
DISTFILES= ${PORTNAME}-${DISTVERSION}${EXTRACT_SUFX} \
${PORTNAME}.png:icons
DIST_SUBDIR= python
@@ -14,7 +14,7 @@ EXTRACT_ONLY= ${PORTNAME}-${DISTVERSION}
MAINTAINER= nemysis at FreeBSD.org
COMMENT= Help a bird to recover his magical feathers
-LICENSE= BSD
+LICENSE= BSD3CLAUSE
RUN_DEPENDS= avbin>=0:${PORTSDIR}/multimedia/avbin
@@ -24,12 +24,19 @@ USE_PYTHON= yes
PORTDOCS= README.txt
+OPTIONS_DEFINE= DOCS
+
+# Wrong versioning upstream
+PORTSCOUT= skipv:1.0
+
SUB_FILES= ${PORTNAME}
-DESKTOP_ENTRIES="The Lost Feathers" "${COMMENT}" "${PORTNAME}" \
- "${PORTNAME}" "Game;ArcadeGame;" false
+DESKTOP_ENTRIES="The Lost Feathers" "" "${PORTNAME}" \
+ "${PORTNAME}" "Game;ArcadeGame;" ""
-OPTIONS_DEFINE= DOCS
+post-patch:
+ @${REINPLACE_CMD} -e 's|/usr/bin/env python|${PYTHON_CMD}|' \
+ ${WRKSRC}/run_game.py
do-build:
@${PYTHON_CMD} -m compileall ${WRKSRC}
@@ -41,9 +48,13 @@ do-install:
.for d in cocos data gamelib pyglet
@(cd ${WRKSRC} && ${COPYTREE_SHARE} ${d} ${STAGEDIR}${DATADIR})
.endfor
- ${INSTALL_SCRIPT} ${WRKSRC}/run_game.py ${STAGEDIR}${DATADIR}
- ${INSTALL_DATA} ${_DISTDIR}/${PORTNAME}.png ${STAGEDIR}${PREFIX}/share/pixmaps/
+.for f in *.py *.pyc *.pyo
+ ${INSTALL_SCRIPT} ${WRKSRC}/${f} ${STAGEDIR}${DATADIR}
+.endfor
+
+ ${INSTALL_DATA} ${_DISTDIR}/${PORTNAME}.png \
+ ${STAGEDIR}${PREFIX}/share/pixmaps/
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
Modified: head/games/lostfeathers/pkg-plist
==============================================================================
--- head/games/lostfeathers/pkg-plist Thu Jan 16 10:44:21 2014 (r339906)
+++ head/games/lostfeathers/pkg-plist Thu Jan 16 12:46:13 2014 (r339907)
@@ -492,6 +492,8 @@ bin/lostfeathers
%%DATADIR%%/pyglet/window/xlib/xsync.pyc
%%DATADIR%%/pyglet/window/xlib/xsync.pyo
%%DATADIR%%/run_game.py
+%%DATADIR%%/run_game.pyc
+%%DATADIR%%/run_game.pyo
share/pixmaps/lostfeathers.png
@dirrm %%DATADIR%%/pyglet/window/xlib
@dirrm %%DATADIR%%/pyglet/window/win32
More information about the svn-ports-all
mailing list