aboutsummaryrefslogtreecommitdiffstats
path: root/lang
diff options
context:
space:
mode:
authorolgeni <olgeni@FreeBSD.org>2013-05-07 04:18:32 +0800
committerolgeni <olgeni@FreeBSD.org>2013-05-07 04:18:32 +0800
commite381a44f79fe6ecaaf80fbac0aea74a721f4e160 (patch)
tree6c6fc7fdd189ff2bbf231408d332b56c091cc2f3 /lang
parent81b205ac59d3743b50ab8648eef56e2baef99408 (diff)
downloadfreebsd-ports-gnome-e381a44f79fe6ecaaf80fbac0aea74a721f4e160.tar.gz
freebsd-ports-gnome-e381a44f79fe6ecaaf80fbac0aea74a721f4e160.tar.zst
freebsd-ports-gnome-e381a44f79fe6ecaaf80fbac0aea74a721f4e160.zip
Do not try to install empty DOCSDIR.
Diffstat (limited to 'lang')
-rw-r--r--lang/erlang/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/lang/erlang/Makefile b/lang/erlang/Makefile
index 46ad2bed6d7b..ef256f784efa 100644
--- a/lang/erlang/Makefile
+++ b/lang/erlang/Makefile
@@ -200,8 +200,8 @@ post-install:
@${INSTALL_DATA} ${WRKSRC}/lib/dialyzer/doc/*.txt \
${PREFIX}/lib/${ERLANG_LIB}/lib/dialyzer-*/doc/
- @${MKDIR} ${DOCSDIR}
.for FILE in ${DOC_DISTFILES}
+ @${MKDIR} ${DOCSDIR}
@${INSTALL_DATA} ${DISTDIR}/${DIST_SUBDIR}/$$(expr ${FILE} : '\([^:]*\)') ${DOCSDIR}
.endfor
.endif