openbsd-ports/games/scummvm/Makefile
2003-06-01 10:14:47 +00:00

39 lines
988 B
Makefile

# $OpenBSD: Makefile,v 1.3 2003/06/01 10:14:47 jolan Exp $
COMMENT= "play games built around LucasArts' SCUMM"
DISTNAME= scummvm-0.4.1
CATEGORIES= games x11 emulators
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=scummvm/}
HOMEPAGE= http://scummvm.sourceforge.net/
MAINTAINER= Jolan Luff <jolan@openbsd.org>
# GPL
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
LIB_DEPENDS= SDL::devel/sdl \
mad::audio/mad \
vorbis.0,vorbisfile.1::audio/libvorbis
NO_REGRESS= Yes
USE_GMAKE= Yes
USE_X11= Yes
MAKE_ENV= CXXFLAGS="${CXXFLAGS} -DSCUMM_NEED_ALIGNMENT" CXX="${CXX}"
do-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/scummvm
${INSTALL_DATA_DIR} ${PREFIX}/share/pixmaps
${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/scummvm
${INSTALL_DATA} ${WRKSRC}/scummvm.xpm ${PREFIX}/share/pixmaps
${INSTALL_MAN} ${WRKSRC}/scummvm.6 ${PREFIX}/man/man6
${INSTALL_PROGRAM} ${WRKSRC}/scummvm ${PREFIX}/bin
.include <bsd.port.mk>