0982effce2
having a PKGNAME of p5-*, or depending such a package, for perl-5.22.0.
44 lines
1.5 KiB
Makefile
44 lines
1.5 KiB
Makefile
# $NetBSD: Makefile,v 1.35 2015/06/12 10:50:16 wiz Exp $
|
|
|
|
DISTNAME= mos201src
|
|
PKGNAME= moscow_ml-2.01
|
|
PKGREVISION= 5
|
|
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"
|