blob: 8de7883b38ab991a2b0791908395f85feb55b402 (
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
|
# New ports collection makefile for: randomshooter
# Date created: 27 Feb 2008
# Whom: Dmitry Marakasov <amdmi3@amdmi3.ru>
#
# $FreeBSD$
#
PORTNAME= randomshooter
DISTVERSION= 0.4-1
CATEGORIES= games
# original url: http://parallelrealities.co.uk/download.php?proj=randomShooter&file=${DISTNAME}&type=zip
MASTER_SITES= http://www.amdmi3.ru/distfiles/
DISTNAME= randomshooter-${DISTVERSION}
MAINTAINER= amdmi3@FreeBSD.org
COMMENT= A simple shoot'em up with online scoring and replays
USE_GMAKE= yes
USE_SDL= sdl mixer image ttf net
WRKSRC= ${WRKDIR}/${DISTNAME:S/-1$$//}
PORTDOCS= *
MAKEFILE= makefile
MAKE_ENV= DATADIR=${DATADIR}/
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
.for dir in font gfx help music
${MKDIR} ${DATADIR}/${dir}
${INSTALL_DATA} ${WRKSRC}/${dir}/* ${DATADIR}/${dir}
.endfor
.if !defined(NOPORTDOCS)
${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/help/help.txt ${DOCSDIR}
.endif
.include <bsd.port.mk>
|