openbsd-ports/games/polymorphable/Makefile

32 lines
829 B
Makefile

# $OpenBSD: Makefile,v 1.6 2017/11/19 15:44:10 naddy Exp $
COMMENT = action RPG mod based upon the FLARE engine
DISTNAME = polymorphable-20130410
REVISION = 2
CATEGORIES = games x11
HOMEPAGE = https://github.com/makrohn/polymorphable
# GPLv3 & CC-BY-SA-3.0
PERMIT_PACKAGE_CDROM = Yes
MASTER_SITES = http://mirrors.nycbug.org/pub/distfiles/
RUN_DEPENDS = games/flare
NO_BUILD = Yes
NO_TEST = Yes
post-extract:
rm ${WRKSRC}/maps/{demo,test}.txt~
rm ${WRKSRC}/tilesetdefs/{lpc_ortho,tileset_lpc}.txt~
do-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/flare/mods/polymorphable
cd ${WRKSRC} && find * -type d -exec ${INSTALL_DATA_DIR} \
"${PREFIX}/share/flare/mods/polymorphable/{}" \;
cd ${WRKSRC} && find * -type f -exec ${INSTALL_DATA} \
"{}" "${PREFIX}/share/flare/mods/polymorphable/{}" \;
.include <bsd.port.mk>