Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 14 Jun 2007 18:38:50 +0400
From:      "Andrew Pantyukhin" <sat@FreeBSD.org>
To:        "Jimmy Olgeni" <olgeni@freebsd.org>, cvs-all@freebsd.org,  cvs-ports@freebsd.org, portmgr@freebsd.org
Subject:   Re: cvs commit: ports/lang/erlang Makefile Makefile.lib Makefile.man distinfo ports/lang/erlang/files epmd.sh.in
Message-ID:  <cb5206420706140738n630dddb9re8255750739cec6b@mail.gmail.com>
In-Reply-To: <20070614123528.52AD516A556@hub.freebsd.org>
References:  <200706141235.l5ECZO0x043453@repoman.freebsd.org> <20070614123528.52AD516A556@hub.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On 6/14/07, Jimmy Olgeni <olgeni@freebsd.org> wrote:
> olgeni      2007-06-14 12:35:24 UTC
>
>   FreeBSD ports repository
>
>   Modified files:
>     lang/erlang          Makefile Makefile.lib Makefile.man
>                          distinfo
>   Added files:
>     lang/erlang/files    epmd.sh.in
>   Log:
>   Upgrade to version R11B-5.
>
>   Revision  Changes    Path
>   1.107     +5 -4      ports/lang/erlang/Makefile
>   1.23      +48 -47    ports/lang/erlang/Makefile.lib
>   1.12      +7 -2      ports/lang/erlang/Makefile.man
>   1.31      +9 -9      ports/lang/erlang/distinfo
>   1.1       +26 -0     ports/lang/erlang/files/epmd.sh.in (new)
> _______________________________________________
> cvs-all@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/cvs-all
> To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
>
>
> Index: ports/lang/erlang/Makefile
> diff -u ports/lang/erlang/Makefile:1.106 ports/lang/erlang/Makefile:1.107
> --- ports/lang/erlang/Makefile:1.106    Mon May 28 23:48:29 2007
> +++ ports/lang/erlang/Makefile  Thu Jun 14 12:35:23 2007
> @@ -6,7 +6,7 @@
>  #
>
>  PORTNAME=      erlang
> -PORTVERSION=   r11b4
> +PORTVERSION=   r11b5
>  PORTEPOCH=     1
>  CATEGORIES=    lang parallel
>  MASTER_SITES=  http://www.erlang.org/download/        \
> @@ -14,7 +14,7 @@
>                 http://www.erlang.org/download/        \
>                 http://erlang.stacken.kth.se/download/ \
>                 http://www.csd.uu.se/ftp/mirror/erlang/download/
> -DISTNAME=      otp_src_R11B-4
> +DISTNAME=      otp_src_R11B-5
>  DISTFILES=     ${DISTNAME}${EXTRACT_SUFX} ${ERLANG_MAN} ${ERLANG_DOCS}
>  DIST_SUBDIR=   erlang
>  EXTRACT_ONLY=  ${DISTNAME}${EXTRACT_SUFX}
> @@ -63,14 +63,15 @@
>  .endif
>  .endif
>
> -ERLANG_MAN=    otp_doc_man_R11B-4.tar.gz
> +ERLANG_MAN=    otp_doc_man_R11B-5.tar.gz
>  .if !defined(NOPORTDOCS)
> -ERLANG_DOCS=   otp_doc_html_R11B-4.tar.gz
> +ERLANG_DOCS=   otp_doc_html_R11B-5.tar.gz

Despite portlint thinking it's a fatal error, you
can set both PORTVERSION and DISTVERSION to whatever
you like. A distversion=R11B-5 will save much typing.

>  .endif
>  ERLANG_PLIST=  ${WRKDIR}/pkg-plist
>
>  USE_GMAKE=     yes
>  USE_PERL5=     yes
> +USE_RC_SUBR=    epmd.sh

We have dropped the .sh suffix. It is now only
supported for compatibility reasons.

> +start_cmd="${prefix}/bin/epmd -daemon"
> +stop_cmd="${prefix}/bin/epmd -kill >/dev/null"

I'm not sure, but isn't '2>&1' needed. I.e. doesn't
it spit out something on stderr?

> +load_rc_config ${name}
> +run_rc_command "$1"

Thanks!



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