summaryrefslogtreecommitdiff
path: root/games/vectoroids/Makefile
blob: 1af95f17b4b15d1dcad13ca6cf0d5ea2b5c86449 (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
# New ports collection makefile for:	vectoroids
# Date created:				27 June 2003
# Whom:					Kris Kennaway <kris@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=	vectoroids
PORTVERSION=	1.1.0
PORTREVISION=	4
CATEGORIES=	games
MASTER_SITES=	ftp://ftp.billsgames.com/unix/x/vectoroids/src/

MAINTAINER=	ports@FreeBSD.org
COMMENT=	A vector-based, pretty, Asteroids clone

USE_X_PREFIX=	yes
USE_SDL=	image mixer sdl
USE_GMAKE=	yes

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/vectoroids ${PREFIX}/bin
	@${MKDIR} ${DATADIR}/images
	${INSTALL_DATA} ${WRKSRC}/data/images/* ${DATADIR}/images
	@${MKDIR} ${DATADIR}/music
	${INSTALL_DATA} ${WRKSRC}/data/music/* ${DATADIR}/music
	@${MKDIR} ${DATADIR}/sounds
	${INSTALL_DATA} ${WRKSRC}/data/sounds/* ${DATADIR}/sounds
.if !defined(NOPORTDOCS)
	@${MKDIR} ${DOCSDIR}
	${INSTALL_DATA} ${WRKSRC}/README.txt ${DOCSDIR}/README
.endif

.include <bsd.port.mk>