svn commit: r316426 - head/lang/erlang
Jimmy Olgeni
olgeni at FreeBSD.org
Wed Apr 24 12:48:09 UTC 2013
Author: olgeni
Date: Wed Apr 24 12:48:08 2013
New Revision: 316426
URL: http://svnweb.freebsd.org/changeset/ports/316426
Log:
Only fetch the documentation files if DOCS is defined (the otp_doc_html
tarball can he heavy if you are short on bandwidth).
Modified:
head/lang/erlang/Makefile
Modified: head/lang/erlang/Makefile
==============================================================================
--- head/lang/erlang/Makefile Wed Apr 24 12:10:18 2013 (r316425)
+++ head/lang/erlang/Makefile Wed Apr 24 12:48:08 2013 (r316426)
@@ -15,7 +15,6 @@ MASTER_SITES= http://www.erlang.org/down
DISTNAME= otp_src_${ERL_RELEASE}
DISTFILES= ${DISTNAME}${EXTRACT_SUFX}:erlangorg \
${ERLANG_MAN}:erlangorg \
- ${ERLANG_DOCS}:erlangorg \
${DOC_DISTFILES}
DIST_SUBDIR= erlang
EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX}
@@ -25,13 +24,6 @@ PATCH_SITES= http://www.erlang.org/downl
MAINTAINER= olgeni at FreeBSD.org
COMMENT= A functional programming language from Ericsson
-DOC_DISTFILES= armstrong_thesis_2003.pdf:joe \
- bjarnelic.pdf:publications \
- erlang-book-part1.pdf:erlangorg \
- master_thesis_patterns.pdf:local \
- mnesia_overview.pdf:publications \
- programming_rules.pdf:erlangse
-
WRKSRC= ${WRKDIR}/otp_src_R15B03
SUB_FILES= pkg-message
@@ -58,6 +50,16 @@ ERL_RELEASE= R${PORTVERSION:S/.//g:U:S/1
.include <bsd.port.options.mk>
+.if ${PORT_OPTIONS:MDOCS}
+DOC_DISTFILES= ${ERLANG_DOCS}:erlangorg \
+ armstrong_thesis_2003.pdf:joe \
+ bjarnelic.pdf:publications \
+ erlang-book-part1.pdf:erlangorg \
+ master_thesis_patterns.pdf:local \
+ mnesia_overview.pdf:publications \
+ programming_rules.pdf:erlangse
+.endif
+
# See http://wiki.freebsd.org/DTrace to learn how to enable DTrace
# on your system. You will need to configure STRIP, WITH_CTF and
# CFLAGS in your make.conf before building.
More information about the svn-ports-all
mailing list