# New ports collection makefile for: dsnake # Date created: 18 Nov 2003 # Whom: Pav Lucistnik # # $FreeBSD$ # PORTNAME= dsnake PORTVERSION= 3.0.0 CATEGORIES= games linux MASTER_SITES= http://bitblaze.com/downloads/ DISTNAME= ${PORTNAME}-linux-${PORTVERSION} MAINTAINER= pav@FreeBSD.org COMMENT= Deluxe Snake - snake clone with frogs and mushrooms RUN_DEPENDS= ${LINUXBASE}/usr/lib/liballeg.so.4.0:${PORTSDIR}/devel/linux-allegro NO_PACKAGE= Licence forbids any repacking and reselling ONLY_FOR_ARCHS= i386 NO_BUILD= yes USE_X_PREFIX= yes WRKSRC= ${WRKDIR}/DeluxeSnake do-install: ${MKDIR} ${DATADIR} (cd ${WRKSRC}; ${TAR} -cf - *) | (cd ${DATADIR}; ${TAR} -xf -) ${TOUCH} ${DATADIR}/config.dat ${DATADIR}/hiscores.dat ${DATADIR}/stats.dat ${CHMOD} 0666 ${DATADIR}/config.dat ${DATADIR}/hiscores.dat ${DATADIR}/stats.dat ${ECHO_CMD} "#!/bin/sh" > ${WRKDIR}/dsnake.sh ${ECHO_CMD} "cd ${DATADIR} && ./dsnake -win" >> ${WRKDIR}/dsnake.sh ${INSTALL_SCRIPT} ${WRKDIR}/dsnake.sh ${PREFIX}/bin/dsnake .include