summaryrefslogtreecommitdiff
path: root/devel/rsltc/Makefile
blob: fe5ee10632936cb14cdb859becc00c483aab281a (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 2005/04/11 21:45:38 tv Exp $
#

DISTNAME=		rsltcsrc
PKGNAME=		rsltc-2.4
CATEGORIES=		devel
MASTER_SITES=		http://www.iist.unu.edu/newrh/III/3/1/docs/rsltc/source/
EXTRACT_SUFX=		.tgz

MAINTAINER=		MarkoSchuetz@web.de
HOMEPAGE=		http://www.iist.unu.edu/newrh/III/3/1/page.html
COMMENT=		RAISE Specification Language Type Checker

BUILD_DEPENDS+=		bison-[0-9]*:../../devel/bison
DEPENDS+=		gentle>=97:../../devel/gentle

MAKEFILE=		make_sunos
USE_GNU_TOOLS+=		make
WRKSRC=			${WRKDIR}/rsl.2.4

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/rsltc ${PREFIX}/bin
	${INSTALL_DATA_DIR} ${PREFIX}/share/emacs/site-lisp/rsl
	(cd ${WRKSRC} ; for i in rsltc.el tokenise.el rslconvert.el rsl-mode.el ; do\
		${EMACS_BIN} -batch -f batch-byte-compile $$i ;\
		${INSTALL_DATA} $$i ${PREFIX}/share/emacs/site-lisp/rsl ;\
		${INSTALL_DATA} $${i}c ${PREFIX}/share/emacs/site-lisp/rsl ;\
	done)

.include "../../mk/emacs.mk"
.include "../../mk/bsd.pkg.mk"