Date: Mon, 6 Jul 2015 22:08:58 +0000 (UTC) From: Jimmy Olgeni <olgeni@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r391482 - head/devel/erlang-neotoma Message-ID: <201507062208.t66M8wvx026047@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: olgeni Date: Mon Jul 6 22:08:57 2015 New Revision: 391482 URL: https://svnweb.freebsd.org/changeset/ports/391482 Log: Switch devel/erlang-neotoma to erlang.mk. Modified: head/devel/erlang-neotoma/Makefile Modified: head/devel/erlang-neotoma/Makefile ============================================================================== --- head/devel/erlang-neotoma/Makefile Mon Jul 6 21:40:11 2015 (r391481) +++ head/devel/erlang-neotoma/Makefile Mon Jul 6 22:08:57 2015 (r391482) @@ -11,32 +11,18 @@ COMMENT= Erlang library and packrat pars LICENSE= MIT -BUILD_DEPENDS= erl:${PORTSDIR}/lang/erlang -RUN_DEPENDS:= ${BUILD_DEPENDS} - -SUB_FILES+= neotoma +SUB_FILES+= ${PORTNAME} SUB_LIST+= PORTNAME=${PORTNAME} \ PORTVERSION=${PORTVERSION} -PLIST_SUB= VERSION="${PORTVERSION}" - +USES= erlang:rebar USE_GITHUB= yes GH_ACCOUNT= seancribbs -post-patch: - @${REINPLACE_CMD} -i '' -e 's/{ *vsn, git *}/{vsn, "${PORTVERSION}"}/' ${WRKSRC}/src/*.app.src +REBAR_TARGETS= compile escriptize -do-install: - @${MKDIR} ${STAGEDIR}${DOCSDIR} - ${INSTALL_DATA} ${WRKSRC}/README.textile ${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}/priv - @${MKDIR} ${STAGEDIR}${PREFIX}/lib/erlang/lib/${PORTNAME}-${PORTVERSION}/src - ${INSTALL_DATA} ${WRKSRC}/ebin/* ${STAGEDIR}${PREFIX}/lib/erlang/lib/${PORTNAME}-${PORTVERSION}/ebin - ${INSTALL_DATA} ${WRKSRC}/priv/* ${STAGEDIR}${PREFIX}/lib/erlang/lib/${PORTNAME}-${PORTVERSION}/priv - ${INSTALL_DATA} ${WRKSRC}/src/* ${STAGEDIR}${PREFIX}/lib/erlang/lib/${PORTNAME}-${PORTVERSION}/src - ${INSTALL_SCRIPT} ${WRKSRC}/neotoma ${STAGEDIR}${PREFIX}/lib/erlang/lib/${PORTNAME}-${PORTVERSION} - ${INSTALL_SCRIPT} ${WRKDIR}/neotoma ${STAGEDIR}${PREFIX}/bin +post-install: + ${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${ERL_APP_ROOT} + ${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin .include <bsd.port.mk>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201507062208.t66M8wvx026047>