openbsd-ports/games/freedroidrpg/Makefile

45 lines
1.0 KiB
Makefile
Raw Normal View History

# $OpenBSD: Makefile,v 1.14 2011/09/21 09:12:43 ajacoutot Exp $
ONLY_FOR_ARCHS= ${GCC4_ARCHS}
COMMENT= isometric RPG game
2010-12-12 01:04:20 -05:00
M_V= 0.14
DISTNAME= freedroidrpg-${M_V}.1
REVISION= 0
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
2010-12-12 01:04:20 -05:00
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=freedroid/freedroidRPG/freedroidRPG-${M_V}/}
2010-11-08 10:54:53 -05:00
WANTLIB= GL SDL X11 c jpeg m ogg png pthread vorbis z \
2010-11-16 06:23:25 -05:00
SDL_image>=2 SDL_mixer>=3 execinfo
2010-11-16 06:23:25 -05:00
LIB_DEPENDS= devel/sdl-image \
devel/sdl-mixer \
devel/libexecinfo
CONFIGURE_STYLE=gnu
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include \
-I${LOCALBASE}/include/libpng" \
LDFLAGS="-L${LOCALBASE}/lib" \
2010-03-21 06:47:01 -04:00
PTHREAD_CFLAGS="-pthread" \
PTHREAD_LIBS="-pthread" \
am_cv_prog_tar_ustar=plaintar
CONFIGURE_ARGS= --with-x \
2010-03-21 06:47:01 -04:00
--enable-opengl
post-install:
@chown -R ${SHAREOWN}:${SHAREGRP} ${PREFIX}/share/freedroidrpg
.include <bsd.port.mk>