1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-27 10:03:20 +00:00

Pet portlint:

- Avoid using both PORTVERSION and DISTVERSION
- Move CONFLICTS
This commit is contained in:
Jimmy Olgeni 2012-08-18 10:18:27 +00:00
parent 4b8d6a8a31
commit dab04f1eef
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=302717

View File

@ -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}