diff options
author | Jimmy Olgeni <olgeni@FreeBSD.org> | 2015-07-06 22:27:17 +0000 |
---|---|---|
committer | Jimmy Olgeni <olgeni@FreeBSD.org> | 2015-07-06 22:27:17 +0000 |
commit | a0b3668460499425f5779bcd059f7ac0ef42e65c (patch) | |
tree | 8b590048db59196d48712afbd86344d32bdee72b /textproc/erlang-edown/Makefile | |
parent | f0374cad5e967f7a0b06d7c801410cd717862842 (diff) | |
download | ports-a0b3668460499425f5779bcd059f7ac0ef42e65c.tar.gz ports-a0b3668460499425f5779bcd059f7ac0ef42e65c.zip |
Notes
Diffstat (limited to 'textproc/erlang-edown/Makefile')
-rw-r--r-- | textproc/erlang-edown/Makefile | 25 |
1 files changed, 2 insertions, 23 deletions
diff --git a/textproc/erlang-edown/Makefile b/textproc/erlang-edown/Makefile index 1fa354b7d810..35db02323d55 100644 --- a/textproc/erlang-edown/Makefile +++ b/textproc/erlang-edown/Makefile @@ -8,31 +8,10 @@ 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}" - +USES= erlang:rebar USE_GITHUB= yes GH_ACCOUNT= uwiger -post-patch: - @${RM} ${WRKSRC}/src/*.orig - @${REINPLACE_CMD} -i '' -e 's/{ *vsn, git *}/{vsn, "${PORTVERSION}"}/' ${WRKSRC}/src/*.app.src - -do-build: - @cd ${WRKSRC} && ./rebar compile - -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 +ERL_DOCS= doc/* .include <bsd.port.mk> |