1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-09 06:51:44 +00:00

Unbreak PLIST for erlang-lite.

This commit is contained in:
Jimmy Olgeni 2009-06-11 16:35:12 +00:00
parent 1c7d0a59d7
commit f3997962d5
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=235589
2 changed files with 14 additions and 8 deletions

View File

@ -7,7 +7,7 @@
PORTNAME= erlang
PORTVERSION= r13b01
PORTREVISION= 1
PORTREVISION= 2
PORTEPOCH= 1
CATEGORIES= lang parallel java
MASTER_SITES= http://www.erlang.org/download/ \
@ -160,18 +160,21 @@ post-install:
# Stock OTP libraries.
@for LIBRARY in ${OTP_LIBS}; do \
cd ${PREFIX} ; ${FIND} lib/erlang/lib/$${LIBRARY} -type f -o -type l; \
cd ${PREFIX} ; ${TEST} -d lib/erlang/lib/$${LIBRARY} \
&& ${FIND} lib/erlang/lib/$${LIBRARY} -type f -o -type l; \
done | ${SORT} >> ${ERLANG_PLIST}
# Stock OTP library directories.
@for LIBRARY in ${OTP_LIBS}; do \
cd ${PREFIX} ; ${FIND} lib/erlang/lib/$${LIBRARY} -type d -empty \
cd ${PREFIX} ; ${TEST} -d lib/erlang/lib/$${LIBRARY} \
&& ${FIND} lib/erlang/lib/$${LIBRARY} -type d -empty \
| ${SED} -e 's#^#@exec ${MKDIR} %D/#g'; \
done | ${SORT} >> ${ERLANG_PLIST}
@for LIBRARY in ${OTP_LIBS}; do \
cd ${PREFIX} ; ${FIND} lib/erlang/lib/$${LIBRARY} -type d \
cd ${PREFIX} ; ${TEST} -d lib/erlang/lib/$${LIBRARY} \
&& ${FIND} lib/erlang/lib/$${LIBRARY} -type d \
| ${SED} -e 's/^/@dirrm /g'; \
done | ${SORT} -r >> ${ERLANG_PLIST}

View File

@ -7,7 +7,7 @@
PORTNAME= erlang
PORTVERSION= r13b01
PORTREVISION= 1
PORTREVISION= 2
PORTEPOCH= 1
CATEGORIES= lang parallel java
MASTER_SITES= http://www.erlang.org/download/ \
@ -160,18 +160,21 @@ post-install:
# Stock OTP libraries.
@for LIBRARY in ${OTP_LIBS}; do \
cd ${PREFIX} ; ${FIND} lib/erlang/lib/$${LIBRARY} -type f -o -type l; \
cd ${PREFIX} ; ${TEST} -d lib/erlang/lib/$${LIBRARY} \
&& ${FIND} lib/erlang/lib/$${LIBRARY} -type f -o -type l; \
done | ${SORT} >> ${ERLANG_PLIST}
# Stock OTP library directories.
@for LIBRARY in ${OTP_LIBS}; do \
cd ${PREFIX} ; ${FIND} lib/erlang/lib/$${LIBRARY} -type d -empty \
cd ${PREFIX} ; ${TEST} -d lib/erlang/lib/$${LIBRARY} \
&& ${FIND} lib/erlang/lib/$${LIBRARY} -type d -empty \
| ${SED} -e 's#^#@exec ${MKDIR} %D/#g'; \
done | ${SORT} >> ${ERLANG_PLIST}
@for LIBRARY in ${OTP_LIBS}; do \
cd ${PREFIX} ; ${FIND} lib/erlang/lib/$${LIBRARY} -type d \
cd ${PREFIX} ; ${TEST} -d lib/erlang/lib/$${LIBRARY} \
&& ${FIND} lib/erlang/lib/$${LIBRARY} -type d \
| ${SED} -e 's/^/@dirrm /g'; \
done | ${SORT} -r >> ${ERLANG_PLIST}