2007-07-30 17:49:10 +02:00
|
|
|
# $NetBSD: Makefile,v 1.7 2007/07/30 15:49:11 jlamwww Exp $
|
2003-12-30 12:27:07 +01:00
|
|
|
#
|
|
|
|
|
|
|
|
DISTNAME= postal2mpdemo-lnx-1407
|
|
|
|
PKGNAME= postal2-mpdemo-bin-0
|
|
|
|
WRKSRC= ${WRKDIR}
|
|
|
|
CATEGORIES= games
|
|
|
|
MASTER_SITES= http://files3.worthplaying.com/postal2/
|
|
|
|
EXTRACT_SUFX= .tar.bz2
|
|
|
|
|
2006-05-19 18:51:13 +02:00
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
2003-12-30 12:27:07 +01:00
|
|
|
HOMEPAGE= http://files3.worthplaying.com/postal2/
|
|
|
|
COMMENT= Demo of a violent 3D game
|
|
|
|
|
2007-07-30 17:49:10 +02:00
|
|
|
EMUL_PLATFORMS= linux-i386
|
|
|
|
EMUL_MODULES.linux= glx
|
|
|
|
SUSE_VERSION_REQD= 7.3
|
|
|
|
|
|
|
|
# Would install outside of ${LOCALBASE} on Linux.
|
|
|
|
NOT_FOR_PLATFORM= Linux-*-*
|
2003-12-30 12:27:07 +01:00
|
|
|
|
2006-04-22 12:48:36 +02:00
|
|
|
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}
|
2005-09-28 22:50:09 +02:00
|
|
|
NO_BUILD= yes
|
2003-12-30 12:27:07 +01:00
|
|
|
LICENSE= postal2mpdemo-license
|
|
|
|
|
2007-07-30 17:49:10 +02:00
|
|
|
POSTAL_DIR= ${EMULDIR}/usr/games/postal
|
2003-12-30 12:27:07 +01:00
|
|
|
|
|
|
|
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"
|