pkgsrc-wip/postal2-mpdemo-bin/Makefile

32 lines
975 B
Makefile

# $NetBSD: Makefile,v 1.6 2006/05/19 16:51:29 ykomatsu Exp $
#
DISTNAME= postal2mpdemo-lnx-1407
PKGNAME= postal2-mpdemo-bin-0
WRKSRC= ${WRKDIR}
CATEGORIES= games
MASTER_SITES= http://files3.worthplaying.com/postal2/
EXTRACT_SUFX= .tar.bz2
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://files3.worthplaying.com/postal2/
COMMENT= Demo of a violent 3D game
DEPENDS+= suse_glx>=7.3:../../emulators/suse_glx/
RESTRICTED= It's huge, it's demo, it's a game, I'm not sure if we can redistribute it
NO_SRC_ON_CDROM= ${RESTRICTED}
NO_PKG_ON_CDROM= ${RESTRICTED}
NO_BUILD= yes
LICENSE= postal2mpdemo-license
POSTAL_DIR= ${PREFIX}/emul/linux/usr/games/postal
do-install:
cd ${WRKSRC} && ./postal2mpdemo-lnx-1407.run --target ${WRKSRC}/tmp \
--nox11 -- --help
${INSTALL_DATA_DIR} ${POSTAL_DIR}
cd ${POSTAL_DIR} && ${TAR} -xvf ${WRKSRC}/tmp/postal2mpdemo.tar
cd ${POSTAL_DIR} && ${TAR} -xvf ${WRKSRC}/tmp/linux-specific.tar
.include "../../mk/bsd.pkg.mk"