2003-06-27 11:11:21 +02:00
|
|
|
# New ports collection makefile for: vectoroids
|
|
|
|
# Date created: 27 June 2003
|
|
|
|
# Whom: Kris Kennaway <kris@FreeBSD.org>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= vectoroids
|
|
|
|
PORTVERSION= 1.1.0
|
2003-08-27 21:10:39 +02:00
|
|
|
PORTREVISION= 1
|
2003-06-27 11:11:21 +02:00
|
|
|
CATEGORIES= games
|
2003-08-27 21:10:39 +02:00
|
|
|
MASTER_SITES= ftp://ftp.sonic.net/pub/users/nbs/unix/x/vectoroids/src/
|
2003-06-27 11:11:21 +02:00
|
|
|
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2003-08-27 21:10:39 +02:00
|
|
|
COMMENT= A vector-based, pretty, Asteroids clone
|
2003-06-27 11:11:21 +02:00
|
|
|
|
2003-08-27 21:10:39 +02:00
|
|
|
LIB_DEPENDS= SDL_mixer.2:${PORTSDIR}/audio/sdl_mixer \
|
2003-06-27 11:11:21 +02:00
|
|
|
SDL_image.10:${PORTSDIR}/graphics/sdl_image
|
|
|
|
|
2003-08-27 21:10:39 +02:00
|
|
|
USE_X_PREFIX= yes
|
|
|
|
USE_SDL= yes
|
|
|
|
USE_GMAKE= yes
|
2003-06-27 11:11:21 +02:00
|
|
|
|
|
|
|
do-install:
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/vectoroids ${PREFIX}/bin
|
2003-08-27 21:10:39 +02:00
|
|
|
@${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
|
2003-06-27 11:11:21 +02:00
|
|
|
.if !defined(NOPORTDOCS)
|
2003-08-27 21:10:39 +02:00
|
|
|
@${MKDIR} ${DOCSDIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/README.txt ${DOCSDIR}/README
|
2003-06-27 11:11:21 +02:00
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|