View | Details | Raw Unified | Return to bug 259448 | Differences between
and this patch

Collapse All | Expand All

(-)b/lang/mecrisp-stellaris/Makefile (-29 / +23 lines)
Lines 1-6 Link Here
1
PORTNAME=	mecrisp-stellaris
1
PORTNAME=	mecrisp-stellaris
2
DISTVERSION=	2.5.9
2
PORTVERSION=	2.6.1
3
PORTREVISION=	1
4
CATEGORIES=	lang
3
CATEGORIES=	lang
5
MASTER_SITES=	SF/mecrisp
4
MASTER_SITES=	SF/mecrisp
6
5
Lines 10-58 COMMENT= Native code Forth system for ARM Link Here
10
LICENSE=	GPLv3+
9
LICENSE=	GPLv3+
11
LICENSE_FILE=	${WRKSRC}/COPYING
10
LICENSE_FILE=	${WRKSRC}/COPYING
12
11
12
.if defined(QEMU_EMULATING)
13
IGNORE_aarch64=	fails to build with qemu-user-static: \
14
		qemu-aarch64-static cannot execute armv7 binaries
15
.endif
16
IGNORE_FreeBSD_12_aarch64=	OS too old to run armv7 binaries on arm64, upgrade to FreeBSD 13
17
ONLY_FOR_ARCHS=		aarch64 armv6 armv7
18
ONLY_FOR_ARCHS_REASON=	written in ARM assembly
19
13
BUILD_DEPENDS=	arm-none-eabi-binutils>2.25:devel/binutils@arm_none_eabi
20
BUILD_DEPENDS=	arm-none-eabi-binutils>2.25:devel/binutils@arm_none_eabi
14
21
22
# stripping eats our hand-crafted ELF binaries, so don't do that
23
# the binaries are free of symbols or stuff like that anyway
24
STRIP=
25
26
PKGMESSAGE=	pkg-message-${ARCH}
27
15
OPTIONS_DEFINE=		EXTRAS
28
OPTIONS_DEFINE=		EXTRAS
16
OPTIONS_DEFAULT=	EXTRAS
29
OPTIONS_DEFAULT=	EXTRAS
17
EXTRAS_DESC=		Add disassembler and math library to Forth core
30
EXTRAS_DESC=		Add disassembler and math library to Forth core
18
EXTRAS_VARS=		PROGRAM=mecrisp-stellaris-freebsd-with-disassembler-and-math
31
EXTRAS_VARS=		PROGRAM=mecrisp-stellaris-freebsd-with-disassembler-and-math
19
EXTRAS_VARS_OFF=	PROGRAM=mecrisp-stellaris-freebsd
32
EXTRAS_VARS_OFF=	PROGRAM=mecrisp-stellaris-freebsd
20
33
21
.include <bsd.port.pre.mk>
34
BINSUFFIX_armv6=	-armv6
22
35
BINSUFFIX=		${BINSUFFIX_${ARCH}}
23
.if ${OSVERSION} < 1300000
24
ONLY_FOR_ARCHS=	armv6 armv7
25
.else
26
ONLY_FOR_ARCHS=	aarch64 armv6 armv7
27
.endif
28
ONLY_FOR_ARCHS_REASON=	written in ARM assembly
29
30
.if ${ARCH} == "aarch64" && defined(QEMU_EMULATING)
31
IGNORE=		fails to build with qemu-user-static: \
32
		qemu-aarch64-static cannot execute armv7 binaries
33
.endif
34
35
PKGMESSAGE=	pkg-message-${ARCH}
36
37
AFLAGS.armv6=	-march=armv6 --defsym m0core=1
38
MAKE_ENV+=	AFLAGS="${AFLAGS.${ARCH}}"
39
40
# stripping eats our hand-crafted ELF binaries, so don't do that
41
# the binaries are free of symbols or stuff like that anyway
42
STRIP=
43
36
44
# Can't use the release script as it tries to build a bunch of stuff
37
# Can't use the release script as it tries to build a bunch of stuff
45
# that won't build correctly.  This does the relevant parts manually.
38
# that won't build correctly.  This does the relevant parts manually.
46
do-build:
39
do-build:
47
	cd ${WRKSRC}/mecrisp-stellaris-source/freebsd-ra && ${SETENV} ${MAKE_ENV} ${SH} -v assemble
40
	cd ${WRKSRC}/mecrisp-stellaris-source/freebsd-ra && ${SH} -v assemble
48
	${CP} ${WRKSRC}/mecrisp-stellaris-source/freebsd-ra/mecrisp-stellaris-freebsd ${WRKSRC}/freebsd-ra/
41
	${CP} ${WRKSRC}/mecrisp-stellaris-source/freebsd-ra/mecrisp-stellaris-freebsd${BINSUFFIX} \
49
	cd ${WRKSRC}/freebsd-ra && ${SETENV} ${MAKE_ENV} ${SH} -v buildcore-freebsd
42
		${WRKSRC}/freebsd-ra/mecrisp-stellaris-freebsd
