View | Details | Raw Unified | Return to bug 258521
Collapse All | Expand All

(-)b/lang/scratch/Makefile (+30 lines)
Added Link Here
1
PORTNAME=	scratch
2
PORTVERSION=	1.4.0.7
3
CATEGORIES=	lang
4
MASTER_SITES=	https://github.com/LLK/Scratch_1.4/raw/master/ \
5
		https://codeberg.org/glowiak/dotfiles/raw/branch/master/scratch-port/ \
6
		https://img.informer.com/icons/png/128/6501/
7
DISTFILES=	Scratch.image 6501214.png scratch.sh Scratch14.desktop
8
EXTRACT_ONLY=	# none
9
10
MAINTAINER=	glowiak1111@yandex.com
11
COMMENT=	Scratch 1.4 Offline Editor
12
13
LICENSE=	GPLv2
14
15
RUN_DEPENDS=	squeak>0:lang/squeak
16
17
NO_BUILD=	yes
18
19
do-install:
20
	${MKDIR} ${STAGEDIR}${PREFIX}
21
	${MKDIR} ${STAGEDIR}${PREFIX}/share/applications
22
	${MKDIR} ${STAGEDIR}${PREFIX}/share/icons
23
	${MKDIR} ${STAGEDIR}${PREFIX}/bin
24
	${MKDIR} ${STAGEDIR}${PREFIX}/lib/scratch14
25
	${CP} ${PORTSDIR}/distfiles/Scratch.image ${STAGEDIR}${PREFIX}/lib/scratch14/Scratch.image
26
	${CP} ${PORTSDIR}/distfiles/6501214.png ${STAGEDIR}${PREFIX}/share/icons/Scratch14.png
27
	${CP} ${PORTSDIR}/distfiles/scratch.sh ${STAGEDIR}${PREFIX}/bin/scratch14
28
	${CP} ${PORTSDIR}/distfiles/Scratch14.desktop ${STAGEDIR}${PREFIX}/share/applications/Scratch14.desktop
29
30
.include <bsd.port.mk>
(-)b/lang/scratch/distinfo (+9 lines)
Added Link Here
1
TIMESTAMP = 1631796412
2
SHA256 (Scratch.image) = 100c7ef83c2f0e2b3e885b645199bc70596fe93f036a312a45e209c0abb0191c
3
SIZE (Scratch.image) = 5682544
4
SHA256 (6501214.png) = 787f9212b35953643963bd27873de28cb7c26d7c9d3246555e516efcb311073a
5
SIZE (6501214.png) = 12297
6
SHA256 (scratch.sh) = ec76a370098f6e8b241d76bb591e35f5e38d79c5d9a49df2987f54a2fc17df9e
7
SIZE (scratch.sh) = 109
8
SHA256 (Scratch14.desktop) = cc9a1c970af9b93bf584c82c71f469adddacfda01d5cc08afb2fc7faf74630b8
9
SIZE (Scratch14.desktop) = 191
(-)b/lang/scratch/pkg-descr (+4 lines)
Added Link Here
1
Scratch is graphical programing language to learn
2
how it works
3
4
WWW: https://scratch.mit.edu
(-)b/lang/scratch/pkg-plist (+8 lines)
Added Link Here
1
@mode 0755
2
bin/scratch14
3
@mode
4
lib/scratch14/Scratch.image
5
@mode 0755
6
share/applications/Scratch14.desktop
7
@mode
8
share/icons/Scratch14.png

Return to bug 258521