summaryrefslogtreecommitdiff
path: root/lang/moscow_ml/Makefile
blob: 6f382efa67bd62336afea00ed8def95373e0aefa (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
42
43
44
# $NetBSD: Makefile,v 1.32 2012/10/03 21:56:19 wiz Exp $

DISTNAME=	mos201src
PKGNAME=	moscow_ml-2.01
PKGREVISION=	2
CATEGORIES=	lang
MASTER_SITES=	http://www.itu.dk/people/sestoft/mosml/

MAINTAINER=	pkgsrc-users@NetBSD.org
HOMEPAGE=	http://www.dina.kvl.dk/~sestoft/mosml.html
COMMENT=	Moscow ML, a version of Standard ML

WRKSRC=		${WRKDIR}/mosml/src
USE_TOOLS+=	perl pax

BUILD_TARGET=	clean world
MAKE_JOBS_SAFE=	no

INSTALLATION_DIRS+=	share/examples/moscow_ml/calc
INSTALLATION_DIRS+=	share/examples/moscow_ml/cgi
INSTALLATION_DIRS+=	share/examples/moscow_ml/lexyacc
INSTALLATION_DIRS+=	share/examples/moscow_ml/lexyacc/cl
INSTALLATION_DIRS+=	share/examples/moscow_ml/manual
INSTALLATION_DIRS+=	share/examples/moscow_ml/mls
INSTALLATION_DIRS+=	share/examples/moscow_ml/modules
INSTALLATION_DIRS+=	share/examples/moscow_ml/parsercomb
INSTALLATION_DIRS+=	share/examples/moscow_ml/paulson
INSTALLATION_DIRS+=	share/examples/moscow_ml/pretty
INSTALLATION_DIRS+=	share/examples/moscow_ml/small
INSTALLATION_DIRS+=	share/examples/moscow_ml/units
INSTALLATION_DIRS+=	share/examples/moscow_ml/weak
INSTALLATION_DIRS+=	share/examples/moscow_ml/webserver

post-extract:
	${CHMOD} -x ${WRKDIR}/mosml/examples/modules/matrix.sml

post-install:
	cd ${WRKDIR}/mosml/examples && ${PAX} -rw . \
		${DESTDIR}${PREFIX}/share/examples/moscow_ml
	${CHOWN} -R ${SHAREOWN}:${SHAREGRP} \
		${DESTDIR}${PREFIX}/share/examples/moscow_ml
	${CHMOD} -R ugo+rX ${DESTDIR}${PREFIX}/share/examples/moscow_ml

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