version 1.2, 2011/05/10 14:05:37 |
version 1.7, 2012/09/29 19:05:38 |
|
|
|
|
COMMENT = engine for isometric-view action roleplaying games |
COMMENT = engine for isometric-view action roleplaying games |
|
|
DISTNAME = flare_src_v013 |
DISTNAME = flare_linux_v017 |
PKGNAME = flare-0.13 |
PKGNAME = flare-0.17 |
|
|
CATEGORIES = games |
CATEGORIES = games |
|
|
HOMEPAGE = http://clintbellanger.net/rpg/ |
HOMEPAGE = http://flarerpg.org |
|
|
MAINTAINER = Kirill Bychkov <yason@linklevel.net> |
MAINTAINER = Kirill Bychkov <yason@linklevel.net> |
|
|
|
|
PERMIT_DISTFILES_CDROM =Yes |
PERMIT_DISTFILES_CDROM =Yes |
PERMIT_DISTFILES_FTP = Yes |
PERMIT_DISTFILES_FTP = Yes |
|
|
WANTLIB += SDL SDL_image SDL_mixer c m pthread stdc++ |
WANTLIB += SDL SDL_image SDL_mixer SDL_ttf c m pthread stdc++ |
|
|
MASTER_SITES = http://flare-engine.googlecode.com/files/ |
MASTER_SITES = https://github.com/downloads/clintbellanger/flare-game/ |
EXTRACT_SUFX = .zip |
|
|
|
MODULES = devel/cmake |
MODULES = devel/cmake |
LIB_DEPENDS = devel/sdl-image \ |
LIB_DEPENDS = devel/sdl-image \ |
devel/sdl-mixer |
devel/sdl-mixer \ |
|
devel/sdl-ttf |
|
RUN_DEPENDS = devel/desktop-file-utils |
|
|
SEPARATE_BUILD = concurrent |
CONFIGURE_ARGS += -DBINDIR=bin \ |
|
-DDATADIR=share/flare |
|
|
NO_REGRESS = Yes |
NO_REGRESS = Yes |
|
|
WRKSRC = ${WRKDIST}/build |
|
|
|
do-install: |
|
${INSTALL_DATA_DIR} ${PREFIX}/share/flare/ |
|
cd ${WRKDIST} && find . \! \( -name build -or -name src -or -name saves \) -type d \ |
|
-exec ${INSTALL_DATA_DIR} "${PREFIX}/share/flare/{}" \; |
|
cd ${WRKDIST} && find . \! \( -name \*.cpp -or -name \*.h -or -name \CMake* \) \ |
|
-type f -mindepth 2 -exec ${INSTALL_DATA} "{}" "${PREFIX}/share/flare/{}" \; |
|
${INSTALL_PROGRAM} ${WRKDIST}/flare ${PREFIX}/share/flare/ |
|
${INSTALL_SCRIPT} ${FILESDIR}/flare ${WRKDIST}/flare.sh |
|
perl -pi -e 's,%%DATADIR%%,${LOCALBASE}/share/flare/,g' ${WRKDIST}/flare.sh |
|
${INSTALL_SCRIPT} ${WRKDIST}/flare.sh ${PREFIX}/bin/flare |
|
|
|
.include <bsd.port.mk> |
.include <bsd.port.mk> |