diff options
author | Jimmy Olgeni <olgeni@FreeBSD.org> | 2012-08-18 10:18:27 +0000 |
---|---|---|
committer | Jimmy Olgeni <olgeni@FreeBSD.org> | 2012-08-18 10:18:27 +0000 |
commit | dab04f1eef9460957d5b20ae7d1d66929a0ebf2f (patch) | |
tree | 44886317252edcec67246381e53663a12c194680 /lang | |
parent | - Attempt to unbreak on non-Intel architectures (diff) |
Pet portlint:
- Avoid using both PORTVERSION and DISTVERSION
- Move CONFLICTS
Notes
Notes:
svn path=/head/; revision=302717
Diffstat (limited to 'lang')
-rw-r--r-- | lang/erlang/Makefile | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/lang/erlang/Makefile b/lang/erlang/Makefile index ccee9b07be97..b34a46e4dec9 100644 --- a/lang/erlang/Makefile +++ b/lang/erlang/Makefile @@ -6,7 +6,6 @@ # PORTNAME= erlang -DISTVERSION= R15B01 PORTVERSION= 15.b.01 PORTEPOCH= 2 CATEGORIES= lang parallel java @@ -17,7 +16,7 @@ MASTER_SITES= http://www.erlang.org/download/:erlangorg \ http://www.erlang.se/publications/:publications \ http://www.sics.se/~joe/thesis/:joe \ ${MASTER_SITE_LOCAL:S/$/:local/:S,%SUBDIR%/,olgeni/,} -DISTNAME= otp_src_${DISTVERSION} +DISTNAME= otp_src_${ERL_RELEASE} DISTFILES= ${DISTNAME}${EXTRACT_SUFX}:erlangorg \ ${ERLANG_MAN}:erlangorg \ ${ERLANG_DOCS}:erlangorg \ @@ -25,13 +24,13 @@ DISTFILES= ${DISTNAME}${EXTRACT_SUFX}:erlangorg \ DIST_SUBDIR= erlang EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX} -CONFLICTS= erlang-14* - PATCH_SITES= http://www.erlang.org/download MAINTAINER= olgeni@FreeBSD.org COMMENT= A functional programming language from Ericsson +CONFLICTS= erlang-14* + DOC_DISTFILES= armstrong_thesis_2003.pdf:joe \ bjarnelic.pdf:publications \ erlang-book-part1.pdf:erlangorg \ @@ -58,6 +57,8 @@ DTRACE_DESC= Enable DTrace support (experimental) OPTIONS_DEFAULT=SMP OPENSSL THREADS SCTP KQUEUE +ERL_RELEASE= R${PORTVERSION:S/.//g:U} + .include <bsd.port.options.mk> # See http://wiki.freebsd.org/DTrace to learn how to enable DTrace @@ -130,8 +131,8 @@ LIB_DEPENDS+= iodbc:${PORTSDIR}/databases/libiodbc CONFIGURE_ARGS+=--without-odbc .endif -ERLANG_MAN= otp_doc_man_${DISTVERSION}.tar.gz -ERLANG_DOCS= otp_doc_html_${DISTVERSION}.tar.gz +ERLANG_MAN= otp_doc_man_${ERL_RELEASE}.tar.gz +ERLANG_DOCS= otp_doc_html_${ERL_RELEASE}.tar.gz ERLANG_PLIST= ${WRKDIR}/pkg-plist .if ${PORT_OPTIONS:MTHREADS} |