Date: Sat, 30 Jan 2016 20:24:18 +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: r407551 - in head/lang: erlang erlang-runtime15 erlang-runtime16 erlang-runtime17 erlang-runtime18 Message-ID: <201601302024.u0UKOIuJ060228@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: olgeni Date: Sat Jan 30 20:24:18 2016 New Revision: 407551 URL: https://svnweb.freebsd.org/changeset/ports/407551 Log: Remove unnecessary empty directories from Erlang's plists. Modified: head/lang/erlang-runtime15/Makefile head/lang/erlang-runtime16/Makefile head/lang/erlang-runtime17/Makefile head/lang/erlang-runtime18/Makefile head/lang/erlang/Makefile Modified: head/lang/erlang-runtime15/Makefile ============================================================================== --- head/lang/erlang-runtime15/Makefile Sat Jan 30 20:20:50 2016 (r407550) +++ head/lang/erlang-runtime15/Makefile Sat Jan 30 20:24:18 2016 (r407551) @@ -204,11 +204,7 @@ post-install: .if ! ${PORT_OPTIONS:MWX} ${RM} -r ${STAGEDIR}${PREFIX}/lib/erlang/lib/wx-* .endif - - @cd ${STAGEDIR}${PREFIX}; ${FIND} lib/${ERLANG_LIB}/* -type d -empty \ - | ${SORT} \ - | ${SED} -e 's#^#@dir #g' \ - > ${TMPPLIST} + ${FIND} ${STAGEDIR}${PREFIX}/lib/${ERLANG_LIB}/* -type d -empty -delete @cd ${STAGEDIR}${PREFIX}; ${FIND} lib/${ERLANG_LIB}/* -type f -o -type l \ | ${SORT} \ Modified: head/lang/erlang-runtime16/Makefile ============================================================================== --- head/lang/erlang-runtime16/Makefile Sat Jan 30 20:20:50 2016 (r407550) +++ head/lang/erlang-runtime16/Makefile Sat Jan 30 20:24:18 2016 (r407551) @@ -204,11 +204,7 @@ post-install: .if ! ${PORT_OPTIONS:MWX} ${RM} -r ${STAGEDIR}${PREFIX}/lib/erlang/lib/wx-* .endif - - @cd ${STAGEDIR}${PREFIX}; ${FIND} lib/${ERLANG_LIB}/* -type d -empty \ - | ${SORT} \ - | ${SED} -e 's#^#@dir #g' \ - > ${TMPPLIST} + ${FIND} ${STAGEDIR}${PREFIX}/lib/${ERLANG_LIB}/* -type d -empty -delete @cd ${STAGEDIR}${PREFIX}; ${FIND} lib/${ERLANG_LIB}/* -type f -o -type l \ | ${SORT} \ Modified: head/lang/erlang-runtime17/Makefile ============================================================================== --- head/lang/erlang-runtime17/Makefile Sat Jan 30 20:20:50 2016 (r407550) +++ head/lang/erlang-runtime17/Makefile Sat Jan 30 20:24:18 2016 (r407551) @@ -264,11 +264,7 @@ post-install: .if ! ${PORT_OPTIONS:MWX} ${RM} -r ${STAGEDIR}${PREFIX}/lib/erlang/lib/wx-* .endif - - @cd ${STAGEDIR}${PREFIX}; ${FIND} lib/${ERLANG_LIB}/* -type d -empty \ - | ${SORT} \ - | ${SED} -e 's#^#@dir #g' \ - > ${TMPPLIST} + ${FIND} ${STAGEDIR}${PREFIX}/lib/${ERLANG_LIB}/* -type d -empty -delete @cd ${STAGEDIR}${PREFIX}; ${FIND} lib/${ERLANG_LIB}/* -type f -o -type l \ | ${SORT} \ Modified: head/lang/erlang-runtime18/Makefile ============================================================================== --- head/lang/erlang-runtime18/Makefile Sat Jan 30 20:20:50 2016 (r407550) +++ head/lang/erlang-runtime18/Makefile Sat Jan 30 20:24:18 2016 (r407551) @@ -224,11 +224,7 @@ post-install: .if ! ${PORT_OPTIONS:MWX} ${RM} -r ${STAGEDIR}${PREFIX}/lib/erlang/lib/wx-* .endif - - @cd ${STAGEDIR}${PREFIX}; ${FIND} lib/${ERLANG_LIB}/* -type d -empty \ - | ${SORT} \ - | ${SED} -e 's#^#@dir #g' \ - > ${TMPPLIST} + ${FIND} ${STAGEDIR}${PREFIX}/lib/${ERLANG_LIB}/* -type d -empty -delete @cd ${STAGEDIR}${PREFIX}; ${FIND} lib/${ERLANG_LIB}/* -type f -o -type l \ | ${SORT} \ Modified: head/lang/erlang/Makefile ============================================================================== --- head/lang/erlang/Makefile Sat Jan 30 20:20:50 2016 (r407550) +++ head/lang/erlang/Makefile Sat Jan 30 20:24:18 2016 (r407551) @@ -250,14 +250,10 @@ post-install: .if ! ${PORT_OPTIONS:MWX} ${RM} -r ${STAGEDIR}${PREFIX}/lib/erlang/lib/wx-* .endif + ${FIND} ${STAGEDIR}${PREFIX}/lib/${ERLANG_LIB}/* -type d -empty -delete ${LN} -s ../lib/erlang/lib/snmp-${SNMP_VSN}/bin/snmpc ${STAGEDIR}${PREFIX}/bin/snmpc - @cd ${STAGEDIR}${PREFIX}; ${FIND} lib/${ERLANG_LIB}/* -type d -empty \ - | ${SORT} \ - | ${SED} -e 's#^#@dir #g' \ - >> ${TMPPLIST} - @cd ${STAGEDIR}${PREFIX}; ${FIND} lib/${ERLANG_LIB}/* -type f -o -type l \ | ${SORT} \ >> ${TMPPLIST}
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201601302024.u0UKOIuJ060228>