Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 16 Jan 2014 12:46:13 +0000 (UTC)
From:      Rusmir Dusko <nemysis@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r339907 - head/games/lostfeathers
Message-ID:  <201401161246.s0GCkDe6092146@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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@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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201401161246.s0GCkDe6092146>