Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 24 Apr 2013 12:48:09 +0000 (UTC)
From:      Jimmy Olgeni <olgeni@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r316426 - head/lang/erlang
Message-ID:  <201304241248.r3OCm96h030938@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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@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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201304241248.r3OCm96h030938>