Index: editors/sly-named-readtables/Makefile =================================================================== --- editors/sly-named-readtables/Makefile (nonexistent) +++ editors/sly-named-readtables/Makefile (copie de travail) @@ -0,0 +1,58 @@ +# $FreeBSD$ + +PORTNAME= sly-named-readtables +PORTVERSION= 20191013 +CATEGORIES= editors elisp +PKGNAMESUFFIX= ${EMACS_PKGNAMESUFFIX} + +MAINTAINER= olce.freebsd.ports@certner.fr +COMMENT= Support different readtables in the same file 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= a5a42674ccffa97ccd5e4e9742beaf3ea719931f + +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 EXAMPLES + +PORTDOCS= README.md screenshot.png +PORTEXAMPLES= example.lisp + +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/} \ + ${PORTEXAMPLES:C/^(.*)$/-name \1 -o/} \ + -name LICENSE -o -name *\.md -o -name \.[^.]* ) )") + +post-install-DOCS-on: + ${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${PORTDOCS:%=${WRKSRC}/%} ${STAGEDIR}${DOCSDIR} + +post-install-EXAMPLES-on: + ${MKDIR} ${STAGEDIR}${EXAMPLESDIR} + ${INSTALL_DATA} ${PORTEXAMPLES:%=${WRKSRC}/%} ${STAGEDIR}${EXAMPLESDIR} + +.include Property changes on: editors/sly-named-readtables/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-named-readtables/distinfo =================================================================== --- editors/sly-named-readtables/distinfo (nonexistent) +++ editors/sly-named-readtables/distinfo (copie de travail) @@ -0,0 +1,3 @@ +TIMESTAMP = 1613660267 +SHA256 (joaotavora-sly-named-readtables-20191013-a5a42674ccffa97ccd5e4e9742beaf3ea719931f_GH0.tar.gz) = 4ec6067b74a2126ddae5275629358a6d58fe85a4de63717b66b80af121858183 +SIZE (joaotavora-sly-named-readtables-20191013-a5a42674ccffa97ccd5e4e9742beaf3ea719931f_GH0.tar.gz) = 28276 Property changes on: editors/sly-named-readtables/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-named-readtables/files/patch-sly-named-readtables.el =================================================================== --- editors/sly-named-readtables/files/patch-sly-named-readtables.el (nonexistent) +++ editors/sly-named-readtables/files/patch-sly-named-readtables.el (copie de travail) @@ -0,0 +1,12 @@ +--- sly-named-readtables.el.orig 2019-10-13 21:38:43 UTC ++++ sly-named-readtables.el +@@ -107,9 +107,5 @@ + (defun sly-named-readtables--pass-readtable () + (list :named-readtable (sly-named-readtables--grok-current-table))) + +-;;;###autoload +-(with-eval-after-load 'sly +- (add-to-list 'sly-contribs 'sly-named-readtables 'append)) +- + (provide 'sly-named-readtables) + ;;; sly-named-readtables.el ends here Property changes on: editors/sly-named-readtables/files/patch-sly-named-readtables.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-named-readtables/pkg-descr =================================================================== --- editors/sly-named-readtables/pkg-descr (nonexistent) +++ editors/sly-named-readtables/pkg-descr (copie de travail) @@ -0,0 +1,4 @@ +sly-named-readtables is an external contrib for SLY that enables +different readtables to be active in different parts of the same file. + +WWW: https://github.com/joaotavora/sly-named-readtables Property changes on: editors/sly-named-readtables/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-named-readtables/pkg-message =================================================================== --- editors/sly-named-readtables/pkg-message (nonexistent) +++ editors/sly-named-readtables/pkg-message (copie de travail) @@ -0,0 +1,26 @@ +[ +{ type: install + message: <