pkgsrc-wip/marathon-trilogy/Makefile
Thomas Klausner ab6362699e Use standard location for LICENSE line (in MAINTAINER/HOMEPAGE/COMMENT
block). Uncomment some commented out LICENSE lines while here.
2009-05-19 09:00:04 +00:00

47 lines
1.6 KiB
Makefile

# $NetBSD: Makefile,v 1.2 2009/05/19 09:00:09 thomasklausner Exp $
#
# This number is rather arbitrary and only for pkgsrc's benefit.
DISTNAME= marathon-trilogy-1.0
CATEGORIES= games
# The original Bungie trilogy series
DISTFILES= M1A1.zip Marathon2.zip MarathonInfinity.zip
MASTER_SITES= http://trilogyrelease.bungie.org/files/
EXTRACT_SUFX= .zip
MAINTAINER= christtrekker@users.sourceforge.net
HOMEPAGE= http://trilogyrelease.bungie.org/
COMMENT= Bungie game data files, playable with the Aleph One engine
LICENSE= generic-nonlicense
RESTRICTED= Copyrighted game material given away gratis - not sure what to call that.
NO_SRC_ON_FTP= ${RESTRICTED}
NO_SRC_ON_CDROM= ${RESTRICTED}
NO_BIN_ON_FTP= ${RESTRICTED}
NO_BIN_ON_CDROM= ${RESTRICTED}
PKG_DESTDIR_SUPPORT= user-destdir
SCENARIO_BASE= share/AlephOne/Scenarios
.for scenario in 1 2 Infinity
INSTALLATION_DIRS+= ${SCENARIO_BASE}/${scenario} ${SCENARIO_BASE}/${scenario}/Physics\ Models ${SCENARIO_BASE}/${scenario}/Scripts ${SCENARIO_BASE}/${scenario}/Themes ${SCENARIO_BASE}/${scenario}/Tracks
.endfor
NO_CONFIGURE= yes
NO_BUILD= yes
do-install:
#install the files into the Scenarios dir
#there is no ${INSTALL_...} command with recursive abilities...
${CP} -r ${WRKDIR}/M1A1/* ${DESTDIR}${PREFIX}/${SCENARIO_BASE}/1
${CP} -r ${WRKDIR}/Marathon\ 2/* ${DESTDIR}${PREFIX}/${SCENARIO_BASE}/2
${CP} -r ${WRKDIR}/Marathon\ Infinity/* ${DESTDIR}${PREFIX}/${SCENARIO_BASE}/Infinity
# There is no true dependency on Aleph One. These scenarios cannot be
# played without it, though.
#DEPENDS+= :../../games/alephone
# url2pkg-marker (please do not remove this line.)
.include "../../mk/bsd.pkg.mk"