cvs commit: ports/lang/erlang Makefile Makefile.lib Makefile.man distinfo ports/lang/erlang/files epmd.sh.in

Andrew Pantyukhin sat at FreeBSD.org
Thu Jun 14 14:38:54 UTC 2007


On 6/14/07, Jimmy Olgeni <olgeni at 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 at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/cvs-all
> To unsubscribe, send any mail to "cvs-all-unsubscribe at 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!


More information about the cvs-all mailing list