aboutsummaryrefslogtreecommitdiff
path: root/lang/erlang14
diff options
context:
space:
mode:
authorJimmy Olgeni <olgeni@FreeBSD.org>2009-06-11 16:35:12 +0000
committerJimmy Olgeni <olgeni@FreeBSD.org>2009-06-11 16:35:12 +0000
commitf3997962d58eb1ced90cdc9dd144d9802cd44e50 (patch)
treef97dcd9c579bf67b6abad780d43925d4fdc3a272 /lang/erlang14
parent1c7d0a59d73aa215cfd7a0162c6ebe3bedabd55d (diff)
downloadports-f3997962d58eb1ced90cdc9dd144d9802cd44e50.tar.gz
ports-f3997962d58eb1ced90cdc9dd144d9802cd44e50.zip
Unbreak PLIST for erlang-lite.
Notes
Notes: svn path=/head/; revision=235589
Diffstat (limited to 'lang/erlang14')
-rw-r--r--lang/erlang14/Makefile11
1 files changed, 7 insertions, 4 deletions
diff --git a/lang/erlang14/Makefile b/lang/erlang14/Makefile
index c697d19e334e..f484b54277c9 100644
--- a/lang/erlang14/Makefile
+++ b/lang/erlang14/Makefile
@@ -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}