aboutsummaryrefslogtreecommitdiffstats
path: root/lang/erlang
diff options
context:
space:
mode:
authorolgeni <olgeni@FreeBSD.org>2010-08-14 20:40:33 +0800
committerolgeni <olgeni@FreeBSD.org>2010-08-14 20:40:33 +0800
commite7833d5d78ff43f3b9ed703e6142f1d90db7c314 (patch)
treef5e7b2f037930dca3a19c41d2075c33185970d5d /lang/erlang
parent1e05a5f8c94fc25192fc6d14e4aa78650bf51caa (diff)
downloadfreebsd-ports-gnome-e7833d5d78ff43f3b9ed703e6142f1d90db7c314.tar.gz
freebsd-ports-gnome-e7833d5d78ff43f3b9ed703e6142f1d90db7c314.tar.zst
freebsd-ports-gnome-e7833d5d78ff43f3b9ed703e6142f1d90db7c314.zip
Bring back a few docs that used to live in lang/erlang-doc.
Diffstat (limited to 'lang/erlang')
-rw-r--r--lang/erlang/Makefile30
-rw-r--r--lang/erlang/distinfo18
-rw-r--r--lang/erlang/pkg-plist7
3 files changed, 48 insertions, 7 deletions
diff --git a/lang/erlang/Makefile b/lang/erlang/Makefile
index d2564c68ef85..3ce94a938d57 100644
--- a/lang/erlang/Makefile
+++ b/lang/erlang/Makefile
@@ -7,16 +7,27 @@
PORTNAME= erlang
PORTVERSION= r13b04
-PORTREVISION= 2
+PORTREVISION= 3
PORTEPOCH= 1
CATEGORIES= lang parallel java
-MASTER_SITES= http://www.erlang.org/download/ \
- ftp://ftp.erlang.org/pub/download/ \
- http://www.erlang.org/download/ \
- http://erlang.stacken.kth.se/download/ \
- http://www.csd.uu.se/ftp/mirror/erlang/download/
+MASTER_SITES= http://www.erlang.org/download/:erlangorg \
+ http://erlang.stacken.kth.se/download/:erlangorg \
+ http://www.csd.uu.se/ftp/mirror/erlang/download/:erlangorg \
+ http://www.erlang.se/doc/:erlangse \
+ http://www.erlang.se/publications/:publications \
+ http://www.sics.se/~joe/thesis/:joe \
+ ${MASTER_SITE_LOCAL:S/$/:local/}
DISTNAME= otp_src_R13B04
-DISTFILES= ${DISTNAME}${EXTRACT_SUFX} ${ERLANG_MAN} ${ERLANG_DOCS}
+DISTFILES= ${DISTNAME}${EXTRACT_SUFX}:erlangorg \
+ ${ERLANG_MAN}:erlangorg \
+ ${ERLANG_DOCS}:erlangorg \
+ ${DOC_DISTFILES}
+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
DIST_SUBDIR= erlang
EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX}
@@ -155,6 +166,11 @@ post-install:
-C ${PREFIX}/lib/erlang
@${INSTALL_DATA} ${WRKSRC}/lib/dialyzer/doc/*.txt \
${LOCALBASE}/lib/erlang/lib/dialyzer-*/doc/
+
+ @${MKDIR} ${PREFIX}/share/doc/erlang
+.for FILE in ${DOC_DISTFILES}
+ @${INSTALL_DATA} ${DISTDIR}/${DIST_SUBDIR}/$$(expr ${FILE} : '\([^:]*\)') ${PREFIX}/share/doc/erlang
+.endfor
.endif
@${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${PREFIX}/lib/erlang
@${CHMOD} -R o+rX-w,g+rX-w ${PREFIX}/lib/erlang
diff --git a/lang/erlang/distinfo b/lang/erlang/distinfo
index 8b7eb917fe5d..75a0a469f2d0 100644
--- a/lang/erlang/distinfo
+++ b/lang/erlang/distinfo
@@ -7,3 +7,21 @@ SIZE (erlang/otp_doc_man_R13B04.tar.gz) = 1033584
MD5 (erlang/otp_doc_html_R13B04.tar.gz) = d69ce51bfabbdd0808461d86dfc95689
SHA256 (erlang/otp_doc_html_R13B04.tar.gz) = fdad0db55ab9339703e7cd61626b5cca95f187084d1dabf07ac97f528b4f47aa
SIZE (erlang/otp_doc_html_R13B04.tar.gz) = 27440785
+MD5 (erlang/armstrong_thesis_2003.pdf) = 2196a214fd7eccc6292adb96602f5827
+SHA256 (erlang/armstrong_thesis_2003.pdf) = da585b914eb07350e2d6f727db5eb0fb1551f49fc1270f7d4dc079f2c8c1ab7a
+SIZE (erlang/armstrong_thesis_2003.pdf) = 859249
+MD5 (erlang/bjarnelic.pdf) = 155051a1a6a7d544ac9698ba95b89a21
+SHA256 (erlang/bjarnelic.pdf) = 9544d4af5cea324e5c9cf77e670d9561ad61ddc240cdb5c2afecebc0a3d7429b
+SIZE (erlang/bjarnelic.pdf) = 488043
+MD5 (erlang/erlang-book-part1.pdf) = cb3919d82ebeba9ac7cb63bd8826408d
+SHA256 (erlang/erlang-book-part1.pdf) = ef2fb9d15d35f3b1b602c8578e48618597477f9cfab2d103dc2e22372c46ca0a
+SIZE (erlang/erlang-book-part1.pdf) = 883639
+MD5 (erlang/master_thesis_patterns.pdf) = 6cd8d41d6df817a11011c5ec3757dba1
+SHA256 (erlang/master_thesis_patterns.pdf) = b390fd59060fb944c78bceed781c7ad3795d4f9fbe86d391bccc479828552b43
+SIZE (erlang/master_thesis_patterns.pdf) = 422457
+MD5 (erlang/mnesia_overview.pdf) = d90dc66d367615965630f3778f1fc691
+SHA256 (erlang/mnesia_overview.pdf) = f07f9edd4ba865a1c50647dd6fa4a8f49277f8f3bef4d521c06fd90293717032
+SIZE (erlang/mnesia_overview.pdf) = 150266
+MD5 (erlang/programming_rules.pdf) = 8996d996fea086fa74f48ddf9161dadb
+SHA256 (erlang/programming_rules.pdf) = b95f8851004832b044e064c12976a422613ece897e98308a27ee8b66738b4502
+SIZE (erlang/programming_rules.pdf) = 77025
diff --git a/lang/erlang/pkg-plist b/lang/erlang/pkg-plist
index a0f7e5f47607..a1ab120e8594 100644
--- a/lang/erlang/pkg-plist
+++ b/lang/erlang/pkg-plist
@@ -17,3 +17,10 @@ bin/typer
@dirrm lib/erlang/man
@dirrmtry lib/erlang/lib
@dirrmtry lib/erlang
+%%PORTDOCS%%%%DOCSDIR%%/armstrong_thesis_2003.pdf
+%%PORTDOCS%%%%DOCSDIR%%/bjarnelic.pdf
+%%PORTDOCS%%%%DOCSDIR%%/erlang-book-part1.pdf
+%%PORTDOCS%%%%DOCSDIR%%/master_thesis_patterns.pdf
+%%PORTDOCS%%%%DOCSDIR%%/mnesia_overview.pdf
+%%PORTDOCS%%%%DOCSDIR%%/programming_rules.pdf
+%%PORTDOCS%%@dirrm %%DOCSDIR%%