--- editors/sly-asdf/Makefile (nonexistent) +++ editors/sly-asdf/Makefile (copie de travail) @@ -0,0 +1,54 @@ +# $FreeBSD$ + +PORTNAME= sly-asdf +PORTVERSION= 20210308 +CATEGORIES= editors elisp +PKGNAMESUFFIX= ${EMACS_PKGNAMESUFFIX} + +MAINTAINER= olce.freebsd.ports@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 -f *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 --- editors/sly-asdf/distinfo (nonexistent) +++ editors/sly-asdf/distinfo (copie de travail) @@ -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 --- editors/sly-asdf/files/patch-README.md (nonexistent) +++ editors/sly-asdf/files/patch-README.md (copie de travail) @@ -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). --- editors/sly-asdf/files/patch-sly-asdf.el (nonexistent) +++ editors/sly-asdf/files/patch-sly-asdf.el (copie de travail) @@ -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 --- editors/sly-asdf/pkg-descr (nonexistent) +++ editors/sly-asdf/pkg-descr (copie de travail) @@ -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 --- editors/sly-asdf/pkg-message (nonexistent) +++ editors/sly-asdf/pkg-message (copie de travail) @@ -0,0 +1,27 @@ +[ +{ type: install + message: <