# $OpenBSD: Makefile,v 1.8 2009/08/10 06:31:42 kili Exp $ COMMENT= isometric RPG game DISTNAME= freedroidrpg-0.12 PKGNAME= ${DISTNAME}p1 CATEGORIES= games x11 EXTRACT_SUFX= .tar.bz2 HOMEPAGE= http://freedroid.sourceforge.net/ MAINTAINER= Antoine Jacoutot # GPLv2 PERMIT_DISTFILES_CDROM= Yes PERMIT_DISTFILES_FTP= Yes PERMIT_PACKAGE_CDROM= Yes PERMIT_PACKAGE_FTP= Yes MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=freedroid/} WANTLIB= GL SDL X11 c jpeg m ogg png pthread pthread-stubs vorbis xcb z MODULES= devel/gettext USE_X11= Yes LIB_DEPENDS= SDL_image.>=2::devel/sdl-image \ SDL_mixer.>=3::devel/sdl-mixer \ execinfo::devel/libexecinfo # needed to avoid a SIGSEGV # (int i corruption in enemy.c line 2056: # should be "0" or "1" instead of a nonsense negative value) MODULES+= gcc4 MODGCC4_ARCHES= * CONFIGURE_STYLE=gnu CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include \ -I${LOCALBASE}/include/libpng" \ LDFLAGS="-L${LOCALBASE}/lib" \ am_cv_prog_tar_ustar=plaintar CONFIGURE_ARGS= --with-x \ --enable-opengl \ --enable-editors post-install: @chown -R ${SHAREOWN}:${SHAREGRP} ${PREFIX}/share/freedroidrpg .include