Opened 11 years ago

Closed 8 years ago

#38740 closed enhancement (fixed)

sml-mode.el enhancement to support Emacs.app

Reported by: jrhope Owned by: MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)
Priority: Normal Milestone:
Component: ports Version:
Keywords: haspatch Cc:
Port: sml-mode.el

Description

The attached patch will enable building sml-mode.el with Emacs.app without requiring the emacs port to be installed.

Rather than creating an app variant, I follow the gnuplot port's example of searching for ${applications_dir}/Emacs.app/Contents/MacOS/Emacs, and if that does not exist then falling back to ${prefix}/bin/emacs. Either way, the files are installed to ${prefix}/share/emacs/site-lisp, and emacs will properly be a dependency if that path does not exist yet.

Attachments (1)

Portfile-sml-mode-el.diff (843 bytes) - added by jrhope 11 years ago.

Download all attachments as: .zip

Change History (3)

Changed 11 years ago by jrhope

Attachment: Portfile-sml-mode-el.diff added

comment:1 Changed 11 years ago by mf2k (Frank Schima)

Cc: mcalhoun removed
Keywords: haspatch added
Owner: changed from macports-tickets@… to mcalhoun@…
Version: 2.1.3

Trac requires complete email addresses.

comment:2 Changed 8 years ago by MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)

Resolution: fixed
Status: newclosed

Fixed in r145297.

Note: See TracTickets for help on using tickets.