summaryrefslogtreecommitdiff
path: root/devel/cond-let
diff options
context:
space:
mode:
Diffstat (limited to 'devel/cond-let')
-rw-r--r--devel/cond-let/Makefile38
-rw-r--r--devel/cond-let/distinfo3
-rw-r--r--devel/cond-let/pkg-descr19
3 files changed, 60 insertions, 0 deletions
diff --git a/devel/cond-let/Makefile b/devel/cond-let/Makefile
new file mode 100644
index 000000000000..1f09f5061020
--- /dev/null
+++ b/devel/cond-let/Makefile
@@ -0,0 +1,38 @@
+PORTNAME= cond-let
+DISTVERSIONPREFIX= v
+DISTVERSION= 0.1.1
+CATEGORIES= devel elisp
+PKGNAMESUFFIX= ${EMACS_PKGNAMESUFFIX}
+
+MAINTAINER= yasu@FreeBSD.org
+COMMENT= Additional and improved binding conditionals in Emacs Lisp
+WWW= https://github.com/tarsius/cond-let
+
+LICENSE= GPLv3+
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+USES= emacs gmake
+USE_GITHUB= yes
+GH_ACCOUNT= tarsius
+
+NO_ARCH= yes
+PLIST_FILES= ${EMACS_VERSION_SITE_LISPDIR}/cond-let-autoloads.el \
+ ${EMACS_VERSION_SITE_LISPDIR}/cond-let.el \
+ ${EMACS_VERSION_SITE_LISPDIR}/cond-let.elc
+
+PORTDOCS= README.org
+
+OPTIONS_DEFINE= DOCS
+
+ELISP_FILES= cond-let-autoloads.el cond-let.el cond-let.elc
+
+do-install:
+ @${MKDIR} ${STAGEDIR}${PREFIX}/${EMACS_VERSION_SITE_LISPDIR}
+ ${INSTALL_DATA} ${ELISP_FILES:C/^/${WRKSRC}\//} \
+ ${STAGEDIR}${PREFIX}/${EMACS_VERSION_SITE_LISPDIR}
+
+do-install-DOCS-on:
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_DATA} ${PORTDOCS:C/^/${WRKSRC}\//} ${STAGEDIR}${DOCSDIR}
+
+.include <bsd.port.mk>
diff --git a/devel/cond-let/distinfo b/devel/cond-let/distinfo
new file mode 100644
index 000000000000..855b21315576
--- /dev/null
+++ b/devel/cond-let/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1757431417
+SHA256 (tarsius-cond-let-v0.1.1_GH0.tar.gz) = 5174149319c8b5acb08b61fe91f6b98440ec5e1bf65a05bf57e82d5a1f325790
+SIZE (tarsius-cond-let-v0.1.1_GH0.tar.gz) = 19578
diff --git a/devel/cond-let/pkg-descr b/devel/cond-let/pkg-descr
new file mode 100644
index 000000000000..796fdf30ed62
--- /dev/null
+++ b/devel/cond-let/pkg-descr
@@ -0,0 +1,19 @@
+Emacs provides the binding conditionals if-let, if-let*, when-let,
+when-let*, and-let* and while-let.
+
+This package implements the missing and-let and while-let*, and the
+original cond-let, cond-let*, and$ and and>.
+
+This package additionally provides more consistent and improved
+implementations of the binding conditionals already provided by
+Emacs. Merely loading this library does not shawow the built-in
+implementations; this can optionally be done in the context of an
+individual library, as described below.
+
+cond-let and cond-let* are provided exactly under these names. The
+names of all other macros implemented by this package begin with
+cond-let--, the package's prefix for private symbol.
+
+Users of this package are not expected to use these unwieldy
+names. Instead one should use Emacs's shorthand feature to use all or
+some of these macros by their conceptual names.