1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-27 10:03:20 +00:00
freebsd-ports/games/xgalaga-sdl/Makefile
Marcus von Appen 74c65ae602 - Update graphics/sdl_gfx to version 2.0.25
- Bump PORTREVISION on ports depending on it, since the shlib version changed
2014-06-01 08:11:34 +00:00

47 lines
1.1 KiB
Makefile

# Created by: Rusmir Dusko <nemysis@FreeBSD.org>
# $FreeBSD$
PORTNAME= xgalaga-sdl
PORTVERSION= 2.1.1.0
PORTREVISION= 2
CATEGORIES= games
MASTER_SITES= SF/${PORTNAME}/ \
SF/nemysisfreebsdp/${CATEGORIES}/:icons
DISTFILES= ${PORTNAME}-${DISTVERSION}-sdl${EXTRACT_SUFX} \
${PORTNAME}.png:icons
EXTRACT_ONLY= ${PORTNAME}-${DISTVERSION}-sdl${EXTRACT_SUFX}
MAINTAINER= nemysis@FreeBSD.org
COMMENT= Classic single screen vertical shoot em up SDL
LICENSE= GPLv2
WRKSRC= ${WRKDIR}/${PORTNAME}-${DISTVERSION}-sdl
USES= tar:bzip2
USE_SDL= sdl gfx image mixer ttf
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --datadir=${DATADIR}
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
PORTDOCS= CREDITS README
OPTIONS_DEFINE= DOCS
DESKTOP_ENTRIES="XGalaga SDL" "" "${PORTNAME}" \
"${PORTNAME}" "Game;ArcadeGame;" ""
post-patch:
@${REINPLACE_CMD} -e 's|CREDITS||' \
-e 's|fonts/copyright||' \
${WRKSRC}/Makefile.in
post-install:
${INSTALL_DATA} ${_DISTDIR}/${PORTNAME}.png \
${STAGEDIR}${PREFIX}/share/pixmaps/
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>