[41583] trunk/dports/editors
nox at macports.org
nox at macports.org
Thu Nov 6 09:55:28 PST 2008
Revision: 41583
http://trac.macports.org/changeset/41583
Author: nox at macports.org
Date: 2008-11-06 09:55:28 -0800 (Thu, 06 Nov 2008)
Log Message:
-----------
po-mode.el: New port (closes #13598).
Added Paths:
-----------
trunk/dports/editors/po-mode.el/
trunk/dports/editors/po-mode.el/Portfile
Added: trunk/dports/editors/po-mode.el/Portfile
===================================================================
--- trunk/dports/editors/po-mode.el/Portfile (rev 0)
+++ trunk/dports/editors/po-mode.el/Portfile 2008-11-06 17:55:28 UTC (rev 41583)
@@ -0,0 +1,57 @@
+# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:filetype=tcl:et:sw=4:ts=4:sts=4
+# $Id$
+
+PortSystem 1.0
+
+name po-mode.el
+version 0.17
+categories devel
+maintainers nox openmaintainer
+platforms darwin
+
+description The 'po' file mode for Emacs
+
+long_description \
+ $description
+
+homepage http://www.gnu.org/software/gettext/
+master_sites gnu
+dist_subdir gettext
+distname gettext-$version
+
+checksums \
+ md5 58a2bc6d39c0ba57823034d55d65d606 \
+ sha1 c51803d9f745f6ace36bd09c0486d5735ce399cf \
+ rmd160 36df9d4ad2848ec26729781e0d7e25b419e7d261
+
+extract.post_args-append $distname/gettext-tools/misc
+
+depends_lib \
+ port:emacs
+
+worksrcdir $distname/gettext-tools/misc
+
+use_configure no
+
+build {
+ foreach lisp [glob -tails -directory $worksrcpath/ *.el] {
+ system "cd ${worksrcpath} && \
+ emacs --batch --eval \
+ '(progn (setq load-path (cons \".\" load-path)) \
+ (byte-compile-file \"$lisp\"))'"
+ }
+}
+
+destroot {
+ set lispdir $prefix/share/emacs/site-lisp
+
+ xinstall -d $destroot$lispdir
+ eval xinstall -m 644 [glob -directory $worksrcpath/ *.el*] \
+ $destroot$lispdir
+}
+
+universal_variant no
+
+livecheck.check regex
+livecheck.url http://ftp.gnu.org/gnu/gettext/?C=M&O=D
+livecheck.regex ${name}-(\[0-9.\]+)\\.tar
Property changes on: trunk/dports/editors/po-mode.el/Portfile
___________________________________________________________________
Added: svn:keywords
+ Id
Added: svn:eol-style
+ native
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20081106/7ddd21f4/attachment.html>
More information about the macports-changes
mailing list