# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	barbie_seahorse_adventures
#	barbie_seahorse_adventures/Makefile
#	barbie_seahorse_adventures/pkg-descr
#	barbie_seahorse_adventures/distinfo
#	barbie_seahorse_adventures/files
#	barbie_seahorse_adventures/files/barbie_seahorse_adventures.in
#
echo c - barbie_seahorse_adventures
mkdir -p barbie_seahorse_adventures > /dev/null 2>&1
echo x - barbie_seahorse_adventures/Makefile
sed 's/^X//' >barbie_seahorse_adventures/Makefile << '38c004ca12e769eb6381a5b63423edfe'
X# New Ports collection makefile for:	barbie_seahorse_adventures
X# Date created:		2012-05-11
X# Whom:			nemysis@gmx.ch
X#
X# $FreeBSD$
X#
X
XPORTNAME=	barbie_seahorse_adventures
XPORTVERSION=	1.0
XCATEGORIES=	games
XMASTER_SITES=	http://www.imitationpickles.org/barbie/files/ \
X		SF/nemysisfreebsdp/:icons
XDISTFILES=	barbie-${DISTVERSION}${EXTRACT_SUFX} \
X		${PORTNAME}.png:icons
XDIST_SUBDIR=	python
XEXTRACT_ONLY=	barbie-${DISTVERSION}${EXTRACT_SUFX}
X
XMAINTAINER=	nemysis@gmx.ch
XCOMMENT=	You are a seahorse and you want to go to the moon!
X
XLICENSE=	GPLv2
X
XRUN_DEPENDS=	${PYGAME}
X
XWRKSRC=		${WRKDIR}/barbie-${DISTVERSION}
X
XUSE_PYTHON=	yes
XNO_BUILD=	yes
X
XPLIST_FILES=	bin/${PORTNAME} \
X		share/pixmaps/${PORTNAME}.png
X
XPORTDATA=	 *
XPORTDOCS=	CHANGES.txt LEVELS.txt NOTES.txt README.txt TODO.txt
X
XSUB_FILES=	${PORTNAME}
X
XDESKTOP_ENTRIES="Barbie Seahorse Adventures" "${COMMENT}" "${PORTNAME}" \
X		"${PORTNAME}" "Game;ArcadeGame;" ${FALSE}
X
X.include <bsd.port.options.mk>
X
Xpost-patch:
X	@${REINPLACE_CMD} -e 's,/usr/bin/python,${PYTHON_CMD},' \
X		${WRKSRC}/leveledit.py ${WRKSRC}/tileedit.py
X	@(cd ${WRKSRC} && ${RM} *.py.bak)
X
Xdo-install:
X# Scripts
X	${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME} ${PREFIX}/bin
X
X# Executable
X	${MKDIR} ${DATADIR}
X	${INSTALL_SCRIPT} ${WRKSRC}/*.py ${DATADIR}
X
X# Data
X	@(cd ${WRKSRC} && ${COPYTREE_SHARE} "data lib" ${DATADIR})
X
X# Pixmaps
X	${INSTALL_DATA} ${DISTDIR}/${DIST_SUBDIR}/${PORTNAME}.png ${PREFIX}/share/pixmaps
X
X# Documentation
X.if ${PORT_OPTIONS:MDOCS}
X	${MKDIR} ${DOCSDIR}
X	${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR}
X.endif
X
X.include <bsd.port.mk>
38c004ca12e769eb6381a5b63423edfe
echo x - barbie_seahorse_adventures/pkg-descr
sed 's/^X//' >barbie_seahorse_adventures/pkg-descr << '4b8166ea74054a81ffec691a559f0321'
XYou are a seahorse and you want to go to the moon!
X
XWWW: http://www.imitationpickles.org/barbie/
4b8166ea74054a81ffec691a559f0321
echo x - barbie_seahorse_adventures/distinfo
sed 's/^X//' >barbie_seahorse_adventures/distinfo << '9aa113740b3f8335bb37125a340d8a6d'
XSHA256 (python/barbie-1.0.tar.gz) = 8a5312545e51b94a28194679b2a8b8a7558ac105b706fe07ccabab6d47537861
XSIZE (python/barbie-1.0.tar.gz) = 2172446
XSHA256 (python/barbie_seahorse_adventures.png) = 98b6052da805e533b38ed4b47116b208d8c253ec5cf2bd630a87d311a35488c1
XSIZE (python/barbie_seahorse_adventures.png) = 519
9aa113740b3f8335bb37125a340d8a6d
echo c - barbie_seahorse_adventures/files
mkdir -p barbie_seahorse_adventures/files > /dev/null 2>&1
echo x - barbie_seahorse_adventures/files/barbie_seahorse_adventures.in
sed 's/^X//' >barbie_seahorse_adventures/files/barbie_seahorse_adventures.in << '01c23c1cc1e6669372f5306b8940d80f'
X#!/bin/sh
X#
X# $FreeBSD$
X
Xcd "%%DATADIR%%"
X./run_game.py "$@"
01c23c1cc1e6669372f5306b8940d80f
exit

