49 lines
1.3 KiB
Makefile
49 lines
1.3 KiB
Makefile
# $OpenBSD: Makefile,v 1.11 2004/11/28 22:41:20 espie Exp $
|
|
|
|
COMMENT= "play games built around LucasArts' SCUMM"
|
|
DISTNAME= scummvm-0.6.1b
|
|
EXTRACT_SUFX= .tar.bz2
|
|
CATEGORIES= games x11 emulators
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=scummvm/}
|
|
|
|
HOMEPAGE= http://scummvm.sourceforge.net/
|
|
|
|
MAINTAINER= Jonathan Gray <jsg@openbsd.org>
|
|
|
|
# GPL
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
WANTLIB= X11 Xext c m ogg pthread stdc++ usbhid z
|
|
|
|
LIB_DEPENDS= SDL::devel/sdl \
|
|
mad.2::audio/libmad \
|
|
mpeg2::graphics/libmpeg2 \
|
|
vorbis.0,vorbisfile.1::audio/libvorbis
|
|
|
|
CONFIGURE_STYLE=simple
|
|
CONFIGURE_ARGS+=--disable-alsa
|
|
CONFIGURE_ENV+= CPPFLAGS="-I${LOCALBASE}/include" \
|
|
LDFLAGS="-L${LOCALBASE}/lib"
|
|
NO_REGRESS= Yes
|
|
USE_GMAKE= Yes
|
|
USE_X11= Yes
|
|
|
|
MAKE_ENV+= CXXFLAGS="${CXXFLAGS}" CXX="${CXX}"
|
|
|
|
# XXX gcc3 compiling compact.cpp with -O2 gobbles 800MB
|
|
.if ${MACHINE_ARCH} == "sparc64"
|
|
CXXFLAGS+= -O0
|
|
.endif
|
|
|
|
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>
|