freebsd-ports/games/starfighter/Makefile
Steve Wills 878406604d games/starfighter: Update to 2.0.0.2
PR:		239772
Submitted by:	Alfonso S. Siciliano <alfix86@gmail.com> (maintainer)
2019-09-02 21:43:54 +00:00

42 lines
1,001 B
Makefile

# Created by: Alejandro Pulver <alejandro@varnet.biz>
# $FreeBSD$
PORTNAME= starfighter
PORTVERSION= 2.0.0.2
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
LICENSE= GPLv3+
LICENSE_FILE= ${WRKSRC}/COPYING
USES= autoreconf dos2unix gnome iconv pkgconfig sdl
USE_SDL= image2 mixer2 ttf2
USE_GITHUB= yes
GH_ACCOUNT= pr-starfighter
GNU_CONFIGURE= yes
DOS2UNIX_GLOB= *.txt
OPTIONS_DEFINE= DOCS
INSTALLS_ICONS= yes
ICON_SIZES= 16x16 32x32 48x48 64x64 72x72 96x96 128x128
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
.include <bsd.port.mk>