mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-02 01:20:54 +00:00
9d9cd724c5
sugar candies, lots of powerups and a tail-bite! Approved by: adamw (mentor)
36 lines
1.0 KiB
Makefile
36 lines
1.0 KiB
Makefile
# New ports collection makefile for: dsnake
|
|
# Date created: 18 Nov 2003
|
|
# Whom: Pav Lucistnik <pav@FreeBSD.org>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= dsnake
|
|
PORTVERSION= 3.0.0
|
|
CATEGORIES= games linux
|
|
MASTER_SITES= http://www.dascdev.net/_files/
|
|
DISTNAME= ${PORTNAME}-linux-${PORTVERSION}
|
|
WRKSRC= ${WRKDIR}/DeluxeSnake
|
|
|
|
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
|
|
|
|
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 <bsd.port.mk>
|