diff options
author | olgeni <olgeni@FreeBSD.org> | 2015-07-01 04:17:30 +0800 |
---|---|---|
committer | olgeni <olgeni@FreeBSD.org> | 2015-07-01 04:17:30 +0800 |
commit | fe81364a85784fa386a3c223a64815982b33eab1 (patch) | |
tree | 26206a3339f274987eec18dd2d9faa185dca93cb /textproc | |
parent | 3df965ad57a041efc4056410e8a593505c28cc7c (diff) | |
download | freebsd-ports-graphics-fe81364a85784fa386a3c223a64815982b33eab1.tar.gz freebsd-ports-graphics-fe81364a85784fa386a3c223a64815982b33eab1.tar.zst freebsd-ports-graphics-fe81364a85784fa386a3c223a64815982b33eab1.zip |
Add textproc/erlang-edown, a markdown generator for Erlang's edoc.
Diffstat (limited to 'textproc')
-rw-r--r-- | textproc/Makefile | 1 | ||||
-rw-r--r-- | textproc/erlang-edown/Makefile | 34 | ||||
-rw-r--r-- | textproc/erlang-edown/distinfo | 2 | ||||
-rw-r--r-- | textproc/erlang-edown/pkg-descr | 3 | ||||
-rw-r--r-- | textproc/erlang-edown/pkg-plist | 24 |
5 files changed, 64 insertions, 0 deletions
diff --git a/textproc/Makefile b/textproc/Makefile index a8426f60f32..ca9b95e7a9e 100644 --- a/textproc/Makefile +++ b/textproc/Makefile @@ -155,6 +155,7 @@ SUBDIR += enchant SUBDIR += eo-aspell SUBDIR += eqe + SUBDIR += erlang-edown SUBDIR += es-aspell SUBDIR += es-hunspell SUBDIR += es-hyphen diff --git a/textproc/erlang-edown/Makefile b/textproc/erlang-edown/Makefile new file mode 100644 index 00000000000..2376f5134ad --- /dev/null +++ b/textproc/erlang-edown/Makefile @@ -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> diff --git a/textproc/erlang-edown/distinfo b/textproc/erlang-edown/distinfo new file mode 100644 index 00000000000..4d013853ad5 --- /dev/null +++ b/textproc/erlang-edown/distinfo @@ -0,0 +1,2 @@ +SHA256 (uwiger-edown-0.7_GH0.tar.gz) = e9dae6c7425732f29290d4d10bec95ad956507a7b50191e036fc23ee18f1cd60 +SIZE (uwiger-edown-0.7_GH0.tar.gz) = 221867 diff --git a/textproc/erlang-edown/pkg-descr b/textproc/erlang-edown/pkg-descr new file mode 100644 index 00000000000..d9913de2cd4 --- /dev/null +++ b/textproc/erlang-edown/pkg-descr @@ -0,0 +1,3 @@ +EDoc extension for generating Github-flavored Markdown. + +WWW: https://github.com/uwiger/edown diff --git a/textproc/erlang-edown/pkg-plist b/textproc/erlang-edown/pkg-plist new file mode 100644 index 00000000000..c770ca36698 --- /dev/null +++ b/textproc/erlang-edown/pkg-plist @@ -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 |