c1932f157a
no change, but it makes more sense: when bored people grep for BROKEN they have a chance to find this ok robert@
51 lines
1.1 KiB
Makefile
51 lines
1.1 KiB
Makefile
# $OpenBSD: Makefile,v 1.3 2008/06/12 22:10:38 ajacoutot Exp $
|
|
|
|
COMMENT= isometric RPG game
|
|
|
|
DISTNAME= freedroidrpg-0.10.3
|
|
CATEGORIES= games x11
|
|
|
|
EXTRACT_SUFX= .tar.bz2
|
|
|
|
HOMEPAGE= http://freedroid.sourceforge.net/
|
|
|
|
MAINTAINER= Antoine Jacoutot <ajacoutot@openbsd.org>
|
|
|
|
# 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 Xext Xi c glib gmodule jpeg m ogg png \
|
|
pthread vorbis z
|
|
|
|
MODULES= devel/gettext
|
|
USE_X11= Yes
|
|
|
|
LIB_DEPENDS= gdk.>=3,gtk.>=3::x11/gtk+ \
|
|
SDL_image.>=2::devel/sdl-image \
|
|
SDL_mixer.>=3::devel/sdl-mixer \
|
|
SDL_net.>=1::devel/sdl-net
|
|
|
|
.if ${MACHINE_ARCH} == "sparc64"
|
|
BROKEN= SIGBUS on startup under sparc64
|
|
.endif
|
|
|
|
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 \
|
|
--disable-backtrace
|
|
|
|
post-install:
|
|
@chown -R ${SHAREOWN}:${SHAREGRP} ${PREFIX}/share/freedroidrpg
|
|
|
|
.include <bsd.port.mk>
|