aboutsummaryrefslogtreecommitdiff
path: root/games/vectoroids/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'games/vectoroids/Makefile')
-rw-r--r--games/vectoroids/Makefile29
1 files changed, 15 insertions, 14 deletions
diff --git a/games/vectoroids/Makefile b/games/vectoroids/Makefile
index 07e5aa222dcc..3b246f9e0d96 100644
--- a/games/vectoroids/Makefile
+++ b/games/vectoroids/Makefile
@@ -7,30 +7,31 @@
PORTNAME= vectoroids
PORTVERSION= 1.1.0
+PORTREVISION= 1
CATEGORIES= games
-MASTER_SITES= ftp://ftp.sonic.net/pub/users/nbs/unix/x/vectoroids/
+MASTER_SITES= ftp://ftp.sonic.net/pub/users/nbs/unix/x/vectoroids/src/
MAINTAINER= ports@FreeBSD.org
-COMMENT= "vector-based, pretty, Asteroids clone"
+COMMENT= A vector-based, pretty, Asteroids clone
-LIB_DEPENDS= SDL-1.1.5:${PORTSDIR}/devel/sdl12 \
- SDL_mixer.2:${PORTSDIR}/audio/sdl_mixer \
+LIB_DEPENDS= SDL_mixer.2:${PORTSDIR}/audio/sdl_mixer \
SDL_image.10:${PORTSDIR}/graphics/sdl_image
-USE_X_PREFIX= YES
-USE_GMAKE= YES
+USE_X_PREFIX= yes
+USE_SDL= yes
+USE_GMAKE= yes
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/vectoroids ${PREFIX}/bin
- ${MKDIR} ${PREFIX}/share/vectoroids/images
- ${INSTALL_DATA} ${WRKSRC}/data/images/* ${PREFIX}/share/vectoroids/images
- ${MKDIR} ${PREFIX}/share/vectoroids/music
- ${INSTALL_DATA} ${WRKSRC}/data/music/* ${PREFIX}/share/vectoroids/music
- ${MKDIR} ${PREFIX}/share/vectoroids/sounds
- ${INSTALL_DATA} ${WRKSRC}/data/sounds/* ${PREFIX}/share/vectoroids/sounds
+ @${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} ${PREFIX}/share/doc/vectoroids
- ${INSTALL_DATA} ${WRKSRC}/README.txt ${PREFIX}/share/doc/vectoroids/README
+ @${MKDIR} ${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/README.txt ${DOCSDIR}/README
.endif
.include <bsd.port.mk>