summaryrefslogtreecommitdiff
path: root/devel/rsltc/Makefile
blob: 6a2ff79aa2e07c8fb2e13777bc4db63c634b3819 (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
35
36
37
38
39
40
41
# $NetBSD: Makefile,v 1.13 2010/09/26 11:03:05 obache Exp $
#

DISTNAME=		rsltcsrc
PKGNAME=		rsltc-2.4
PKGREVISION=		2
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

DEPENDS+=		gentle>=97:../../devel/gentle

PKG_DESTDIR_SUPPORT=	user-destdir

MAKE_FILE=		make_sunos
USE_TOOLS+=		bison gmake lex
WRKSRC=			${WRKDIR}/rsl.2.4
INSTALLATION_DIRS=	bin

MAKE_FLAGS+=		LEX=${LEX}

MAKE_JOBS_SAFE=		no

post-extract:
	${CP} ${FILESDIR}/path.el ${WRKSRC}

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

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