1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-22 04:17:44 +00:00

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
This commit is contained in:
Jimmy Olgeni 2021-10-01 21:18:14 +02:00
parent 01db8ddf52
commit 2acaef84d8
2 changed files with 25 additions and 17 deletions

View File

@ -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 <bsd.port.mk>

View File

@ -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