View | Details | Raw Unified | Return to bug 253055
Collapse All | Expand All

(-)Makefile (-19 / +9 lines)
Lines 2-13 Link Here
2
# $FreeBSD$
2
# $FreeBSD$
3
3
4
PORTNAME=	starfighter
4
PORTNAME=	starfighter
5
PORTVERSION=	2.0.0.2
5
PORTVERSION=	2.4
6
DISTVERSIONPREFIX=	v
6
DISTVERSIONPREFIX=	v
7
CATEGORIES=	games
7
CATEGORIES=	games
8
MASTER_SITES=	SF/nemysisfreebsdp/${CATEGORIES}/${PORTNAME}/:icons
9
DISTFILES=	${PORTNAME}-icons${EXTRACT_SUFX}:icons
10
DIST_SUBDIR=	${PORTNAME}
11
8
12
MAINTAINER=	alfix86@gmail.com
9
MAINTAINER=	alfix86@gmail.com
13
COMMENT=	Liberate the universe from the evil company WEAPCO
10
COMMENT=	Liberate the universe from the evil company WEAPCO
Lines 15-43 Link Here
15
LICENSE=	GPLv3+
12
LICENSE=	GPLv3+
16
LICENSE_FILE=	${WRKSRC}/COPYING
13
LICENSE_FILE=	${WRKSRC}/COPYING
17
14
18
USES=		autoreconf dos2unix gnome iconv pkgconfig sdl
15
USES=		autoreconf gettext gnome iconv pkgconfig python:build sdl
19
USE_CSTD=	c99
16
USE_SDL=	sdl2 image2 mixer2 ttf2
20
USE_SDL=	image2 mixer2 ttf2
17
USE_GNOME=	pango
18
GNU_CONFIGURE=	yes
21
19
22
USE_GITHUB=	yes
20
USE_GITHUB=	yes
23
GH_ACCOUNT=	pr-starfighter
21
GH_ACCOUNT=	pr-starfighter
24
22
25
GNU_CONFIGURE=	yes
23
LDFLAGS+=	-L${LOCALBASE}/lib -lintl
26
24
27
DOS2UNIX_GLOB=	*.txt
28
29
OPTIONS_DEFINE=	DOCS
25
OPTIONS_DEFINE=	DOCS
30
26
31
INSTALLS_ICONS=	yes
27
pre-build:
32
ICON_SIZES=	16x16 32x32 48x48 64x64 72x72 96x96 128x128
28
	@cd ${WRKSRC}/locale && ${PYTHON_CMD} build.py
33
29
34
post-install:
30
post-install:
35
	${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
31
	@${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
36
32
37
.for s in ${ICON_SIZES}
38
	@${MKDIR} ${STAGEDIR}${PREFIX}/share/icons/hicolor/${s}/apps
39
	${INSTALL_DATA} ${WRKDIR}/${PORTNAME}_${s}.png \
40
		${STAGEDIR}${PREFIX}/share/icons/hicolor/${s}/apps/${PORTNAME}.png
41
.endfor
42
43
.include <bsd.port.mk>
33
.include <bsd.port.mk>
(-)distinfo (-5 / +3 lines)
Lines 1-5 Link Here
1
TIMESTAMP = 1565487894
1
TIMESTAMP = 1611786453
2
SHA256 (starfighter/starfighter-icons.tar.gz) = 34a0b92f6b9d256aa1f201a72c00306212921de4921f2a37969cad73222ad6fc
2
SHA256 (pr-starfighter-starfighter-v2.4_GH0.tar.gz) = d0757da7657253316053acf37dabf8e54607420d66a4d7cc2a9fc0d4b4d54074
3
SIZE (starfighter/starfighter-icons.tar.gz) = 38812
3
SIZE (pr-starfighter-starfighter-v2.4_GH0.tar.gz) = 50221089
4
SHA256 (starfighter/pr-starfighter-starfighter-v2.0.0.2_GH0.tar.gz) = 100562f2e12530ff4e360898ec5aace7f2c99806a9cba68d02466e82f8c1ae83
5
SIZE (starfighter/pr-starfighter-starfighter-v2.0.0.2_GH0.tar.gz) = 50152978
(-)pkg-plist (-7 / +6 lines)
Lines 1-15 Link Here
1
bin/starfighter
1
bin/starfighter
2
man/man6/starfighter.6.gz
2
share/applications/starfighter.desktop
3
share/applications/starfighter.desktop
3
%%PORTDOCS%%%%DOCSDIR%%/COPYING
4
%%PORTDOCS%%%%DOCSDIR%%/COPYING
4
%%PORTDOCS%%%%DOCSDIR%%/LICENSES
5
%%PORTDOCS%%%%DOCSDIR%%/LICENSES
5
%%PORTDOCS%%%%DOCSDIR%%/README.txt
6
%%PORTDOCS%%%%DOCSDIR%%/README.txt
6
share/icons/hicolor/128x128/apps/starfighter.png
7
share/icons/hicolor/16x16/apps/starfighter.png
8
share/icons/hicolor/32x32/apps/starfighter.png
9
share/icons/hicolor/48x48/apps/starfighter.png
10
share/icons/hicolor/64x64/apps/starfighter.png
11
share/icons/hicolor/72x72/apps/starfighter.png
12
share/icons/hicolor/96x96/apps/starfighter.png
13
share/pixmaps/starfighter.png
7
share/pixmaps/starfighter.png
14
%%DATADIR%%/data/TakaoPGothic.ttf
8
%%DATADIR%%/data/TakaoPGothic.ttf
15
%%DATADIR%%/data/credits.txt
9
%%DATADIR%%/data/credits.txt
Lines 205-211 Link Here
205
%%DATADIR%%/gfx/wingmate2.png
199
%%DATADIR%%/gfx/wingmate2.png
206
%%DATADIR%%/locale/build.py
200
%%DATADIR%%/locale/build.py
207
%%DATADIR%%/locale/en.po
201
%%DATADIR%%/locale/en.po
202
%%DATADIR%%/locale/en/LC_MESSAGES/pr-starfighter.mo
208
%%DATADIR%%/locale/genpot.sh
203
%%DATADIR%%/locale/genpot.sh
204
%%DATADIR%%/locale/ja.po
205
%%DATADIR%%/locale/ja/LC_MESSAGES/pr-starfighter.mo
206
%%DATADIR%%/locale/nl.po
207
%%DATADIR%%/locale/nl/LC_MESSAGES/pr-starfighter.mo
209
%%DATADIR%%/locale/pr-starfighter.pot
208
%%DATADIR%%/locale/pr-starfighter.pot
210
%%DATADIR%%/music/RE.ogg
209
%%DATADIR%%/music/RE.ogg
211
%%DATADIR%%/music/death.ogg
210
%%DATADIR%%/music/death.ogg

Return to bug 253055