Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 2 Oct 2012 02:54:12 +0900
From:      KATO Tsuguru <tkato432@yahoo.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/172239: games/zephulor: Update MASTER_SITES
Message-ID:  <20121002025412.46334f6a228ef9bbb7488bda@yahoo.com>
Resent-Message-ID: <201210011810.q91IAB1p014361@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         172239
>Category:       ports
>Synopsis:       games/zephulor: Update MASTER_SITES
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Mon Oct 01 18:10:11 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     KATO Tsuguru
>Release:        FreeBSD 7.4-RELEASE-p10 i386
>Organization:
>Environment:
>Description:
- Update MASTER_SITES and WWW: line
- Add LICENSE
- Support USE_PYTHON_RUN
- Support COPYTREE_SHARE

>How-To-Repeat:
>Fix:

diff -urN /usr/ports/games/zephulor/Makefile games/zephulor/Makefile
--- /usr/ports/games/zephulor/Makefile	2011-02-27 13:54:37.000000000 +0900
+++ games/zephulor/Makefile	2012-09-27 14:20:34.000000000 +0900
@@ -9,18 +9,26 @@
 PORTVERSION=	1
 PORTREVISION=	3
 CATEGORIES=	games
-MASTER_SITES=	http://www.hollowworks.com/downloads/adventuresonplanetzephulor/files/
+MASTER_SITES=	SF/apz/apz/stable
 DISTNAME=	${PORTNAME}-source
 
 MAINTAINER=	ports@FreeBSD.org
 COMMENT=	Adventures on Planet Zephulor
 
-RUN_DEPENDS=	${PYTHON_SITELIBDIR}/pygame/__init__.py:${PORTSDIR}/devel/py-game \
-		${PYTHON_SITELIBDIR}/_tkinter.so:${PORTSDIR}/x11-toolkits/py-tkinter
+LICENSE=	GPLv2 LGPL20
+LICENSE_COMB=	multi
+
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}game>0:${PORTSDIR}/devel/py-game \
+		${PYTHON_PKGNAMEPREFIX}tkinter>0:${PORTSDIR}/x11-toolkits/py-tkinter
+
+OPTIONS_DEFINE=	DOCS
 
-USE_PYTHON=	yes
 NO_BUILD=	yes
 
+USE_PYTHON_RUN=	yes
+
+.include <bsd.port.options.mk>
+
 post-patch:
 # Fix path to python interpreter
 	@${REINPLACE_CMD} -e 's|#!.*python|#!${PYTHON_CMD}|' \
@@ -50,7 +58,7 @@
 .endfor
 
 # Documentation
-.if !defined(NOPORTDOCS)
+.if ${PORT_OPTIONS:MDOCS}
 	${MKDIR} ${DOCSDIR}
 .	for f in README manual readme-chared readme-maploadtool \
 		readme-scnloadtool
@@ -73,19 +81,12 @@
 .endfor
 
 # Documentation
-.if !defined(NOPORTDOCS)
+.if ${PORT_OPTIONS:MDOCS}
 	${MKDIR} ${DOCSDIR}/maptool
 	${INSTALL_DATA} ${WRKSRC}/maptool/manual.txt ${DOCSDIR}/maptool
 .endif
 
 # Data
-	${CP} -R ${WRKSRC}/data ${DATADIR}
-
-# Fix wrong permissions
-	${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${DATADIR}
-	${FIND} ${DATADIR}/data -type f -print0 | \
-		${XARGS} -0 ${CHMOD} ${SHAREMODE}
-	${FIND} ${DATADIR}/data -type d -print0 | \
-		${XARGS} -0 ${CHMOD} ${BINMODE}
+	@(cd ${WRKSRC} && ${COPYTREE_SHARE} data ${DATADIR})
 
 .include <bsd.port.mk>
diff -urN /usr/ports/games/zephulor/pkg-descr games/zephulor/pkg-descr
--- /usr/ports/games/zephulor/pkg-descr	2011-10-24 13:15:53.000000000 +0900
+++ games/zephulor/pkg-descr	2012-09-27 14:14:11.000000000 +0900
@@ -1,13 +1,14 @@
-The bulk of the game play involves finding power-ups and hidden areas and
-avoiding or squashing strange alien monsters bent on your destruction.
+The bulk of the game play involves finding power-ups and hidden areas
+and avoiding or squashing strange alien monsters bent on your
+destruction.
 
 There are a few hidden areas, and in several locations, the player will
 experience different levels based upon which path is chosen.
 
-There are no lives or continues in the game. If the player dies, he/she simply
-restarts at the beginning of the level. All creatures and power-ups are
-persistent in each level, in other words, if all but one enemy has been killed
-on a level when the player dies, there will only be that remaining creature as
-the player restarts.
+There are no lives or continues in the game. If the player dies, he/she
+simply restarts at the beginning of the level. All creatures and
+power-ups are persistent in each level, in other words, if all but one
+enemy has been killed on a level when the player dies, there will only
+be that remaining creature as the player restarts.
 
-WWW: http://games.hollowworks.com/
+WWW: http://www.hollowworks.com/apz/
>Release-Note:
>Audit-Trail:
>Unformatted:



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