1996-07-28 02:44:11 +00:00
|
|
|
# New ports collection makefile for: moscow-ml
|
1998-08-02 17:38:24 +00:00
|
|
|
# Version required: 1.43
|
|
|
|
# Date created: 2 August 1998
|
1996-07-28 02:44:11 +00:00
|
|
|
# Whom: chuckr
|
|
|
|
#
|
1998-08-26 05:29:36 +00:00
|
|
|
# $Id: Makefile,v 1.10 1998/08/02 17:42:01 chuckr Exp $
|
1996-07-28 02:44:11 +00:00
|
|
|
#
|
|
|
|
|
|
|
|
DISTNAME= mos14src
|
1996-07-29 22:33:14 +00:00
|
|
|
PKGNAME= moscow_ml-1.4
|
1996-11-12 02:19:40 +00:00
|
|
|
CATEGORIES= lang
|
1996-07-28 02:44:11 +00: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/
|
1996-07-29 22:33:14 +00:00
|
|
|
|
1996-07-28 02:44:11 +00:00
|
|
|
MAINTAINER= chuckr@freefall.FreeBSD.org
|
1996-07-29 22:33:14 +00:00
|
|
|
|
1998-08-02 17:38:24 +00:00
|
|
|
ALL_TARGET= world MOSMLHOME=$(PREFIX)/moscow_ml
|
|
|
|
INSTALL_TARGET= install MOSMLHOME=$(PREFIX)/moscow_ml
|
1996-07-28 02:44:11 +00:00
|
|
|
WRKSRC= ${WRKDIR}/mosml/src
|
|
|
|
|
|
|
|
post-install:
|
|
|
|
.if !defined(NOPORTDOCS)
|
1996-11-12 02:19:40 +00:00
|
|
|
${MKDIR} ${PREFIX}/moscow_ml/doc
|
1998-08-02 17:38:24 +00:00
|
|
|
${MKDIR} ${PREFIX}/moscow_ml/doc/mosmllib
|
1996-11-12 02:19:40 +00:00
|
|
|
${MKDIR} ${PREFIX}/moscow_ml/examples
|
1996-10-11 18:58:01 +00:00
|
|
|
for file in ${WRKDIR}/mosml/doc/*;do \
|
1998-08-02 17:38:24 +00: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-28 02:44:11 +00:00
|
|
|
(cd ${WRKDIR}/mosml/examples; \
|
1996-10-11 18:58:01 +00:00
|
|
|
${INSTALL_DATA} README ${PREFIX}/moscow_ml/examples; \
|
|
|
|
for sdirs in manual mls helpsigs calc pretty lexyacc;do \
|
1996-11-21 09:32:45 +00:00
|
|
|
${MKDIR} ${PREFIX}/moscow_ml/examples/$${sdirs}; \
|
1996-10-11 18:58:01 +00:00
|
|
|
for file in $${sdirs}/*;do \
|
1998-08-02 17:38:24 +00:00
|
|
|
if [ -f $${file} ]; then\
|
|
|
|
${INSTALL_DATA} $${file} ${PREFIX}/moscow_ml/examples/$${sdirs}; fi; \
|
1996-07-28 02:44:11 +00:00
|
|
|
done; done;)
|
|
|
|
.endif
|
1998-08-02 17:38:24 +00:00
|
|
|
for file in $(PREFIX)/moscow_ml/bin/*;do \
|
|
|
|
if [ -f $${file} ]; then\
|
1998-08-26 05:29:36 +00:00
|
|
|
$(LN) -sf $${file} $(PREFIX)/bin;fi;done
|
1996-07-28 02:44:11 +00:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|