Files
ports/games/vectoroids/Makefile
2024-01-09 14:27:13 +01:00

39 lines
1.0 KiB
Makefile

PORTNAME= vectoroids
PORTVERSION= 1.1.0
PORTREVISION= 18
CATEGORIES= games
MASTER_SITES= ftp://ftp.tuxpaint.org/unix/x/vectoroids/src/
MAINTAINER= ports@FreeBSD.org
COMMENT= Vector-based rock-shooting game similar to Asteroids
WWW= http://www.newbreedsoftware.com/vectoroids/
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/COPYING.txt
USES= gmake sdl
USE_SDL= image mixer sdl
PORTDOCS= CHANGES.txt README.txt
OPTIONS_DEFINE= DOCS
DESKTOP_ENTRIES="Vectoroids" "" "${PORTNAME}" \
"${PORTNAME}" "Game;ArcadeGame;" ""
post-patch:
@${FIND} ${WRKDIR} -name .xvpics | ${XARGS} ${RM} -r
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/
.for d in images music sounds
@(cd ${WRKSRC}/data && ${COPYTREE_SHARE} ${d} ${STAGEDIR}${DATADIR})
.endfor
${LN} -sf ${DATADIR}/images/icon.png \
${STAGEDIR}${PREFIX}/share/pixmaps/${PORTNAME}.png
${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.6 ${STAGEDIR}${PREFIX}/share/man/man6/
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>