Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 5 Aug 2019 11:28:38 +0000 (UTC)
From:      Max Brazhnikov <makc@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r508163 - head/games/slune
Message-ID:  <201908051128.x75BSck3069041@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: makc
Date: Mon Aug  5 11:28:37 2019
New Revision: 508163
URL: https://svnweb.freebsd.org/changeset/ports/508163

Log:
  games/slune:
  - Update MASTER_SITES to fix fetch
  - Update to 1.0.16
  - Install man page
  - Install main script to PREFIX/bin otherwise the game is not playable
  - Rephase COMMENT

Modified:
  head/games/slune/Makefile
  head/games/slune/distinfo

Modified: head/games/slune/Makefile
==============================================================================
--- head/games/slune/Makefile	Mon Aug  5 11:15:41 2019	(r508162)
+++ head/games/slune/Makefile	Mon Aug  5 11:28:37 2019	(r508163)
@@ -2,26 +2,24 @@
 # $FreeBSD$
 
 PORTNAME=	slune
-PORTVERSION=	1.0.15
-PORTREVISION=	9
+PORTVERSION=	1.0.16
 CATEGORIES=	games python
-MASTER_SITES=	http://download.gna.org/slune/
+MASTER_SITES=	CHEESESHOP
 DISTNAME=	Slune-${PORTVERSION}
 
 MAINTAINER=	ports@FreeBSD.org
-COMMENT=	3D game. includes racing, car-crashing, and lots of action
+COMMENT=	3D racing game with car-crashing and lots of action
 
 LICENSE=	GPLv2
 
-BROKEN=		unfetchable
-
 LIB_DEPENDS=	libcal3d.so:graphics/cal3d
 RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}openal>0:audio/py-openal@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}vorbis>0:audio/py-vorbis@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}soya3d>0:graphics/py-soya3d@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}py2play>0:net-p2p/py-py2play@${PY_FLAVOR}
 
-USES=		dos2unix gettext python:2.7 tar:bzip2
+USES=		dos2unix gettext python:2.7
+
 DOS2UNIX_GLOB=	*.po *.mo
 USE_GL=		glew
 USE_SDL=	sdl mixer
@@ -30,6 +28,8 @@ USE_PYTHON=	autoplist distutils
 PYDISTUTILS_PKGNAME=	Slune
 PYDISTUTILS_EGGINFODIR=	${PREFIX}/share
 
+PLIST_FILES=	man/man6/slune.6.gz
+
 PORTDOCS=	README
 
 DESKTOP_ENTRIES=	"Slune" \
@@ -42,24 +42,24 @@ DESKTOP_ENTRIES=	"Slune" \
 OPTIONS_DEFINE=	DOCS
 
 post-extract:
-.for FILE in slune.po.orig slune.po.rej
-	@${RM} ${WRKSRC}/locale/es/LC_MESSAGES/${FILE}
-.endfor
+	${RM} ${WRKSRC}/locale/es/LC_MESSAGES/slune.po.*
+	${RM} ${WRKSRC}/locale/sl/LC_MESSAGES/slune.sl.*
+	${RM} ${WRKSRC}/locale/sl/LC_MESSAGES/slune2.*
+	${RM} ${WRKSRC}/locale/sl/LC_MESSAGES/slune.po-0
 
-.for FILE in slune.po-0 slune.sl.mo slune.sl.po slune2.mo slune2.po
-	@${RM} ${WRKSRC}/locale/sl/LC_MESSAGES/${FILE}
-.endfor
-
 post-patch:
 	@${REINPLACE_CMD} -e \
 		'/install-purelib/s|=.*|= ${PREFIX}/share| ; \
-		 /install-scripts/s|=.*|= ${PREFIX}/lib| ; \
+		 /install-scripts/s|=.*|= ${PREFIX}/bin| ; \
 		 /install-data/s|=.*|= ${PREFIX}/share|' ${WRKSRC}/setup.cfg
 	@${REINPLACE_CMD} -e \
 		'/LC_MESSAGES/s|".",||' ${WRKSRC}/setup.py
+	@${REINPLACE_CMD} -e \
+		'/VERSION/s,1.0.15,${PORTVERSION},' ${WRKSRC}/globdef.py
 
 post-install:
 	@${MKDIR} ${STAGEDIR}${DOCSDIR}
 	(cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR})
+	${INSTALL_MAN} ${WRKSRC}/manpage/man6/slune.6 ${STAGEDIR}${MANPREFIX}/man/man6
 
 .include <bsd.port.mk>

Modified: head/games/slune/distinfo
==============================================================================
--- head/games/slune/distinfo	Mon Aug  5 11:15:41 2019	(r508162)
+++ head/games/slune/distinfo	Mon Aug  5 11:28:37 2019	(r508163)
@@ -1,2 +1,3 @@
-SHA256 (Slune-1.0.15.tar.bz2) = a982f1af18937a3429cee82cff9315838f508dfb71116ba08519cdfa6ed4dfa4
-SIZE (Slune-1.0.15.tar.bz2) = 9549694
+TIMESTAMP = 1564997482
+SHA256 (Slune-1.0.16.tar.gz) = 3b12ed467b168cafa64d717e177608d401e8a06447f082ad820e7fb5c3c03e15
+SIZE (Slune-1.0.16.tar.gz) = 45470566



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