#!/bin/sh
# This is a shell archive
echo x lang/scratch
mkdir -p lang/scratch > /dev/null 2>&1
echo x lang/scratch/Makefile
sed 's/^X//' > lang/scratch/Makefile << 'SHAR_END'
X# $FreeBSD$
X
XPORTNAME=	scratch
XPORTVERSION=	1.4.0.7
XCATEGORIES=	lang
XMASTER_SITES=	https://github.com/LLK/Scratch_1.4/raw/master/ https://codeberg.org/glowiak/dotfiles/raw/branch/master/scratch-port/ https://img.informer.com/icons/png/128/6501/
XDISTFILES=	Scratch.image 6501214.png scratch.sh Scratch14.desktop
XNO_BUILD=
XDEPENDS=	squeak>0:lang/squeak
XEXTRACT_ONLY=	
X
XMAINTAINER=	glowiak1111@yandex.com
XCOMMENT=	Scratch 1.4 Offline Editor
XDATADIR1=	/usr/local
X
Xdo-install:
X	${MKDIR} -p ${STAGEDIR}/usr/local
X	${MKDIR} -p ${STAGEDIR}${DATADIR1}/share/applications ${STAGEDIR}${DATADIR1}/share/icons
X	${MKDIR} -p ${STAGEDIR}${DATADIR1}/bin
X	${MKDIR} -p ${STAGEDIR}${DATADIR1}/lib/scratch14
X	${CP} ${PORTSDIR}/distfiles/Scratch.image ${STAGEDIR}${DATADIR1}/lib/scratch14/Scratch.image
X	${CP} ${PORTSDIR}/distfiles/6501214.png ${STAGEDIR}${DATADIR1}/share/icons/Scratch14.png
X	${CP} ${PORTSDIR}/distfiles/scratch.sh ${STAGEDIR}${DATADIR1}/bin/scratch14
X	chmod 775 ${STAGEDIR}${DATADIR1}/bin/scratch14
X	${CP} ${PORTSDIR}/distfiles/Scratch14.desktop ${STAGEDIR}${DATADIR1}/share/applications/Scratch14.desktop
X	chmod 775 ${STAGEDIR}${DATADIR1}/share/applications/Scratch14.desktop
X
X.include <bsd.port.mk>
SHAR_END
echo x lang/scratch/distinfo
sed 's/^X//' > lang/scratch/distinfo << 'SHAR_END'
XSHA256 (6501214.png) = 787f9212b35953643963bd27873de28cb7c26d7c9d3246555e516efcb311073a
XSHA256 (Scratch.image) = 100c7ef83c2f0e2b3e885b645199bc70596fe93f036a312a45e209c0abb0191c
XSHA256 (Scratch14.desktop) = cc9a1c970af9b93bf584c82c71f469adddacfda01d5cc08afb2fc7faf74630b8
XSHA256 (distinfo) = e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
XSHA256 (scratch.sh) = ec76a370098f6e8b241d76bb591e35f5e38d79c5d9a49df2987f54a2fc17df9e
SHAR_END
echo x lang/scratch/pkg-descr
sed 's/^X//' > lang/scratch/pkg-descr << 'SHAR_END'
XScratch is graphical programing language to learn
Xhow it works
X
XWWW: http://scratch.mit.edu
SHAR_END
echo x lang/scratch/pkg-plist
sed 's/^X//' > lang/scratch/pkg-plist << 'SHAR_END'
Xbin/scratch14
Xlib/scratch14/Scratch.image
Xshare/applications/Scratch14.desktop
Xshare/icons/Scratch14.png
SHAR_END
exit
