summaryrefslogtreecommitdiff
path: root/devel/sml_tk/files/patch-src-Makefile
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2008-06-21 09:56:54 +0000
committerMartin Wilke <miwi@FreeBSD.org>2008-06-21 09:56:54 +0000
commita15faa6309adb4b41cc265c2c5a9943b92c3c9b5 (patch)
tree19cb3988e31364642a7fee8bdfb87580516d7cdb /devel/sml_tk/files/patch-src-Makefile
parent- Update to 0.3.7. (diff)
sml_tk is a Standard ML package providing a portable, typed and abstract
interface to the user interface description and command language Tcl/Tk. It allows the implementation of graphical user interfaces in a structured and reusable way, supported by the powerful module system of Standard ML. WWW: http://www.informatik.uni-bremen.de/~cxl/sml_tk PR: ports/119640 Submitted by: Timothy Bourke <timbob at bigpond.com>
Notes
Notes: svn path=/head/; revision=215448
Diffstat (limited to 'devel/sml_tk/files/patch-src-Makefile')
-rw-r--r--devel/sml_tk/files/patch-src-Makefile27
1 files changed, 27 insertions, 0 deletions
diff --git a/devel/sml_tk/files/patch-src-Makefile b/devel/sml_tk/files/patch-src-Makefile
new file mode 100644
index 000000000000..7f7e7459a5b7
--- /dev/null
+++ b/devel/sml_tk/files/patch-src-Makefile
@@ -0,0 +1,27 @@
+--- src/Makefile.orig Fri Mar 30 23:38:56 2001
++++ src/Makefile Sun Jan 13 21:53:55 2008
+@@ -12,10 +12,18 @@
+ ##
+
+ all :
++.if ${SMLTK_STABILIZE} == "yes"
++ echo "CM.stabilize true \"sources.cm\"; \
++ CM.make \"sources.cm\"; \
++ SmlTk.init(); \
++ SmlTk.xSmlTk {imagefile=\"$(SMLTK_BINARY)\", banner=\"$(SMLTK_BANNER)\"};" | \
++ $(SMLTK_COMP)
++.else
+ echo "use \"$(SMLTK_ROOT)\"; \
+ SmlTk.init(); \
+ SmlTk.xSmlTk {imagefile=\"$(SMLTK_BINARY)\", banner=\"$(SMLTK_BANNER)\"};" | \
+ $(SMLTK_COMP)
++.endif
+
+ allI :
+ echo "CM.SymVal.define(\"TK_INSIDE\", 1); \
+@@ -27,4 +35,4 @@
+ clean :
+ cd toolkit; $(MAKE) clean
+ cd tests+examples; $(MAKE) clean
+- rm -r -f CM .depend .x86 .sparc
++ rm -r -f .cm .depend .x86 .sparc