summaryrefslogtreecommitdiff
path: root/lang/a60/Makefile
blob: 602884a308717445b9b116a2ee4ddc036ec992cd (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
# $NetBSD: Makefile,v 1.3 2002/02/18 15:14:23 seb Exp $

DISTNAME=	a60-0.20a
CATEGORIES=	lang
MASTER_SITES=	ftp://ftp.ibr.cs.tu-bs.de/pub/local/algol60/

MAINTAINER=	packages@netbsd.org
COMMENT=	Algol 60 interpreter

GNU_CONFIGURE=	yes

CPPFLAGS+= 	-Dunix

INFO_FILES=	RRA60.info a60.info

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/a60 ${PREFIX}/bin/
	${INSTALL_DATA_DIR} ${PREFIX}/share/a60/
	${INSTALL_DATA} ${WRKSRC}/a60-mkc.inc ${PREFIX}/share/a60/
	cd ${WRKSRC} && ${INSTALL_DATA} a60.info RRA60.info ${PREFIX}/info
	${INSTALL_MAN} ${WRKSRC}/a60.man ${PREFIX}/man/man1/a60.1
	${INSTALL_DATA_DIR} ${PREFIX}/share/examples/a60/
	cd ${WRKSRC}/examples && ${INSTALL_DATA} *.a60 README		\
		${PREFIX}/share/examples/a60/
	${INSTALL_DATA} ${WRKSRC}/xa60.* ${PREFIX}/share/examples/a60/
	${INSTALL_DATA_DIR} ${PREFIX}/share/doc/a60/
	cd ${WRKSRC} && ${INSTALL_DATA} a60.ps RRA60.ps			\
		${PREFIX}/share/doc/a60/

.include "../../mk/texinfo.mk"
.include "../../mk/bsd.pkg.mk"