openbsd-ports/games/ufoai/data/Makefile
ajacoutot 782bc94360 Import ufoai-2.3.1.
"UFO: Alien Invasion" is a squad-based tactical strategy game in the
tradition of the old X-COM PC games, but with a twist. This game
combines military realism with hard science-fiction and the weirdness
of an alien invasion. The carefully constructed turn-based system gives
you pin-point control of your squad while maintaining a sense of pace
and danger.

prodded by oga@
from Antti Harri and Kirill Bychkov (maintainer) with several tweaks from me
ok jasper@
2011-05-27 07:20:11 +00:00

32 lines
673 B
Makefile

# $OpenBSD: Makefile,v 1.1.1.1 2011/05/27 07:20:11 ajacoutot Exp $
COMMENT = UFO:AI data
V = 2.3.1
DISTNAME = ufoai-${V}-data
PKGNAME = ufoai-data-${V}
EXTRACT_SUFX = .tar
PKG_ARCH = *
WRKDIST = ${WRKDIR}/base
BUILD_DEPENDS = archivers/unzip
NO_BUILD = Yes
NO_REGRESS = Yes
post-extract:
cd ${WRKSRC} && ${LOCALBASE}/bin/unzip \*.pk3 -d ${WRKSRC}
rm ${WRKSRC}/*.pk3
do-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/ufoai/base/
cd ${WRKSRC} && find * -type d -exec ${INSTALL_DATA_DIR} \
"${PREFIX}/share/ufoai/base/{}" \;
cd ${WRKSRC} && find * -type f -exec ${INSTALL_DATA} \
"{}" "${PREFIX}/share/ufoai/base/{}" \;
.include <bsd.port.mk>