aboutsummaryrefslogtreecommitdiffstats
path: root/lang/nml/Makefile
blob: bbd5e867d99b5502f60df2dd9cc11b060b0359b2 (plain) (blame)
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
# New ports collection makefile for:    nML
# Date created:     17 July 2001
# Whom:         Jaeho Shin <netj@ropas.kaist.ac.kr>
#
# $FreeBSD$
#

PORTNAME=   nml
PORTVERSION=    0.92
CATEGORIES= lang
MASTER_SITES=   http://ropas.kaist.ac.kr/n/

MAINTAINER= netj@ropas.kaist.ac.kr
COMMENT=    A dialect/harmony of Standard ML of New Jersey and Objective Caml.

HAS_CONFIGURE=  yes
CONFIGURE_ARGS+=    \
        -prefix ${PREFIX}

USE_GMAKE=  yes
ALL_TARGET= all opt opt.opt
INSTALL_TARGET= install installopt

post-install:
.if !defined(NOPORTDOCS)
    ${MKDIR} ${DOCSDIR}
    ${INSTALL_DATA} ${WRKSRC}/Changes ${WRKSRC}/LICENSE ${WRKSRC}/README ${DOCSDIR}
    ${MKDIR} ${DATADIR}/contrib/emacs
    ${MKDIR} ${DATADIR}/contrib/vim
    ${INSTALL_DATA} ${WRKSRC}/contrib/emacs/* ${DATADIR}/contrib/emacs
    ${INSTALL_DATA} ${WRKSRC}/contrib/vim/* ${DATADIR}/contrib/vim
.endif
    @strip ${PREFIX}/bin/ncamlrun

.include <bsd.port.mk>