1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-03 06:04:53 +00:00
freebsd-ports/games/linux-ningpo-demo/Makefile
Marcus von Appen 7fcb82cca7 linuxgamepublishing.com seems to be (temporarily) out of service and the
offered game demos have been become unavailable. Mark the provided ports

  linux-candycruncher-demo
  linux-coldwar-demo
  linux-gorky17-demo
  linux-hdb-demo
  linux-majesty-demo
  linux-ningpo-demo

as BROKEN.

PR:		196953 196954 196955 196956 196957
Reported by:	amdmi3
2015-01-25 08:58:31 +00:00

50 lines
1.4 KiB
Makefile

# Created by: Marcus von Appen <mva@sysfault.org>
# $FreeBSD$
PORTNAME= ningpo-demo
PORTVERSION= 1.05.04
CATEGORIES= games linux
MASTER_SITES= http://demofiles.linuxgamepublishing.com/ningpo/
PKGNAMEPREFIX= linux-
DISTNAME= ningpo_demo
EXTRACT_SUFX= .run
MAINTAINER= mva@FreeBSD.org
COMMENT= NingPo Mahjong Demo - a feature rich Mahjong game
ONLY_FOR_ARCHS= i386 amd64
USE_LINUX= yes
USE_LINUX_APPS= sdl12 jpeg sdlmixer mikmod libogg libvorbis alsalib xorglibs
NO_CDROM= Redistribution is limited, see license
NO_BUILD= yes
DATADIR= ${PREFIX}/lib/${PKGNAMEPREFIX}${PORTNAME}
SUB_FILES= ningpo
PORTDOCS= README README.licenses license.txt
BROKNE= Does not fetch
.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/ningpo_demo
${BRANDELF} -t Linux ${WRKSRC}/bin/Linux/x86/Bin/ningpo_demo.dynamic
do-install:
@${MKDIR} ${STAGEDIR}${DATADIR}/Bin
@cd ${WRKSRC}/bin/Linux/x86/Bin && \
${INSTALL_PROGRAM} ningpo_demo ningpo_demo.dynamic \
${STAGEDIR}${DATADIR}/Bin
@${INSTALL_PROGRAM} ${WRKDIR}/ningpo \
${STAGEDIR}${PREFIX}/bin/${PKGNAMEPREFIX}ningpo
@${CP} -R ${WRKSRC}/Resources ${STAGEDIR}${DATADIR}
@${INSTALL} -d ${STAGEDIR}${DOCSDIR}
@cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}
.include <bsd.port.post.mk>