Remove unnecessary empty directories from Erlang's plists.
This commit is contained in:
parent
edfa1cfc4f
commit
446cdc5a70
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=407551
5 changed files with 5 additions and 25 deletions
|
@ -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} \
|
||||
|
|
|
@ -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} \
|
||||
|
|
|
@ -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} \
|
||||
|
|
|
@ -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} \
|
||||
|
|
|
@ -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}
|
||||
|
|
Loading…
Reference in a new issue