mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-23 00:43:28 +00:00
f004d86ad8
Requested by: lofi (Clean Ports Movement)
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://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 <bsd.port.mk>
|