diff options
author | olgeni <olgeni@FreeBSD.org> | 2005-01-29 21:51:43 +0800 |
---|---|---|
committer | olgeni <olgeni@FreeBSD.org> | 2005-01-29 21:51:43 +0800 |
commit | 838450179a9e5dac4f1ccf4cbf4bf979104f0c11 (patch) | |
tree | 94c8ba7a81e51796df0d3d6c2e9739f1a9cf3b1d /lang/erlang/Makefile | |
parent | d95840151fc6673b2926b49aef86c75b1251df5b (diff) | |
download | freebsd-ports-graphics-838450179a9e5dac4f1ccf4cbf4bf979104f0c11.tar.gz freebsd-ports-graphics-838450179a9e5dac4f1ccf4cbf4bf979104f0c11.tar.zst freebsd-ports-graphics-838450179a9e5dac4f1ccf4cbf4bf979104f0c11.zip |
Create empty directories from pkg-plist.
Diffstat (limited to 'lang/erlang/Makefile')
-rw-r--r-- | lang/erlang/Makefile | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/lang/erlang/Makefile b/lang/erlang/Makefile index e2bfffe027b..1e811d516cc 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 |