43
	cd ${WRKSRC}/freebsd-ra && ${SH} -v buildcore-freebsd
50
44
51
do-install:
45
do-install:
52
	${MKDIR} ${STAGEDIR}${DOCSDIR}
46
	${MKDIR} ${STAGEDIR}${DOCSDIR}
53
	${INSTALL_MAN} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}
47
	${INSTALL_MAN} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}
54
	${INSTALL_MAN} ${WRKSRC}/KNOWN-ISSUES ${STAGEDIR}${DOCSDIR}
48
	${INSTALL_MAN} ${WRKSRC}/KNOWN-ISSUES ${STAGEDIR}${DOCSDIR}
55
	cd ${WRKSRC}/common; ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR}
49
	cd ${WRKSRC}/common && ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR}
56
	${INSTALL_PROGRAM} ${WRKSRC}/freebsd-ra/${PROGRAM} ${STAGEDIR}${PREFIX}/bin/mecrisp-stellaris
50
	${INSTALL_PROGRAM} ${WRKSRC}/freebsd-ra/${PROGRAM} ${STAGEDIR}${PREFIX}/bin/mecrisp-stellaris
57
51
58
.include <bsd.port.post.mk>
52
.include <bsd.port.mk>
(-)b/lang/mecrisp-stellaris/distinfo (-3 / +3 lines)
Lines 1-3 Link Here
1
TIMESTAMP = 1621882899
1
TIMESTAMP = 1635200337
2
SHA256 (mecrisp-stellaris-2.5.9.tar.gz) = 56539aeb2ff8f7d36f2149410255ec683b8279feb7dbadbda4e14a96528e598a
2
SHA256 (mecrisp-stellaris-2.6.1.tar.gz) = f8a41094bd2374eec262ddf9dfaa8ab95c997b7da5a9bf91c8524d03b96bfb94
3
SIZE (mecrisp-stellaris-2.5.9.tar.gz) = 5835193
3
SIZE (mecrisp-stellaris-2.6.1.tar.gz) = 5864349
(-)b/lang/mecrisp-stellaris/pkg-plist (-3 / +3 lines)
Lines 25-30 bin/mecrisp-stellaris Link Here
25
%%DATADIR%%/date-time-tests.fs
25
%%DATADIR%%/date-time-tests.fs
26
%%DATADIR%%/date-time.fs
26
%%DATADIR%%/date-time.fs
27
%%DATADIR%%/defcount.txt
27
%%DATADIR%%/defcount.txt
28
%%DATADIR%%/dictionary-tools.txt
28
%%DATADIR%%/disassembler-m0.txt
29
%%DATADIR%%/disassembler-m0.txt
29
%%DATADIR%%/disassembler-m3.txt
30
%%DATADIR%%/disassembler-m3.txt
30
%%DATADIR%%/dump.txt
31
%%DATADIR%%/dump.txt
Lines 33-39 bin/mecrisp-stellaris Link Here
33
%%DATADIR%%/experimental/bignum.txt
34
%%DATADIR%%/experimental/bignum.txt
34
%%DATADIR%%/experimental/definitioncount.txt
35
%%DATADIR%%/experimental/definitioncount.txt
35
%%DATADIR%%/experimental/float.txt
36
%%DATADIR%%/experimental/float.txt
36
%%DATADIR%%/experimental/forget-stellaris.txt
37
%%DATADIR%%/experimental/sv.fs
37
%%DATADIR%%/experimental/vocs-0.7.0/README
38
%%DATADIR%%/experimental/vocs-0.7.0/README
38
%%DATADIR%%/experimental/vocs-0.7.0/VOC-HOWTO-Classes-1.log
39
%%DATADIR%%/experimental/vocs-0.7.0/VOC-HOWTO-Classes-1.log
39
%%DATADIR%%/experimental/vocs-0.7.0/VOC-HOWTO-Classes-2.log
40
%%DATADIR%%/experimental/vocs-0.7.0/VOC-HOWTO-Classes-2.log
Lines 88-94 bin/mecrisp-stellaris Link Here
88
%%DATADIR%%/fonts/tiny/bdf2forth.pas
89
%%DATADIR%%/fonts/tiny/bdf2forth.pas
89
%%DATADIR%%/fonts/tiny/tom-thumb-b.txt
90
%%DATADIR%%/fonts/tiny/tom-thumb-b.txt
90
%%DATADIR%%/fonts/tiny/tom-thumb.bdf
91
%%DATADIR%%/fonts/tiny/tom-thumb.bdf
91
%%DATADIR%%/forget-stellaris.txt
92
%%DATADIR%%/forget.txt
92
%%DATADIR%%/graphics-unicode-3x3.txt
93
%%DATADIR%%/graphics-unicode-3x3.txt
93
%%DATADIR%%/graphics-unicode-4x6.txt
94
%%DATADIR%%/graphics-unicode-4x6.txt
94
%%DATADIR%%/graphics-unicode-8x16.txt
95
%%DATADIR%%/graphics-unicode-8x16.txt
95
- 

Return to bug 259448