summaryrefslogtreecommitdiff
path: root/lang/moscow_ml/Makefile
diff options
context:
space:
mode:
authorChuck Robey <chuckr@FreeBSD.org>1998-08-02 17:38:24 +0000
committerChuck Robey <chuckr@FreeBSD.org>1998-08-02 17:38:24 +0000
commit555f6b44ace61295d721f05daa51063bd8e016da (patch)
treef02d4dfafa7ee8fc53f66c44ce94085385bc806c /lang/moscow_ml/Makefile
parentUpgrade to Website META Language, Version 1.6.7 (diff)
Update moscow_ml to version 1.43. This is a good version of ml if
you are limited in space. If you have no space limitations, I'd really recommend the new smlnj port instead.
Notes
Notes: svn path=/head/; revision=12251
Diffstat (limited to 'lang/moscow_ml/Makefile')
-rw-r--r--lang/moscow_ml/Makefile23
1 files changed, 16 insertions, 7 deletions
diff --git a/lang/moscow_ml/Makefile b/lang/moscow_ml/Makefile
index 3cba75ed2e77..2f143e547b95 100644
--- a/lang/moscow_ml/Makefile
+++ b/lang/moscow_ml/Makefile
@@ -1,9 +1,9 @@
# New ports collection makefile for: moscow-ml
-# Version required: 1.4
-# Date created: 26 July 1996
+# Version required: 1.43
+# Date created: 2 August 1998
# Whom: chuckr
#
-# $Id: Makefile,v 1.7 1996/11/21 09:32:45 asami Exp $
+# $Id: Makefile,v 1.8 1997/12/02 04:46:09 asami Exp $
#
DISTNAME= mos14src
@@ -15,23 +15,32 @@ MASTER_SITES= ftp://ftp.dina.kvl.dk/pub/mosml/ \
MAINTAINER= chuckr@freefall.FreeBSD.org
-BROKEN= install
-ALL_TARGET= world
+#BROKEN= install
+ALL_TARGET= world MOSMLHOME=$(PREFIX)/moscow_ml
+INSTALL_TARGET= install MOSMLHOME=$(PREFIX)/moscow_ml
WRKSRC= ${WRKDIR}/mosml/src
post-install:
.if !defined(NOPORTDOCS)
${MKDIR} ${PREFIX}/moscow_ml/doc
+ ${MKDIR} ${PREFIX}/moscow_ml/doc/mosmllib
${MKDIR} ${PREFIX}/moscow_ml/examples
for file in ${WRKDIR}/mosml/doc/*;do \
- ${INSTALL_DATA} $${file} ${PREFIX}/moscow_ml/doc;done
+ 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
(cd ${WRKDIR}/mosml/examples; \
${INSTALL_DATA} README ${PREFIX}/moscow_ml/examples; \
for sdirs in manual mls helpsigs calc pretty lexyacc;do \
${MKDIR} ${PREFIX}/moscow_ml/examples/$${sdirs}; \
for file in $${sdirs}/*;do \
- ${INSTALL_DATA} $${file} ${PREFIX}/moscow_ml/examples/$${sdirs}; \
+ if [ -f $${file} ]; then\
+ ${INSTALL_DATA} $${file} ${PREFIX}/moscow_ml/examples/$${sdirs}; fi; \
done; done;)
.endif
+ for file in $(PREFIX)/moscow_ml/bin/*;do \
+ if [ -f $${file} ]; then\
+ $(LN) -s $${file} $(PREFIX)/bin;fi;done
.include <bsd.port.mk>