1 # $NetBSD: Makefile,v 1.31 2012/10/02 20:11:46 asau Exp $
4 PKGNAME
= moscow_ml-2.01
7 MASTER_SITES
= http
://www.itu.dk
/people
/sestoft
/mosml
/
9 MAINTAINER
= pkgsrc-users@NetBSD.org
10 HOMEPAGE
= http
://www.dina.kvl.dk
/~sestoft
/mosml.html
11 COMMENT
= Moscow ML
, a version of Standard ML
13 WRKSRC
= ${WRKDIR}/mosml
/src
16 BUILD_TARGET
= clean world
19 INSTALLATION_DIRS
+= share
/examples
/moscow_ml
/calc
20 INSTALLATION_DIRS
+= share
/examples
/moscow_ml
/cgi
21 INSTALLATION_DIRS
+= share
/examples
/moscow_ml
/lexyacc
22 INSTALLATION_DIRS
+= share
/examples
/moscow_ml
/lexyacc
/cl
23 INSTALLATION_DIRS
+= share
/examples
/moscow_ml
/manual
24 INSTALLATION_DIRS
+= share
/examples
/moscow_ml
/mls
25 INSTALLATION_DIRS
+= share
/examples
/moscow_ml
/modules
26 INSTALLATION_DIRS
+= share
/examples
/moscow_ml
/parsercomb
27 INSTALLATION_DIRS
+= share
/examples
/moscow_ml
/paulson
28 INSTALLATION_DIRS
+= share
/examples
/moscow_ml
/pretty
29 INSTALLATION_DIRS
+= share
/examples
/moscow_ml
/small
30 INSTALLATION_DIRS
+= share
/examples
/moscow_ml
/units
31 INSTALLATION_DIRS
+= share
/examples
/moscow_ml
/weak
32 INSTALLATION_DIRS
+= share
/examples
/moscow_ml
/webserver
35 ${CHMOD} -x
${WRKDIR}/mosml
/examples
/modules
/matrix.sml
38 cd
${WRKDIR}/mosml
/examples
&& ${PAX} -rw . \
39 ${DESTDIR}${PREFIX}/share
/examples
/moscow_ml
40 ${CHOWN} -R
${SHAREOWN}:${SHAREGRP} \
41 ${DESTDIR}${PREFIX}/share
/examples
/moscow_ml
42 ${CHMOD} -R ugo
+rX
${DESTDIR}${PREFIX}/share
/examples
/moscow_ml
44 .
include "../../mk/bsd.pkg.mk"