openbsd-ports/games/vectoroids/Makefile
2010-11-16 11:23:25 +00:00

42 lines
1.2 KiB
Makefile
Executable File

# $OpenBSD: Makefile,v 1.12 2010/11/16 11:23:28 espie Exp $
COMMENT= vector-based, pretty, Asteroids clone
VERSION= 1.1.0
DISTNAME= vectoroids-${VERSION}
REVISION = 0
CATEGORIES= games x11
HOMEPAGE= http://www.newbreedsoftware.com/vectoroids/
# GPL
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
WANTLIB= X11 Xext c m pthread pthread-stubs usbhid xcb \
SDL SDL_mixer SDL_image
MASTER_SITES= ftp://ftp.billsgames.com/unix/x/vectoroids/src/
LIB_DEPENDS= devel/sdl \
devel/sdl-mixer \
devel/sdl-image
USE_GMAKE= Yes
NO_REGRESS= Yes
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/vectoroids ${PREFIX}/bin
${INSTALL_DATA_DIR} ${PREFIX}/share/vectoroids/images
${INSTALL_DATA} ${WRKSRC}/data/images/* ${PREFIX}/share/vectoroids/images
${INSTALL_DATA_DIR} ${PREFIX}/share/vectoroids/music
${INSTALL_DATA} ${WRKSRC}/data/music/* ${PREFIX}/share/vectoroids/music
${INSTALL_DATA_DIR} ${PREFIX}/share/vectoroids/sounds
${INSTALL_DATA} ${WRKSRC}/data/sounds/* ${PREFIX}/share/vectoroids/sounds
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/vectoroids
${INSTALL_DATA} ${WRKSRC}/README.txt ${PREFIX}/share/doc/vectoroids/README
.include <bsd.port.mk>