mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-30 01:15:52 +00:00
e0b37cf3d8
- Allow installation on amd64 PR: ports/144176 Submitted by: Andrius Morkunas <hinokind@gmail.com> Feature safe: yes
56 lines
1.6 KiB
Makefile
56 lines
1.6 KiB
Makefile
# New ports collection makefile for: linux-candycruncher-demo
|
|
# Date created: 2009-01-30
|
|
# Whom: Marcus von Appen <mva@sysfault.org>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= candycruncher-demo
|
|
PORTVERSION= 1.56
|
|
CATEGORIES= games linux
|
|
MASTER_SITES= http://demofiles.linuxgamepublishing.com/candycruncher/
|
|
PKGNAMEPREFIX= linux-
|
|
DISTNAME= candycruncher_demo
|
|
EXTRACT_SUFX= .run
|
|
|
|
MAINTAINER= mva@FreeBSD.org
|
|
COMMENT= Candy Cruncher Demo - a fast puzzle game with lots of candies
|
|
|
|
ONLY_FOR_ARCHS= i386 amd64
|
|
USE_LINUX= yes
|
|
USE_LINUX_APPS= alsalib jpeg libogg libvorbis mikmod sdl12 sdlmixer xorglibs
|
|
NO_CDROM= Redistribution is limited, see license
|
|
NO_BUILD= yes
|
|
|
|
DATADIR= ${PREFIX}/lib/${PKGNAMEPREFIX}${PORTNAME}
|
|
SUB_FILES= candycruncher
|
|
PORTDOCS= README README.licenses README.unixthanks license.txt
|
|
LIBFILES= libcrypto.so.0.9.8 libgrapple-0.9.so.2 liblua.so liblualib.so \
|
|
libssl.so.0.9.8
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
do-extract:
|
|
@${MKDIR} ${WRKSRC}
|
|
@cd ${WRKSRC} && ${TAIL} +377 ${_DISTDIR}/${DISTNAME}${EXTRACT_SUFX} | \
|
|
${TAR} jxf -
|
|
|
|
do-build:
|
|
${BRANDELF} -t Linux ${WRKSRC}/bin/Linux/x86/Bin/candycruncher_demo
|
|
|
|
do-install:
|
|
@${MKDIR} ${DATADIR}/Bin
|
|
@cd ${WRKSRC}/bin/Linux/x86/Bin && \
|
|
${INSTALL_PROGRAM} candycruncher_demo ${DATADIR}/Bin
|
|
@${INSTALL_PROGRAM} ${WRKDIR}/candycruncher ${PREFIX}/bin/${PKGNAMEPREFIX}candycruncher
|
|
@${CP} -R ${WRKSRC}/Resources ${DATADIR}
|
|
@${MKDIR} ${DATADIR}/lib/lib1
|
|
@cd ${WRKSRC}/lib/lib1/ && \
|
|
${CP} ${LIBFILES} ${DATADIR}/lib/lib1
|
|
.if !defined (NOPORTDOCS)
|
|
@${INSTALL} -d ${DOCSDIR}
|
|
@cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR}
|
|
.endif
|
|
|
|
.include <bsd.port.post.mk>
|