From 2acaef84d8ad96f3be896c32e94d04ac61a083b9 Mon Sep 17 00:00:00 2001 From: Jimmy Olgeni Date: Fri, 1 Oct 2021 21:18:14 +0200 Subject: [PATCH] textproc/markdown-mode.el: update to 2.4. * Switch to use upstream repository on GitHub. * Byte compile .el file and install them to ${EMACS_VERSION_SITE_LISPDIR}. * Add DOCS option. ChangeLog: https://github.com/jrblevin/markdown-mode/blob/v2.4/CHANGES.md PR: 257899 Reported by: yasu --- textproc/markdown-mode.el/Makefile | 36 ++++++++++++++++++------------ textproc/markdown-mode.el/distinfo | 6 ++--- 2 files changed, 25 insertions(+), 17 deletions(-) diff --git a/textproc/markdown-mode.el/Makefile b/textproc/markdown-mode.el/Makefile index 11aefafad48f..738aa8df84ad 100644 --- a/textproc/markdown-mode.el/Makefile +++ b/textproc/markdown-mode.el/Makefile @@ -1,29 +1,37 @@ PORTNAME= markdown-mode.el -PORTVERSION= 2.3 -PORTREVISION= 8 -CATEGORIES= textproc -MASTER_SITES= http://jblevins.org/projects/markdown-mode/ +DISTVERSIONPREFIX= v +DISTVERSION= 2.4 +CATEGORIES= textproc elisp PKGNAMESUFFIX= ${EMACS_PKGNAMESUFFIX} -DISTNAME= markdown-mode.el -EXTRACT_SUFX= # empty -DIST_SUBDIR= ${PORTNAME}-${PORTVERSION} -EXTRACT_ONLY= # empty MAINTAINER= olgeni@FreeBSD.org COMMENT= Emacs major mode for editing Markdown-formatted text LICENSE= GPLv3+ -USES= emacs +USES= emacs gmake + +USE_GITHUB= yes +GH_ACCOUNT= jrblevin +GH_PROJECT= markdown-mode NO_ARCH= yes -NO_BUILD= yes -NO_WRKSUBDIR= yes -PLIST_FILES= ${EMACS_SITE_LISPDIR}/markdown-mode.el +PLIST_FILES= ${EMACS_VERSION_SITE_LISPDIR}/markdown-mode.el \ + ${EMACS_VERSION_SITE_LISPDIR}/markdown-mode.elc +PORTDOCS= CHANGES.md CONTRIBUTING.md README.md + +OPTIONS_DEFINE= DOCS do-install: - ${INSTALL_DATA} ${DISTDIR}/${DIST_SUBDIR}/${DISTNAME} \ - ${STAGEDIR}${PREFIX}/${EMACS_SITE_LISPDIR}/markdown-mode.el + @${MKDIR} ${STAGEDIR}${PREFIX}/${EMACS_VERSION_SITE_LISPDIR} + ${INSTALL_DATA} ${WRKSRC}/*.el ${WRKSRC}/*.elc \ + ${STAGEDIR}${PREFIX}/${EMACS_VERSION_SITE_LISPDIR} + +do-install-DOCS-on: + @${MKDIR} ${STAGEDIR}${DOCSDIR} +.for f in ${PORTDOCS} + ${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR} +.endfor .include diff --git a/textproc/markdown-mode.el/distinfo b/textproc/markdown-mode.el/distinfo index 27123c02a682..ce4a77e6feee 100644 --- a/textproc/markdown-mode.el/distinfo +++ b/textproc/markdown-mode.el/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1504449743 -SHA256 (markdown-mode.el-2.3/markdown-mode.el) = b1b6aae94959dc272e935df159344c81aa3a496aad92cd8bc714b781b3875c94 -SIZE (markdown-mode.el-2.3/markdown-mode.el) = 387106 +TIMESTAMP = 1629158662 +SHA256 (jrblevin-markdown-mode-v2.4_GH0.tar.gz) = 2dbc19c3d62e7147703daac7d51bf0a3cfbb903164b64fdce3c34cc2002f2da7 +SIZE (jrblevin-markdown-mode-v2.4_GH0.tar.gz) = 211229