mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-19 00:13:33 +00:00
fefe69f35a
Approved by: portmgr (blanket)
40 lines
1.0 KiB
Makefile
40 lines
1.0 KiB
Makefile
PORTNAME= sdlroids
|
|
DISTVERSION= 1.3.4
|
|
PORTREVISION= 20
|
|
CATEGORIES= games
|
|
MASTER_SITES= SF \
|
|
SF/nemysisfreebsdp/${CATEGORIES}/:icons
|
|
DISTFILES= ${PORTNAME}-${DISTVERSION}${EXTRACT_SUFX} \
|
|
${PORTNAME}.png:icons
|
|
DIST_SUBDIR= ${PORTNAME}
|
|
EXTRACT_ONLY= ${PORTNAME}-${DISTVERSION}${EXTRACT_SUFX}
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= Enhanced shoot-the-asteroids game
|
|
WWW= https://sourceforge.net/projects/sdlroids/
|
|
|
|
LICENSE= GPLv2
|
|
LICENSE_FILE= ${WRKSRC}/COPYING
|
|
|
|
USES= gmake sdl tar:bzip2
|
|
GNU_CONFIGURE= yes
|
|
GNU_CONFIGURE_MANPREFIX=${PREFIX}/share
|
|
CONFIGURE_ARGS= --datadir=${PREFIX}/share
|
|
USE_CSTD= gnu89
|
|
USE_SDL= mixer sdl
|
|
|
|
PORTDOCS= ChangeLog README README.orig README.petopt README.xhyperoid
|
|
OPTIONS_DEFINE= DOCS
|
|
|
|
DESKTOP_ENTRIES="SDLRoids" "" "${PORTNAME}" \
|
|
"${PORTNAME} -n 2" "Game;ArcadeGame;" ""
|
|
|
|
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>
|