Index: editors/sly-quicklisp/Makefile =================================================================== --- editors/sly-quicklisp/Makefile (nonexistent) +++ editors/sly-quicklisp/Makefile (copie de travail) @@ -0,0 +1,52 @@ +# $FreeBSD$ + +PORTNAME= sly-quicklisp +PORTVERSION= 20200707 +CATEGORIES= editors elisp +PKGNAMESUFFIX= ${EMACS_PKGNAMESUFFIX} + +MAINTAINER= olce.freebsd.ports@certner.fr +COMMENT= Basic Quicklisp support for SLY + +LICENSE= PD + +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= joaotavora +GH_TAGNAME= 4707b62803d7a29f172e9c5ff993b91187a9aaf3 + +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} + +# File is buggy and can't be used as documented upstream +EXCLUDED_FILES= ${PORTNAME}-autoloads.el + +OPTIONS_DEFINE= DOCS + +PORTDOCS= README.md screenshot.png + +do-build: + cd ${WRKSRC} && ${EMACS_COMPILE} sly-*.el + +do-install: + @${MKDIR} ${STAGEDIR}${THIS_LISPDIR} + (cd ${WRKSRC} && \ + ${COPYTREE_SHARE} . ${STAGEDIR}${THIS_LISPDIR} \ + "! ( -depth 1 ( ${EXCLUDED_FILES:C/^(.*)$/-name \1 -o/} \ + ${PORTDOCS:C/^(.*)$/-name \1 -o/} \ + -name LICENSE -o -name *\.md -o -name \.[^.]* ) )") + +post-install-DOCS-on: + ${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${PORTDOCS:%=${WRKSRC}/%} ${STAGEDIR}${DOCSDIR} + +.include Property changes on: editors/sly-quicklisp/Makefile ___________________________________________________________________ Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:keywords ## -0,0 +1 ## +FreeBSD=%H \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: editors/sly-quicklisp/distinfo =================================================================== --- editors/sly-quicklisp/distinfo (nonexistent) +++ editors/sly-quicklisp/distinfo (copie de travail) @@ -0,0 +1,3 @@ +TIMESTAMP = 1613654208 +SHA256 (joaotavora-sly-quicklisp-20200707-4707b62803d7a29f172e9c5ff993b91187a9aaf3_GH0.tar.gz) = 3971edb307545f8389f113e3eca28fc5325cfe26a23b28a480a30b8086e061c7 +SIZE (joaotavora-sly-quicklisp-20200707-4707b62803d7a29f172e9c5ff993b91187a9aaf3_GH0.tar.gz) = 45904 Property changes on: editors/sly-quicklisp/distinfo ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: editors/sly-quicklisp/files/patch-sly-quicklisp.el =================================================================== --- editors/sly-quicklisp/files/patch-sly-quicklisp.el (nonexistent) +++ editors/sly-quicklisp/files/patch-sly-quicklisp.el (copie de travail) @@ -0,0 +1,13 @@ +--- sly-quicklisp.el.orig 2020-07-07 16:35:00 UTC ++++ sly-quicklisp.el +@@ -91,10 +91,5 @@ in `sly-editing-mode-hook', i.e. lisp files." + sly-quicklisp--enabled-dists) + "NO QL dists reported so far. Load a system using `sly-quickload'"))) + +-;;; Automatically add ourselves to `sly-contribs' when this file is loaded +-;;;###autoload +-(with-eval-after-load 'sly +- (add-to-list 'sly-contribs 'sly-quicklisp 'append)) +- + (provide 'sly-quicklisp) + ;;; sly-quicklisp.el ends here Property changes on: editors/sly-quicklisp/files/patch-sly-quicklisp.el ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: editors/sly-quicklisp/pkg-descr =================================================================== --- editors/sly-quicklisp/pkg-descr (nonexistent) +++ editors/sly-quicklisp/pkg-descr (copie de travail) @@ -0,0 +1,4 @@ +sly-quicklisp is an external contrib for SLY that provides a `sly-quickload' +command (C-c C-d C-q) that prompts the user for a package to install. + +WWW: https://github.com/joaotavora/sly-quicklisp Property changes on: editors/sly-quicklisp/pkg-descr ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: editors/sly-quicklisp/pkg-message =================================================================== --- editors/sly-quicklisp/pkg-message (nonexistent) +++ editors/sly-quicklisp/pkg-message (copie de travail) @@ -0,0 +1,27 @@ +[ +{ type: install + message: <