On Oct 30, 2014, at 10:30 AM, [email protected] wrote:
> Revision
> 127599
> Author
> [email protected]
> Date
> 2014-10-30 07:30:10 -0700 (Thu, 30 Oct 2014)
> Log Message
> +extract {
> + file copy ${distpath}/mediawiki.el ${worksrcpath}
> +}
You can use the "copy" command for this.
> +destroot {
> + file mkdir ${destroot}${prefix}/share/emacs/site-lisp
> + file copy ${workpath}/${worksrcdir} \
> + ${destroot}${prefix}/share/emacs/site-lisp
> +}
You can use the "install -d" and "copy" commands here.
> +notes "To use ${name}, add the following to your ~/.emacs:\n\
> +\n\
> + (require 'mediawiki)\n\
> +\n\
> +Once the mediawiki mode is loaded, one can customize the variable\n\
> +mediawiki-site-alist to set up information by issuing:\n\
> +\n\
> + M-x customize-variable RET mediawiki-site-alist RET"
All these '\n's are unnecessary and are really ugly to boot. Double quotes
preserve newlines; just start new lines where you want new lines to start. And
the line-ending backslashes are only necessary for explicit line continuation.
See the zsh Portfile, for example.
vq
_______________________________________________
macports-dev mailing list
[email protected]
https://lists.macosforge.org/mailman/listinfo/macports-dev