openbsd-ports/games/freedroidrpg/Makefile
2011-12-15 07:59:08 +00:00

46 lines
1.1 KiB
Makefile

# $OpenBSD: Makefile,v 1.16 2011/12/15 07:59:08 ajacoutot Exp $
ONLY_FOR_ARCHS= ${GCC4_ARCHS}
COMMENT= isometric RPG game
M_V= 0.15
DISTNAME= freedroidrpg-${M_V}rc2
CATEGORIES= games x11
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
WANTLIB += GL SDL SDL_gfx SDL_image SDL_mixer X11 c execinfo jpeg
WANTLIB += lua m ogg png pthread vorbis z
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=freedroid/freedroidRPG/freedroidRPG-${M_V}/}
LIB_DEPENDS= devel/libexecinfo \
devel/sdl-gfx \
devel/sdl-image \
devel/sdl-mixer \
lang/lua
CONFIGURE_STYLE=gnu
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include \
-I${LOCALBASE}/include/libpng" \
LDFLAGS="-L${LOCALBASE}/lib" \
PTHREAD_CFLAGS="-pthread" \
PTHREAD_LIBS="-pthread" \
am_cv_prog_tar_ustar=plaintar
CONFIGURE_ARGS= --with-x \
--enable-opengl
post-install:
@chown -R ${SHAREOWN}:${SHAREGRP} ${PREFIX}/share/freedroidrpg
.include <bsd.port.mk>