3e63100c73
with either of our old in tree versions of gcc. No thanks to cwm for requiring keyboard pointer control keys to be forcibly unmapped via a configuration file for keen to be playable.
42 lines
1.0 KiB
Makefile
42 lines
1.0 KiB
Makefile
# $OpenBSD: Makefile,v 1.11 2009/08/15 17:22:46 jsg Exp $
|
|
|
|
COMMENT= x86 with DOS emulator targeted at playing games
|
|
DISTNAME= dosbox-0.73
|
|
PKGNAME= ${DISTNAME}
|
|
CATEGORIES= games x11 emulators
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=dosbox/}
|
|
|
|
HOMEPAGE= http://dosbox.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= SDL c m pthread stdc++ z
|
|
|
|
LIB_DEPENDS= SDL_net::devel/sdl-net \
|
|
SDL_sound::devel/sdl-sound \
|
|
png.>=2::graphics/png
|
|
|
|
USE_X11= Yes
|
|
NO_REGRESS= Yes
|
|
|
|
MODULES+= gcc4
|
|
MODGCC4_ARCHES= *
|
|
MODGCC4_LANGS= c c++
|
|
|
|
CONFIGURE_STYLE= gnu
|
|
CONFIGURE_ENV=CPPFLAGS="-I${LOCALBASE}/include/libpng -I${LOCALBASE}/include"
|
|
CONFIGURE_ENV+=LDFLAGS="-L${LOCALBASE}/lib"
|
|
CONFIGURE_ARGS+= --disable-alsatest
|
|
CONFIGURE_ARGS+= --disable-opengl
|
|
|
|
post-install:
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/dosbox
|
|
${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/dosbox
|
|
|
|
.include <bsd.port.mk>
|