svn commit: r568552 - in head/editors: . sly-asdf sly-asdf/files
Li-Wen Hsu
lwhsu at FreeBSD.org
Tue Mar 16 10:39:35 UTC 2021
Author: lwhsu
Date: Tue Mar 16 10:39:33 2021
New Revision: 568552
URL: https://svnweb.freebsd.org/changeset/ports/568552
Log:
Add editors/sly-asdf: SLY support for ASDF
PR: 254016
Submitted by: Olivier Certner <olivier.freebsd at free.fr>
Added:
head/editors/sly-asdf/
head/editors/sly-asdf/Makefile (contents, props changed)
head/editors/sly-asdf/distinfo (contents, props changed)
head/editors/sly-asdf/files/
head/editors/sly-asdf/files/patch-README.md (contents, props changed)
head/editors/sly-asdf/files/patch-sly-asdf.el (contents, props changed)
head/editors/sly-asdf/pkg-descr (contents, props changed)
head/editors/sly-asdf/pkg-message (contents, props changed)
head/editors/sly-asdf/pkg-plist (contents, props changed)
Modified:
head/editors/Makefile
Modified: head/editors/Makefile
==============================================================================
--- head/editors/Makefile Tue Mar 16 10:38:16 2021 (r568551)
+++ head/editors/Makefile Tue Mar 16 10:39:33 2021 (r568552)
@@ -232,6 +232,7 @@
SUBDIR += shed
SUBDIR += slime
SUBDIR += sly
+ SUBDIR += sly-asdf
SUBDIR += sly-named-readtables
SUBDIR += sly-quicklisp
SUBDIR += ssed
Added: head/editors/sly-asdf/Makefile
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/editors/sly-asdf/Makefile Tue Mar 16 10:39:33 2021 (r568552)
@@ -0,0 +1,54 @@
+# $FreeBSD$
+
+PORTNAME= sly-asdf
+PORTVERSION= 20210308
+CATEGORIES= editors elisp
+PKGNAMESUFFIX= ${EMACS_PKGNAMESUFFIX}
+
+MAINTAINER= olce.freebsd.ports at certner.fr
+COMMENT= SLY support for ASDF
+
+LICENSE= GPLv3
+
+MY_DEPENDS= ${PREFIX}/${EMACS_VERSION_SITE_LISPDIR}/sly/sly.el:editors/sly
+BUILD_DEPENDS= ${MY_DEPENDS}
+RUN_DEPENDS= ${MY_DEPENDS}
+
+USES= emacs
+USE_GITHUB= yes
+GH_ACCOUNT= mmgeorge
+GH_TAGNAME= bcaeba9b73b582ae1c4fadc23c71ee7e38d9a64e
+
+NO_ARCH= yes
+
+EMACS_COMPILE= ${EMACS_CMD} --batch --no-site-file -L ${WRKSRC} \
+ -f batch-byte-compile
+
+PLIST_THIS_LISPDIR= ${EMACS_VERSION_SITE_LISPDIR}/${PORTNAME}
+THIS_LISPDIR= ${PREFIX}/${PLIST_THIS_LISPDIR}
+PLIST_SUB+= THIS_LISPDIR=${PLIST_THIS_LISPDIR}
+
+OPTIONS_DEFINE= DOCS
+
+PORTDOCS= README.md
+
+post-patch:
+ cd ${WRKSRC} && ${RM} *flymake*
+
+do-build:
+ cd ${WRKSRC} && ${EMACS_COMPILE} sly-*.el
+
+do-install:
+ @${MKDIR} ${STAGEDIR}${THIS_LISPDIR}
+ (cd ${WRKSRC} && \
+ ${COPYTREE_SHARE} . ${STAGEDIR}${THIS_LISPDIR} \
+ "! ( -depth 1 ( ${PORTDOCS:C/^(.*)$/-name \1 -o/} \
+ -name LICENSE -o -name *\.md ) -o \
+ -path \./test* -o -path \./.[^.]* -o \
+ -name *\.orig )")
+
+post-install-DOCS-on:
+ ${MKDIR} ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_DATA} ${PORTDOCS:%=${WRKSRC}/%} ${STAGEDIR}${DOCSDIR}
+
+.include <bsd.port.mk>
Added: head/editors/sly-asdf/distinfo
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/editors/sly-asdf/distinfo Tue Mar 16 10:39:33 2021 (r568552)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1615760525
+SHA256 (mmgeorge-sly-asdf-20210308-bcaeba9b73b582ae1c4fadc23c71ee7e38d9a64e_GH0.tar.gz) = c23141f2c9a0dfff9a6452c7753f2c3d236ef0b36c5b1c967f61b898a3ab4ed7
+SIZE (mmgeorge-sly-asdf-20210308-bcaeba9b73b582ae1c4fadc23c71ee7e38d9a64e_GH0.tar.gz) = 42843
Added: head/editors/sly-asdf/files/patch-README.md
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/editors/sly-asdf/files/patch-README.md Tue Mar 16 10:39:33 2021 (r568552)
@@ -0,0 +1,16 @@
+--- README.md.orig 2021-03-08 03:32:35 UTC
++++ README.md
+@@ -16,9 +16,8 @@ Installing manually will require the contrib be regist
+ ```
+ (add-to-list 'sly-contribs 'sly-asdf 'append)
+ ```
++
+ ## Experimental
+-SLY-ASDF currently supports a very experimental system-aware checker that builds on flymake. This loads the system in a separate process and highlights any compilation/load errors for currently opened buffers. Only tested with SBCL. Enable this with
+-```
+-(setq sly-asdf-enable-experimental-syntax-checking t)
+-(require 'sly-asdf-flymake)
+-```
++Upstream currently supports a very experimental system-aware checker that
++builds on flymake. It is not available in this port (please use some ELPA
++package instead).
Added: head/editors/sly-asdf/files/patch-sly-asdf.el
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/editors/sly-asdf/files/patch-sly-asdf.el Tue Mar 16 10:39:33 2021 (r568552)
@@ -0,0 +1,13 @@
+--- sly-asdf.el.orig 2021-03-08 03:32:35 UTC
++++ sly-asdf.el
+@@ -354,10 +354,5 @@ in the directory of the current buffer."
+
+
+
+-;;;###autoload
+-(with-eval-after-load 'sly
+- (add-to-list 'sly-contribs 'sly-asdf 'append))
+-
+-
+ (provide 'sly-asdf)
+ ;;; sly-asdf.el ends here
Added: head/editors/sly-asdf/pkg-descr
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/editors/sly-asdf/pkg-descr Tue Mar 16 10:39:33 2021 (r568552)
@@ -0,0 +1,4 @@
+sly-asdf is an external contrib for SLY that enables specific support and
+shortcuts for ASDF operations.
+
+WWW: https://github.com/mmgeorge/sly-asdf
Added: head/editors/sly-asdf/pkg-message
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/editors/sly-asdf/pkg-message Tue Mar 16 10:39:33 2021 (r568552)
@@ -0,0 +1,27 @@
+[
+{ type: install
+ message: <<EOM
+To use the sly-asdf contrib, you must:
+1. Register sly-asdf into SLY. You just have to add this line to some init
+ file:
+(require 'sly-asdf)
+ Doing this is not strictly necessary if you want to automatically activate
+ this contrib using `sly-contribs' (see below), but it never hurts.
+ This contrib's automatic activation at load was disabled, contrary to what
+ upstream does.
+2. Ensure that ASDF is loaded by your Common Lisp implementation.
+
+If you want sly-asdf to be automatically activated on each new SLY
+session, put it in the `sly-contribs' list. E.g., you can add something like
+this in some Emacs' init file:
+(setq sly-contribs '(sly-fancy sly-asdf))
+or customize the variable.
+
+To enable it on demand in already running SLY sessions instead, just use the
+`sly-enable-contrib' command, or modify `sly-contribs' and run `sly-setup'.
+
+NOTE: The experimental Flymake code has been elided from this port (it requires
+dependencies that are not in ports currently).
+EOM
+}
+]
Added: head/editors/sly-asdf/pkg-plist
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/editors/sly-asdf/pkg-plist Tue Mar 16 10:39:33 2021 (r568552)
@@ -0,0 +1,4 @@
+%%THIS_LISPDIR%%/sly-asdf.el
+%%THIS_LISPDIR%%/sly-asdf.elc
+%%THIS_LISPDIR%%/slynk-asdf.asd
+%%THIS_LISPDIR%%/slynk-asdf.lisp
More information about the svn-ports-all
mailing list