blob: 7ab55814583cdebb9ebd3fdfe22ec60e3fa2259e (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
# New ports collection makefile for: dsnake
# Date created: 18 Nov 2003
# Whom: Pav Lucistnik <pav@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= dsnake
PORTVERSION= 3.0.0
PORTREVISION= 1
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
PREFIX?= ${X11BASE}
USE_LINUX= 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>
|