aboutsummaryrefslogtreecommitdiff
path: root/lang/retro12/Makefile
blob: 5a7ae58951503049a73e3ee0debe15ed05dcb5eb (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
PORTNAME=	retro12
DISTVERSION=	2023.3
CATEGORIES=	lang
MASTER_SITES=	http://forthworks.com/retro/r/ \
		https://forthworks.com/retro/r/
DISTNAME=	${PORTNAME:tu}-${DISTVERSION}

MAINTAINER=	crc@forthworks.com
COMMENT=	Clean, elegant, and pragmatic dialect of Forth
WWW=		https://forthworks.com/retro

LICENSE=	ISCL
LICENSE_FILE=	${WRKSRC}/LICENSE

USES=		shebangfix
USE_CSTD=	c99

SHEBANG_FILES=	example/Atua*
SHEBANG_LANG=	retro

MAKE_ENV=	DATADIR=${DATADIR} \
		DESTDIR=${DESTDIR} \
		DOCSDIR=${DOCSDIR} \
		EXAMPLESDIR=${EXAMPLESDIR} \
		PREFIX=${PREFIX}
# There are race conditions in the makefile due to missing dependencies for
# targets as upstream tests releases on single core machines.
MAKE_JOBS_UNSAFE=	yes
INSTALL_TARGET=	install-strip
TEST_TARGET=	test

PLIST_FILES=	bin/retro \
		bin/retro-describe \
		bin/retro-document \
		bin/retro-embedimage \
		bin/retro-extend \
		bin/retro-locate \
		bin/retro-muri \
		bin/retro-tags \
		bin/retro-unu

PORTDATA=	glossary.retro ngaImage tests words.tsv

PORTDOCS=	README.md RELEASE-NOTES RETRO-Book.md words.tsv

PORTEXAMPLES=	example

OPTIONS_DEFINE=	DOCS EXAMPLES

.include <bsd.port.mk>