openbsd-ports/games/rocksndiamonds/Makefile
2008-09-07 07:54:04 +00:00

46 lines
1.0 KiB
Makefile

# $OpenBSD: Makefile,v 1.12 2008/09/07 07:54:04 ajacoutot Exp $
COMMENT= maze game resembling boulderdash
DISTNAME= rocksndiamonds-3.2.4
CATEGORIES= games x11
MASTER_SITES= http://www.artsoft.org/RELEASES/unix/rocksndiamonds/
HOMEPAGE= http://www.artsoft.org/rocksndiamonds/
# GPLv2
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
WANTLIB= SDL c m pthread smpeg
LIB_DEPENDS= SDL_mixer::devel/sdl-mixer \
SDL_image::devel/sdl-image \
SDL_net:sdl-net->=1.2.7:devel/sdl-net
NO_REGRESS= Yes
USE_GMAKE= Yes
USE_X11= Yes
ALL_TARGET= sdl
# XXX segfaults with gcc3
MODULES+= gcc4
MODGCC4_ARCHES= *
N=rocksndiamonds
post-extract:
@find ${WRKSRC} -name \*.orig -exec rm {} \;
do-install:
${INSTALL_DATA_DIR} ${PREFIX}/bin
${INSTALL_PROGRAM} ${WRKSRC}/${N} ${PREFIX}/bin
${INSTALL_DATA_DIR} ${PREFIX}/share/${N}
@cp -R ${WRKSRC}/{graphics,levels,music,sounds} ${PREFIX}/share/${N}
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/${N}
${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/${N}
.include <bsd.port.mk>