1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-23 00:43:28 +00:00
freebsd-ports/games/vectoroids/Makefile
Rusmir Dusko f5c3d25ee3 - Bump PORTREVISION
- USES gmake instead of USE_GMAKE
- Use pkg-plist instead of PLIST_FILES and PORTDATA
- Add Desktop entry file
- Support STAGEDIR
- Remove unnecessary .xvpics
- Break lines around 80 characters
- Symlink the icon instead of copying it
- Simplify Makefile

Approved by:	pawel / wg (mentors, implicit)
2013-12-23 10:01:16 +00:00

42 lines
1.1 KiB
Makefile

# Created by: Kris Kennaway <kris@FreeBSD.org>
# $FreeBSD$
PORTNAME= vectoroids
PORTVERSION= 1.1.0
PORTREVISION= 15
CATEGORIES= games
MASTER_SITES= ftp://ftp.tuxpaint.org/unix/x/vectoroids/src/ \
ftp://ftp.billsgames.com/unix/x/vectoroids/src/
MAINTAINER= nemysis@FreeBSD.org
COMMENT= Vector-based rock-shooting game similar to Asteroids
LICENSE= GPLv2
USES= gmake
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} -rf
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}${MAN6PREFIX}/man/man6/
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>