summaryrefslogtreecommitdiff
path: root/lang/atlast/Makefile
blob: cadadbdad6f6c1c2c26e2aab8cb93d20d722c549 (plain)
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
PORTNAME=	atlast
PORTVERSION=	1.2
CATEGORIES=	lang
MASTER_SITES=	http://www.fourmilab.ch/atlast/download/${PORTVERSION}/

MAINTAINER=	ports@FreeBSD.org
COMMENT=	Autodesk Threaded Language Application System Toolkit
WWW=		https://www.fourmilab.ch/atlast/

LICENSE=	PD
LICENSE_FILE=	${WRKSRC}/COPYING

ALL_TARGET=	${PORTNAME}
PLIST_FILES=	bin/${PORTNAME}

PORTDOCS=	atlast.html atlast.pdf

OPTIONS_DEFINE=	DOCS

post-patch:
	@${REINPLACE_CMD} -e "/^COPTIONS = /s, = .*, = ${CFLAGS}, " \
		-e "/^CC = /s,= .*, = ${CC}," \
		${WRKSRC}/Makefile

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin

do-install-DOCS-on:
	@${MKDIR} ${STAGEDIR}${DOCSDIR}
.for f in ${PORTDOCS}
	${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR}
.endfor

.include <bsd.port.mk>