mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-30 05:40:06 +00:00
0263b9d868
both current (fc4) and future linux (f8) distributions at one ports tree. The patch contains full changes to ports/Mk files and all ports involved. But only infrastructure is changed. The resulting packages are the same as before. Hence no need to bump PORTREVISIONs. The idea was taken from bsd.gnome.mk and others. More than 130 ports are switched to follow a new linux infrastructure introduced by changes to bsd.port.mk, bsd.linux-rpm.mk and a new bsd.linux-apps.mk. Thanks for all who was involved and helped me with this work. And help from Alexander Leidinger was incredible. Other changes are coming. Stay tuned! PR: ports/132510 Submitted by: bsam (me) Exp-run by: portmgr (pav)
49 lines
1.2 KiB
Makefile
49 lines
1.2 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
|
|
PORTREVISION= 3
|
|
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
|
|
|
|
RESTRICTED= Licence forbids any repacking and reselling
|
|
|
|
ONLY_FOR_ARCHS= i386 amd64
|
|
USE_LINUX= yes
|
|
USE_LINUX_APPS= allegro xorglibs
|
|
WRKSRC= ${WRKDIR}/DeluxeSnake
|
|
|
|
SUB_FILES= pkg-install pkg-deinstall
|
|
SUB_LIST= CONFIG_FILES="config.dat hiscores.dat stats.dat"
|
|
|
|
PORTDOCS= *
|
|
|
|
do-build:
|
|
${BRANDELF} -t Linux ${WRKSRC}/dsnake
|
|
|
|
do-install:
|
|
.for d in data midi
|
|
${MKDIR} ${DATADIR}/${d}
|
|
${INSTALL_DATA} ${WRKSRC}/${d}/* ${DATADIR}/${d}
|
|
.endfor
|
|
${INSTALL_PROGRAM} ${WRKSRC}/dsnake ${DATADIR}
|
|
${ECHO_CMD} "#!/bin/sh" > ${WRKDIR}/dsnake.sh
|
|
${ECHO_CMD} "cd ${DATADIR} && exec ./dsnake \"\$$@\"" >> ${WRKDIR}/dsnake.sh
|
|
${INSTALL_SCRIPT} ${WRKDIR}/dsnake.sh ${PREFIX}/bin/dsnake
|
|
.if !defined(NOPORTDOCS)
|
|
${MKDIR} ${DOCSDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/ReadMe.txt ${DOCSDIR}
|
|
.endif
|
|
@PKG_PREFIX=${PREFIX} ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL
|
|
|
|
.include <bsd.port.mk>
|