aboutsummaryrefslogtreecommitdiff
path: root/games/starfighter
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2021-01-28 12:13:58 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2021-01-28 12:13:58 +0000
commitb5edb050acb44b3daee2d56bcb3433c4449f8b4e (patch)
tree27446a8ea57bb377b9d97ed5b5b8ea9838b3708a /games/starfighter
parentc221e1061159464a4e435eddf1b8c5c9af9b401e (diff)
downloadports-b5edb050acb44b3daee2d56bcb3433c4449f8b4e.tar.gz
ports-b5edb050acb44b3daee2d56bcb3433c4449f8b4e.zip
- Update to 2.4
- Simplify the port PR: 253055 Approved by: alfix86@gmail.com (maintainer)
Notes
Notes: svn path=/head/; revision=563128
Diffstat (limited to 'games/starfighter')
-rw-r--r--games/starfighter/Makefile28
-rw-r--r--games/starfighter/distinfo8
-rw-r--r--games/starfighter/pkg-plist13
3 files changed, 18 insertions, 31 deletions
diff --git a/games/starfighter/Makefile b/games/starfighter/Makefile
index 5920eb691432..39001a8743b8 100644
--- a/games/starfighter/Makefile
+++ b/games/starfighter/Makefile
@@ -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@gmail.com
COMMENT= Liberate the universe from the evil company WEAPCO
@@ -15,29 +12,22 @@ COMMENT= Liberate the universe from the evil company WEAPCO
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
-
-DOS2UNIX_GLOB= *.txt
+LDFLAGS+= -L${LOCALBASE}/lib -lintl
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>
diff --git a/games/starfighter/distinfo b/games/starfighter/distinfo
index 43ef77c7e994..1ace5762b582 100644
--- a/games/starfighter/distinfo
+++ b/games/starfighter/distinfo
@@ -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
diff --git a/games/starfighter/pkg-plist b/games/starfighter/pkg-plist
index a390a0eaf182..2820f7a14060 100644
--- a/games/starfighter/pkg-plist
+++ b/games/starfighter/pkg-plist
@@ -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