[31162] trunk/dports/lang

bfulgham at macports.org bfulgham at macports.org
Fri Nov 16 23:19:21 PST 2007


Revision: 31162
          http://trac.macosforge.org/projects/macports/changeset/31162
Author:   bfulgham at macports.org
Date:     2007-11-16 23:19:20 -0800 (Fri, 16 Nov 2007)

Log Message:
-----------
Commit new port
Fixes #12643

Added Paths:
-----------
    trunk/dports/lang/sml-mode.el/
    trunk/dports/lang/sml-mode.el/Portfile

Added: trunk/dports/lang/sml-mode.el/Portfile
===================================================================
--- trunk/dports/lang/sml-mode.el/Portfile	                        (rev 0)
+++ trunk/dports/lang/sml-mode.el/Portfile	2007-11-17 07:19:20 UTC (rev 31162)
@@ -0,0 +1,43 @@
+# $Id:
+
+PortSystem			1.0
+name				sml-mode.el
+version				4.0
+revision			0
+categories			lang editors
+maintainers			marcuscalhounlopez at mac.com
+description			An EMACS major mode for editing Standard ML
+long_description	${description}
+homepage			http://www.iro.umontreal.ca/~monnier/elisp/
+platforms			darwin
+distname			sml-mode-${version}
+master_sites		http://www.iro.umontreal.ca/~monnier/elisp/
+checksums			md5 dddcadd1ee488a5f70e875e6d20f69fc
+
+#depends_lib			path:${prefix}/bin/emacs:emacs
+
+use_configure		no
+
+build.target		elcfiles
+destroot.target		install_elc install_el prefix=${destroot}${prefix}
+
+variant docs description {Install extra documentation} {
+	depends_run-append	port:teTeX
+	build.target-append	info dvi postscript
+	destroot.target-append	install_info install_dvi \
+				infodir=${destroot}${prefix}/share/info \
+				docdir=${destroot}${prefix}/share/doc/${name}-${version}
+	
+	post-destroot {
+		xinstall -m 0755 -d ${destroot}${prefix}/share/doc/${name}-${version}
+		eval xinstall -m 0644 [glob ${worksrcpath}/*.ps] ${destroot}${prefix}/share/doc/${name}-${version}
+	}
+}
+
+post-activate {
+	ui_msg "To use this, put the following into your ~/.emacs:"
+	ui_msg "(load \"${prefix}/share/emacs/site-lisp/sml-mode/sml-mode-startup\")"
+}
+
+livecheck.check regex
+livecheck.regex sml-mode-(\\d+(?:\\.\\d+)*)${extract.suffix}

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20071116/bb43ade4/attachment.html


More information about the macports-changes mailing list