File: [local] / ports / games / flare / Attic / Makefile (download)
Revision 1.3, Fri Jul 22 03:29:48 2011 UTC (12 years, 11 months ago) by yason
Branch: MAIN
CVS Tags: flare-0_14 Changes since 1.2: +3 -3 lines
update to 0.14
|
# $OpenBSD$
COMMENT = engine for isometric-view action roleplaying games
DISTNAME = flare_src_v014
PKGNAME = flare-0.14
CATEGORIES = games
HOMEPAGE = http://clintbellanger.net/rpg/
MAINTAINER = Kirill Bychkov <yason@linklevel.net>
# GPLv3, CC-BY-SA 3.0
PERMIT_PACKAGE_CDROM = Yes
PERMIT_PACKAGE_FTP = Yes
PERMIT_DISTFILES_CDROM =Yes
PERMIT_DISTFILES_FTP = Yes
WANTLIB += SDL SDL_image SDL_mixer c m pthread stdc++
MASTER_SITES = https://github.com/downloads/clintbellanger/flare/
EXTRACT_SUFX = .zip
MODULES = devel/cmake
LIB_DEPENDS = devel/sdl-image \
devel/sdl-mixer
SEPARATE_BUILD = concurrent
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>