Add textproc/erlang-edown, a markdown generator for Erlang's edoc.

This commit is contained in:
Jimmy Olgeni 2015-06-30 20:17:30 +00:00
parent f339510820
commit e7b3cc2a3f
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=390993
5 changed files with 64 additions and 0 deletions

View file

@ -155,6 +155,7 @@
SUBDIR += enchant
SUBDIR += eo-aspell
SUBDIR += eqe
SUBDIR += erlang-edown
SUBDIR += es-aspell
SUBDIR += es-hunspell
SUBDIR += es-hyphen

View file

@ -0,0 +1,34 @@
# $FreeBSD$
PORTNAME= edown
PORTVERSION= 0.7
CATEGORIES= textproc
PKGNAMEPREFIX= erlang-
MAINTAINER= olgeni@FreeBSD.org
COMMENT= EDoc extension for generating Github-flavored Markdown
BUILD_DEPENDS= erl:${PORTSDIR}/lang/erlang
RUN_DEPENDS:= ${BUILD_DEPENDS}
PLIST_SUB= VERSION="${PORTVERSION}"
USE_GITHUB= yes
GH_ACCOUNT= uwiger
post-patch:
@${REINPLACE_CMD} -e 's/{vsn, git}/{vsn,"${PORTVERSION}"}/' ${WRKSRC}/src/*.app.src
do-install:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README.md ${STAGEDIR}${DOCSDIR}
cd ${WRKSRC}/doc && ${COPYTREE_SHARE} \* ${STAGEDIR}${DOCSDIR}
@${MKDIR} ${STAGEDIR}${PREFIX}/lib/erlang/lib/${PORTNAME}-${PORTVERSION}
@${MKDIR} ${STAGEDIR}${PREFIX}/lib/erlang/lib/${PORTNAME}-${PORTVERSION}/ebin
@${MKDIR} ${STAGEDIR}${PREFIX}/lib/erlang/lib/${PORTNAME}-${PORTVERSION}/src
@${MKDIR} ${STAGEDIR}${PREFIX}/lib/erlang/lib/${PORTNAME}-${PORTVERSION}/priv
${INSTALL_DATA} ${WRKSRC}/ebin/* ${STAGEDIR}${PREFIX}/lib/erlang/lib/${PORTNAME}-${PORTVERSION}/ebin
${INSTALL_DATA} ${WRKSRC}/src/* ${STAGEDIR}${PREFIX}/lib/erlang/lib/${PORTNAME}-${PORTVERSION}/src
cd ${WRKSRC}/priv && ${COPYTREE_SHARE} \* ${STAGEDIR}${PREFIX}/lib/erlang/lib/${PORTNAME}-${PORTVERSION}/priv
.include <bsd.port.mk>

View file

@ -0,0 +1,2 @@
SHA256 (uwiger-edown-0.7_GH0.tar.gz) = e9dae6c7425732f29290d4d10bec95ad956507a7b50191e036fc23ee18f1cd60
SIZE (uwiger-edown-0.7_GH0.tar.gz) = 221867

View file

@ -0,0 +1,3 @@
EDoc extension for generating Github-flavored Markdown.
WWW: https://github.com/uwiger/edown

View file

@ -0,0 +1,24 @@
lib/erlang/lib/edown-%%VERSION%%/ebin/edown.app
lib/erlang/lib/edown-%%VERSION%%/ebin/edown_doclet.beam
lib/erlang/lib/edown-%%VERSION%%/ebin/edown_layout.beam
lib/erlang/lib/edown-%%VERSION%%/ebin/edown_lib.beam
lib/erlang/lib/edown-%%VERSION%%/ebin/edown_make.beam
lib/erlang/lib/edown-%%VERSION%%/ebin/edown_xmerl.beam
lib/erlang/lib/edown-%%VERSION%%/priv/scripts/check_edown.script
lib/erlang/lib/edown-%%VERSION%%/priv/scripts/rebar.config.script
lib/erlang/lib/edown-%%VERSION%%/priv/scripts/remove_deps.script
lib/erlang/lib/edown-%%VERSION%%/src/edown.app.src
lib/erlang/lib/edown-%%VERSION%%/src/edown.app.src.bak
lib/erlang/lib/edown-%%VERSION%%/src/edown_doclet.erl
lib/erlang/lib/edown-%%VERSION%%/src/edown_layout.erl
lib/erlang/lib/edown-%%VERSION%%/src/edown_lib.erl
lib/erlang/lib/edown-%%VERSION%%/src/edown_make.erl
lib/erlang/lib/edown-%%VERSION%%/src/edown_xmerl.erl
%%PORTDOCS%%%%DOCSDIR%%/README.md
%%PORTDOCS%%%%DOCSDIR%%/edoc-info
%%PORTDOCS%%%%DOCSDIR%%/edown_doclet.md
%%PORTDOCS%%%%DOCSDIR%%/edown_layout.md
%%PORTDOCS%%%%DOCSDIR%%/edown_lib.md
%%PORTDOCS%%%%DOCSDIR%%/edown_make.md
%%PORTDOCS%%%%DOCSDIR%%/edown_xmerl.md
%%PORTDOCS%%%%DOCSDIR%%/overview.edoc