Date: Mon, 24 Jun 2019 21:02:46 +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: r505054 - head/lang/erlang-runtime22 Message-ID: <201906242102.x5OL2kAn074453@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: olgeni Date: Mon Jun 24 21:02:46 2019 New Revision: 505054 URL: https://svnweb.freebsd.org/changeset/ports/505054 Log: lang/erlang-runtime22: install dtrace files (*.d) if DTRACE is enabled. Modified: head/lang/erlang-runtime22/Makefile Modified: head/lang/erlang-runtime22/Makefile ============================================================================== --- head/lang/erlang-runtime22/Makefile Mon Jun 24 21:02:20 2019 (r505053) +++ head/lang/erlang-runtime22/Makefile Mon Jun 24 21:02:46 2019 (r505054) @@ -4,6 +4,7 @@ PORTNAME= erlang DISTVERSIONPREFIX= OTP- DISTVERSION= 22.0.4 +PORTREVISION= 1 CATEGORIES= lang parallel java PKGNAMESUFFIX= -runtime22 DIST_SUBDIR= erlang @@ -138,9 +139,16 @@ post-install-WX-off: ${RM} -r ${STAGEDIR}${PREFIX}/lib/erlang/lib/observer-* ${RM} -r ${STAGEDIR}${PREFIX}/lib/erlang/lib/wx-* +post-install-DTRACE-on: + ${MKDIR} ${STAGEDIR}${DATADIR}/dtrace + ${INSTALL_DATA} ${WRKSRC}/erts/emulator/beam/*.d \ + ${WRKSRC}/lib/runtime_tools/c_src/*.d \ + ${WRKSRC}/lib/runtime_tools/examples/*.d \ + ${STAGEDIR}${DATADIR}/dtrace + post-stage: ${FIND} ${STAGEDIR}${PREFIX}/lib/${ERLANG_LIB}/* -type d -empty -delete - @cd ${STAGEDIR}${PREFIX}; ${FIND} lib/${ERLANG_LIB}/* -type f -o -type l \ + @cd ${STAGEDIR}${PREFIX}; ${FIND} lib/${ERLANG_LIB}/* ${DATADIR_REL}/* -type f -o -type l \ | ${SORT} >> ${TMPPLIST} .include <bsd.port.post.mk>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201906242102.x5OL2kAn074453>