1996-07-27 22:44:11 -04:00
|
|
|
# New ports collection makefile for: moscow-ml
|
1998-08-02 13:38:24 -04:00
|
|
|
# Date created: 2 August 1998
|
1996-07-27 22:44:11 -04:00
|
|
|
# Whom: chuckr
|
|
|
|
#
|
1999-08-25 02:35:40 -04:00
|
|
|
# $FreeBSD$
|
1996-07-27 22:44:11 -04:00
|
|
|
#
|
|
|
|
|
2000-04-12 02:21:15 -04:00
|
|
|
PORTNAME= moscow_ml
|
|
|
|
PORTVERSION= 1.4
|
1996-11-11 21:19:40 -05:00
|
|
|
CATEGORIES= lang
|
1996-07-27 22:44:11 -04:00
|
|
|
MASTER_SITES= ftp://ftp.dina.kvl.dk/pub/mosml/ \
|
|
|
|
ftp://ftp.csd.uu.se/pub/mirror/mosml/ \
|
|
|
|
ftp://ftp.dcs.ed.ac.uk/pub/ml/Moscow/
|
2000-04-12 02:21:15 -04:00
|
|
|
DISTNAME= mos14src
|
1996-07-29 18:33:14 -04:00
|
|
|
|
1996-07-27 22:44:11 -04:00
|
|
|
MAINTAINER= chuckr@freefall.FreeBSD.org
|
1996-07-29 18:33:14 -04:00
|
|
|
|
1998-08-02 13:38:24 -04:00
|
|
|
ALL_TARGET= world MOSMLHOME=$(PREFIX)/moscow_ml
|
|
|
|
INSTALL_TARGET= install MOSMLHOME=$(PREFIX)/moscow_ml
|
1996-07-27 22:44:11 -04:00
|
|
|
WRKSRC= ${WRKDIR}/mosml/src
|
|
|
|
|
|
|
|
post-install:
|
|
|
|
.if !defined(NOPORTDOCS)
|
1996-11-11 21:19:40 -05:00
|
|
|
${MKDIR} ${PREFIX}/moscow_ml/doc
|
1998-08-02 13:38:24 -04:00
|
|
|
${MKDIR} ${PREFIX}/moscow_ml/doc/mosmllib
|
1996-11-11 21:19:40 -05:00
|
|
|
${MKDIR} ${PREFIX}/moscow_ml/examples
|
1996-10-11 14:58:01 -04:00
|
|
|
for file in ${WRKDIR}/mosml/doc/*;do \
|
1998-08-02 13:38:24 -04:00
|
|
|
if [ -f $${file} ]; then\
|
|
|
|
${INSTALL_DATA} $${file} ${PREFIX}/moscow_ml/doc;fi;done
|
|
|
|
for file in ${WRKDIR}/mosml/doc/mosmllib/*;do \
|
|
|
|
${INSTALL_DATA} $${file} ${PREFIX}/moscow_ml/doc/mosmllib;done
|
1996-07-27 22:44:11 -04:00
|
|
|
(cd ${WRKDIR}/mosml/examples; \
|
1996-10-11 14:58:01 -04:00
|
|
|
${INSTALL_DATA} README ${PREFIX}/moscow_ml/examples; \
|
|
|
|
for sdirs in manual mls helpsigs calc pretty lexyacc;do \
|
1996-11-21 04:32:45 -05:00
|
|
|
${MKDIR} ${PREFIX}/moscow_ml/examples/$${sdirs}; \
|
1996-10-11 14:58:01 -04:00
|
|
|
for file in $${sdirs}/*;do \
|
1998-08-02 13:38:24 -04:00
|
|
|
if [ -f $${file} ]; then\
|
|
|
|
${INSTALL_DATA} $${file} ${PREFIX}/moscow_ml/examples/$${sdirs}; fi; \
|
1996-07-27 22:44:11 -04:00
|
|
|
done; done;)
|
|
|
|
.endif
|
1998-08-02 13:38:24 -04:00
|
|
|
for file in $(PREFIX)/moscow_ml/bin/*;do \
|
|
|
|
if [ -f $${file} ]; then\
|
1998-08-26 01:29:36 -04:00
|
|
|
$(LN) -sf $${file} $(PREFIX)/bin;fi;done
|
1996-07-27 22:44:11 -04:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|