summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorolgeni <olgeni@FreeBSD.org>2005-01-29 13:51:43 +0000
committerolgeni <olgeni@FreeBSD.org>2005-01-29 13:51:43 +0000
commit838450179a9e5dac4f1ccf4cbf4bf979104f0c11 (patch)
tree94c8ba7a81e51796df0d3d6c2e9739f1a9cf3b1d
parentd95840151fc6673b2926b49aef86c75b1251df5b (diff)
downloadFreeBSD-ports-838450179a9e5dac4f1ccf4cbf4bf979104f0c11.zip
FreeBSD-ports-838450179a9e5dac4f1ccf4cbf4bf979104f0c11.tar.gz
Create empty directories from pkg-plist.
-rw-r--r--lang/erlang/Makefile5
-rw-r--r--lang/erlang/pkg-plist2
-rw-r--r--lang/erlang14/Makefile5
-rw-r--r--lang/erlang14/pkg-plist2
4 files changed, 14 insertions, 0 deletions
diff --git a/lang/erlang/Makefile b/lang/erlang/Makefile
index e2bfffe..1e811d5 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 022066e..64dca9b 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
diff --git a/lang/erlang14/Makefile b/lang/erlang14/Makefile
index e2bfffe..1e811d5 100644
--- a/lang/erlang14/Makefile
+++ b/lang/erlang14/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/erlang14/pkg-plist b/lang/erlang14/pkg-plist
index 022066e..64dca9b 100644
--- a/lang/erlang14/pkg-plist
+++ b/lang/erlang14/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
OpenPOWER on IntegriCloud