svn commit: r563128 - head/games/starfighter

Dmitry Marakasov amdmi3 at FreeBSD.org
Thu Jan 28 12:13:59 UTC 2021


Author: amdmi3
Date: Thu Jan 28 12:13:58 2021
New Revision: 563128
URL: https://svnweb.freebsd.org/changeset/ports/563128

Log:
  - Update to 2.4
  - Simplify the port
  
  PR:		253055
  Approved by:	alfix86 at gmail.com (maintainer)

Modified:
  head/games/starfighter/Makefile
  head/games/starfighter/distinfo
  head/games/starfighter/pkg-plist

Modified: head/games/starfighter/Makefile
==============================================================================
--- head/games/starfighter/Makefile	Thu Jan 28 12:12:49 2021	(r563127)
+++ head/games/starfighter/Makefile	Thu Jan 28 12:13:58 2021	(r563128)
@@ -2,12 +2,9 @@
 # $FreeBSD$
 
 PORTNAME=	starfighter
-PORTVERSION=	2.0.0.2
+PORTVERSION=	2.4
 DISTVERSIONPREFIX=	v
 CATEGORIES=	games
-MASTER_SITES=	SF/nemysisfreebsdp/${CATEGORIES}/${PORTNAME}/:icons
-DISTFILES=	${PORTNAME}-icons${EXTRACT_SUFX}:icons
-DIST_SUBDIR=	${PORTNAME}
 
 MAINTAINER=	alfix86 at gmail.com
 COMMENT=	Liberate the universe from the evil company WEAPCO
@@ -15,29 +12,22 @@ COMMENT=	Liberate the universe from the evil company W
 LICENSE=	GPLv3+
 LICENSE_FILE=	${WRKSRC}/COPYING
 
-USES=		autoreconf dos2unix gnome iconv pkgconfig sdl
-USE_CSTD=	c99
-USE_SDL=	image2 mixer2 ttf2
+USES=		autoreconf gettext gnome iconv pkgconfig python:build sdl
+USE_SDL=	sdl2 image2 mixer2 ttf2
+USE_GNOME=	pango
+GNU_CONFIGURE=	yes
 
 USE_GITHUB=	yes
 GH_ACCOUNT=	pr-starfighter
 
-GNU_CONFIGURE=	yes
+LDFLAGS+=	-L${LOCALBASE}/lib -lintl
 
-DOS2UNIX_GLOB=	*.txt
-
 OPTIONS_DEFINE=	DOCS
 
-INSTALLS_ICONS=	yes
-ICON_SIZES=	16x16 32x32 48x48 64x64 72x72 96x96 128x128
+pre-build:
+	@cd ${WRKSRC}/locale && ${PYTHON_CMD} build.py
 
 post-install:
-	${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
-
-.for s in ${ICON_SIZES}
-	@${MKDIR} ${STAGEDIR}${PREFIX}/share/icons/hicolor/${s}/apps
-	${INSTALL_DATA} ${WRKDIR}/${PORTNAME}_${s}.png \
-		${STAGEDIR}${PREFIX}/share/icons/hicolor/${s}/apps/${PORTNAME}.png
-.endfor
+	@${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
 
 .include <bsd.port.mk>

Modified: head/games/starfighter/distinfo
==============================================================================
--- head/games/starfighter/distinfo	Thu Jan 28 12:12:49 2021	(r563127)
+++ head/games/starfighter/distinfo	Thu Jan 28 12:13:58 2021	(r563128)
@@ -1,5 +1,3 @@
-TIMESTAMP = 1565487894
-SHA256 (starfighter/starfighter-icons.tar.gz) = 34a0b92f6b9d256aa1f201a72c00306212921de4921f2a37969cad73222ad6fc
-SIZE (starfighter/starfighter-icons.tar.gz) = 38812
-SHA256 (starfighter/pr-starfighter-starfighter-v2.0.0.2_GH0.tar.gz) = 100562f2e12530ff4e360898ec5aace7f2c99806a9cba68d02466e82f8c1ae83
-SIZE (starfighter/pr-starfighter-starfighter-v2.0.0.2_GH0.tar.gz) = 50152978
+TIMESTAMP = 1611786453
+SHA256 (pr-starfighter-starfighter-v2.4_GH0.tar.gz) = d0757da7657253316053acf37dabf8e54607420d66a4d7cc2a9fc0d4b4d54074
+SIZE (pr-starfighter-starfighter-v2.4_GH0.tar.gz) = 50221089

Modified: head/games/starfighter/pkg-plist
==============================================================================
--- head/games/starfighter/pkg-plist	Thu Jan 28 12:12:49 2021	(r563127)
+++ head/games/starfighter/pkg-plist	Thu Jan 28 12:13:58 2021	(r563128)
@@ -1,15 +1,9 @@
 bin/starfighter
+man/man6/starfighter.6.gz
 share/applications/starfighter.desktop
 %%PORTDOCS%%%%DOCSDIR%%/COPYING
 %%PORTDOCS%%%%DOCSDIR%%/LICENSES
 %%PORTDOCS%%%%DOCSDIR%%/README.txt
-share/icons/hicolor/128x128/apps/starfighter.png
-share/icons/hicolor/16x16/apps/starfighter.png
-share/icons/hicolor/32x32/apps/starfighter.png
-share/icons/hicolor/48x48/apps/starfighter.png
-share/icons/hicolor/64x64/apps/starfighter.png
-share/icons/hicolor/72x72/apps/starfighter.png
-share/icons/hicolor/96x96/apps/starfighter.png
 share/pixmaps/starfighter.png
 %%DATADIR%%/data/TakaoPGothic.ttf
 %%DATADIR%%/data/credits.txt
@@ -205,7 +199,12 @@ share/pixmaps/starfighter.png
 %%DATADIR%%/gfx/wingmate2.png
 %%DATADIR%%/locale/build.py
 %%DATADIR%%/locale/en.po
+%%DATADIR%%/locale/en/LC_MESSAGES/pr-starfighter.mo
 %%DATADIR%%/locale/genpot.sh
+%%DATADIR%%/locale/ja.po
+%%DATADIR%%/locale/ja/LC_MESSAGES/pr-starfighter.mo
+%%DATADIR%%/locale/nl.po
+%%DATADIR%%/locale/nl/LC_MESSAGES/pr-starfighter.mo
 %%DATADIR%%/locale/pr-starfighter.pot
 %%DATADIR%%/music/RE.ogg
 %%DATADIR%%/music/death.ogg


More information about the svn-ports-all mailing list