aboutsummaryrefslogtreecommitdiff
path: root/lang/erlang
diff options
context:
space:
mode:
authorJimmy Olgeni <olgeni@FreeBSD.org>2005-01-29 13:51:43 +0000
committerJimmy Olgeni <olgeni@FreeBSD.org>2005-01-29 13:51:43 +0000
commit9eb6a9107283b36b9363d677b31a033358b34642 (patch)
treee2d56b1ead10562250ea88c0311ba99abb3fcedf /lang/erlang
parentbe6d1897da542ac228eedfd4b4fef102aa9f1a43 (diff)
downloadports-9eb6a9107283b36b9363d677b31a033358b34642.tar.gz
ports-9eb6a9107283b36b9363d677b31a033358b34642.zip
Notes
Diffstat (limited to 'lang/erlang')
-rw-r--r--lang/erlang/Makefile5
-rw-r--r--lang/erlang/pkg-plist2
2 files changed, 7 insertions, 0 deletions
diff --git a/lang/erlang/Makefile b/lang/erlang/Makefile
index e2bfffe027b2..1e811d516cc1 100644
--- a/lang/erlang/Makefile
+++ b/lang/erlang/Makefile
@@ -143,6 +143,11 @@ post-install:
# Stock OTP library directories.
@for LIBRARY in ${OTP_LIBS}; do \
+ cd ${PREFIX} ; ${FIND} lib/erlang/lib/$${LIBRARY} -type d -empty \
+ | ${SED} -e 's#^#@exec mkdir %D/#g'; \
+ done | ${SORT} >> ${WRKDIR}/PLIST.lib-erlang
+
+ @for LIBRARY in ${OTP_LIBS}; do \
cd ${PREFIX} ; ${FIND} lib/erlang/lib/$${LIBRARY} -type d \
| ${SED} -e 's/^/@dirrm /g'; \
done | ${SORT} -r >> ${WRKDIR}/PLIST.lib-erlang
diff --git a/lang/erlang/pkg-plist b/lang/erlang/pkg-plist
index 022066e8e3f7..64dca9bd773d 100644
--- a/lang/erlang/pkg-plist
+++ b/lang/erlang/pkg-plist
@@ -4,6 +4,8 @@ bin/erlc
@comment Insert PLIST.lib-erlang here
@comment -=[ begin PLIST.lib-erlang ]=-
@comment -=[ end PLIST.lib-erlang ]=-
+@exec mkdir %D/lib/erlang/erts-5.4.3/man
+@exec mkdir %D/lib/erlang/usr/lib
@dirrm lib/erlang/man/man6
@dirrm lib/erlang/man/man4
@dirrm lib/erlang/man/man3