blob: 99e4bb0b4b051fd32de6f3895e89e3f97241d95d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
|
PORTNAME= xgalaga-sdl
PORTVERSION= 2.1.1.0
PORTREVISION= 5
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= ports@FreeBSD.org
COMMENT= Classic single screen vertical shoot em up SDL
WWW= https://sourceforge.net/projects/xgalaga-sdl/
LICENSE= GPLv2+
LICENSE_FILE= ${WRKSRC}/COPYING
WRKSRC= ${WRKDIR}/${PORTNAME}-${DISTVERSION}-sdl
USES= localbase:ldflags sdl tar:bzip2
USE_SDL= sdl gfx image mixer ttf
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --datadir=${DATADIR}
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/
post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>
|