Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 17 Apr 2019 07:14:22 +0000 (UTC)
From:      Yuri Victorovich <yuri@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r499148 - in head/devel/py-game: . files
Message-ID:  <201904170714.x3H7EMBQ074932@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: yuri
Date: Wed Apr 17 07:14:22 2019
New Revision: 499148
URL: https://svnweb.freebsd.org/changeset/ports/499148

Log:
  devel/py-game: Update 1.9.1 -> 1.9.5; ndowens.fbsd@yandex.com takes maintainership
  
  The PR also contained the rename py-game -> py-pygame. I didn't rename it, IMO it isn't
  urgent, and can be done later if really needed. There are quite a few ports that have a
  similar name mismatch (missing "py" in the name).
  
  PR:		230115
  Submitted by:	Nathan <ndowens@yahoo.com> (new maintainer)

Deleted:
  head/devel/py-game/files/
  head/devel/py-game/pkg-plist
Modified:
  head/devel/py-game/Makefile
  head/devel/py-game/distinfo
  head/devel/py-game/pkg-descr

Modified: head/devel/py-game/Makefile
==============================================================================
--- head/devel/py-game/Makefile	Wed Apr 17 06:35:18 2019	(r499147)
+++ head/devel/py-game/Makefile	Wed Apr 17 07:14:22 2019	(r499148)
@@ -2,26 +2,29 @@
 # $FreeBSD$
 
 PORTNAME=	game
-PORTVERSION=	1.9.1
-PORTREVISION=	8
+DISTVERSION=	1.9.5
 CATEGORIES=	devel python
-MASTER_SITES=	https://www.pygame.org/ftp/
+MASTER_SITES=	CHEESESHOP
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
-DISTNAME=	py${PORTNAME}-${PORTVERSION}release
+DISTNAME=	py${PORTNAME}-${PORTVERSION}
 
-MAINTAINER=	ports@FreeBSD.org
+MAINTAINER=	ndowens.fbsd@yandex.com
 COMMENT=	Module designed to write games in Python
 
 LICENSE=	LGPL21
-LICENSE_FILE=	${WRKSRC}/LGPL
+LICENSE_FILE=	${WRKSRC}/docs/LGPL
 
-LIB_DEPENDS=	libsmpeg.so:multimedia/smpeg
-RUN_DEPENDS=	${PYNUMPY}
+BUILD_DEPENDS=	v4l_compat>0:multimedia/v4l_compat
+LIB_DEPENDS=	libfreetype.so:print/freetype2 \
+		libpng16.so:graphics/png \
+		libsmpeg.so:multimedia/smpeg
+RUN_DEPENDS=	${PYNUMPY} \
+		v4l_compat>0:multimedia/v4l_compat
 
-USES=		dos2unix python
-DOS2UNIX_FILES=	src/scale_mmx64.c
-USE_SDL=	ttf image mixer sdl
+USES=		jpeg python sdl
+USE_SDL=	ttf image mixer
 USE_PYTHON=	autoplist distutils
+USE_XORG=	x11
 
 SDLNOX11=	sdl-nox11-[0-9]*
 
@@ -30,30 +33,20 @@ EXAMPLESDIR=	${PREFIX}/share/examples/py-${PORTNAME}
 
 OPTIONS_DEFINE=	DOCS EXAMPLES
 
-post-patch:
-	@${REINPLACE_CMD} -e 's|^_camera|#_camera|' \
-		-e 's|^pypm|#pypm|' ${WRKSRC}/Setup.in
-	@${REINPLACE_CMD} -e "s|Dependency('PORT|#Dependency('PORT|" \
-		${WRKSRC}/config_unix.py
+PORTDOCS=	*
+PORTEXAMPLES=	*
 
-pre-configure:
-	@invalid=`${PKG_INFO} -I ${SDLNOX11:C/.+/'&'/} 2>/dev/null | ${AWK} '{print $$1}'`
-	@if [ ! -z "$$invalid" ]; then \
-		${ECHO_MSG} "${PKGNAME} is marked as broken: devel/sdl12 needs to be built with X11 support enabled."; \
-		exit 1; \
-	fi
-
-do-configure:
-	@cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${PYTHON_CMD} config.py -auto
-
 post-install-EXAMPLES-on:
 	@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
+
+#Remove Un-needed macosx files
+	@${RM} -r ${WRKSRC}/examples/macosx
 	${TAR} -C ${WRKSRC}/examples -cf - . | \
 		${TAR} --unlink -C ${STAGEDIR}${EXAMPLESDIR} -xf -
 
 post-install-DOCS-on:
 	@${MKDIR} ${STAGEDIR}${DOCSDIR}
 	${TAR} -C ${WRKSRC}/docs -cf - . | \
-		${TAR} --unlink -C ${STAGEDIR}${DOCSDIR} -xf -
+	${TAR} --unlink -C ${STAGEDIR}${DOCSDIR} -xf -
 
 .include <bsd.port.mk>

Modified: head/devel/py-game/distinfo
==============================================================================
--- head/devel/py-game/distinfo	Wed Apr 17 06:35:18 2019	(r499147)
+++ head/devel/py-game/distinfo	Wed Apr 17 07:14:22 2019	(r499148)
@@ -1,2 +1,3 @@
-SHA256 (pygame-1.9.1release.tar.gz) = a26095472ae4be9631e0d5bfb9a52ac57a3a091e45757913128e4a473807d433
-SIZE (pygame-1.9.1release.tar.gz) = 2134254
+TIMESTAMP = 1555484229
+SHA256 (pygame-1.9.5.tar.gz) = d15e7238015095a12c19379565a66285e989fdcb3807ec360b27338cd8bdaf05
+SIZE (pygame-1.9.5.tar.gz) = 3222909

Modified: head/devel/py-game/pkg-descr
==============================================================================
--- head/devel/py-game/pkg-descr	Wed Apr 17 06:35:18 2019	(r499147)
+++ head/devel/py-game/pkg-descr	Wed Apr 17 07:14:22 2019	(r499148)
@@ -4,4 +4,4 @@ Like SDL, pygame is highly portable and runs on nearly
 operating system. Millions of people have downloaded pygame itself, which is a
 whole lot of bits flying across the interwebs.
 
-WWW: https://www.pygame.org/
+WWW: https://www.pygame.org/news



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