1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-30 01:15:52 +00:00

Only fetch the documentation files if DOCS is defined (the otp_doc_html

tarball can he heavy if you are short on bandwidth).
This commit is contained in:
Jimmy Olgeni 2013-04-24 12:48:08 +00:00
parent 499e088119
commit 797a371b80
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=316426

View File

@ -15,7 +15,6 @@ MASTER_SITES= http://www.erlang.org/download/:erlangorg \
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/download
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$/-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.