blob: c7cd76125ed9293b3280b0418a3b76cf85f08528 (
plain) (
blame)
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
|
# Created by: Kris Kennaway <kris@FreeBSD.org>
# $FreeBSD$
PORTNAME= vectoroids
PORTVERSION= 1.1.0
PORTREVISION= 17
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
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/COPYING.txt
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} -fr
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>
|