#35716: New port: markdown-mode.el -------------------------------+-------------------------------- Reporter: cubranic@… | Owner: macports-tickets@… Type: submission | Status: new Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: markdown-mode.el | -------------------------------+-------------------------------- Comment (by jrblevin@…): I'm the author of markdown-mode and noticed this port submission recently. I'm a MacPorts user, but it had not occurred to me to make a Portfile for markdown-mode, so thanks for making one! I thought I'd provide some additional information in case it's helpful. Also, I'll note that there is a new version (1.9) since this Portfile was written. Replying to [comment:5 cubranic@…]:
Replying to [comment:4 jmr@…]:
The checksums don't match for me. If the distfile is being generated on demand, that is likely the reason, and is a problem. You're correct. I downloaded two distfiles a few minutes apart, and while the unpacked contents are identical, the distfiles themselves are not binary indentical because of GZIP's timestamp in the header.
The tarballs from the cgit interface are indeed automatically generated. In case they are useful, I've created "official" tarballs for each markdown-mode release which can be found, e.g., here: http://jblevins.org/projects/markdown-mode/markdown-mode-1.9.tar.gz I'll keep adding these for each new stable release, so feel free to pull the distfile using the corresponding URL pattern. Of course, currently only the `markdown-mode.el` file is needed for installation, so it's fine to just download that file directly. Replying to [comment:5 cubranic@…]:
I changed the portfile to download the files available as static content from the project's web site. (Attached.)
Although the stable version (used in the most recent Portfile attached above) has been on a long release cycle, I'd suggest that it be used for a primary package. If you still prefer to use the Git version (perhaps it could be called something like markdown-mode-git) then the latest .el file at the HEAD can be obtained directly here: http://jblevins.org/git/markdown-mode.git/plain/markdown-mode.el Also, in case it helps with automating things, the 'stable' branch in the Git repository always tracks the last release, and each release has a tag of the form 'v1.8.1' or 'v1.9': http://jblevins.org/git/markdown-mode.git/log/?h=stable Finally, is it possible (or even necessary) to create an `emacs_app` variant? I used something like the following in the Portfile I wrote for the ESS package: {{{ variant emacs_app description "If your Emacs is emacs-app" { depends_lib-append port:emacs-app depends_lib-delete port:emacs destroot.args-append EMACS=/Applications/MacPorts/Emacs.app/Contents/MacOS/Emacs destroot.args-append LISPDIR=${destroot}/Applications/MacPorts/Emacs.app/Contents/Resources /site-lisp/ess } }}} Or is the `emacs-app` package already configured to look in `${destroot}${prefix}/share/emacs/site-lisp`? Thanks again for this port and please let me know if there's anything I can do to help. -- Ticket URL: <https://trac.macports.org/ticket/35716#comment:6> MacPorts <http://www.macports.org/> Ports system for Mac OS