From c3874c8b4476a9a613c08652239f21527eeb68ca Mon Sep 17 00:00:00 2001 From: Jimmy Olgeni Date: Wed, 6 Jun 2001 20:57:49 +0000 Subject: Update port to version 7.3.0 (OTP-R7B-3), and add some improvements to pkg-plist generation (vim5-style). Approved by: maintainer --- lang/erlang/Makefile | 24 ++++++++++++++++++------ lang/erlang/distinfo | 2 +- lang/erlang/pkg-plist | 11 ++++++++++- 3 files changed, 29 insertions(+), 8 deletions(-) (limited to 'lang/erlang') diff --git a/lang/erlang/Makefile b/lang/erlang/Makefile index 261d05c5dd43..dac722980fb6 100644 --- a/lang/erlang/Makefile +++ b/lang/erlang/Makefile @@ -6,13 +6,13 @@ # PORTNAME= erlang -PORTVERSION= 7.2.0 +PORTVERSION= 7.3.0 CATEGORIES= lang MASTER_SITES= 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/ -DISTNAME= otp_src_R7B-2 +DISTNAME= otp_src_R7B-3 DISTFILES= ${DISTNAME}${EXTRACT_SUFX} ${ERLANG_MAN} ${ERLANG_DOCS} EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX} @@ -140,10 +140,22 @@ post-install: .endif sslapp=`ls -d ${PREFIX}/lib/erlang/lib/ssl-* | tail -1`; \ cd $$sslapp/priv/obj && ${MAKE} && strip ../bin/ssl_esock - @${CP} ${PLIST} ${TMPPLIST} - @find ${PREFIX}/lib/erlang -type f | ${SED} -e "s@${PREFIX}/@@" | sort >> ${TMPPLIST} - @find ${PREFIX}/lib/erlang -type l | ${SED} -e "s@${PREFIX}/@@" | sort >> ${TMPPLIST} - @find ${PREFIX}/lib/erlang -type d | ${SED} -e "s@${PREFIX}/@@" | ${PERL} -e 'print (join ("\n", reverse map ("\@dirrm " . substr ($$_, 0, -1), )) . "\n");' >> ${TMPPLIST} + @cd ${PREFIX} ; find lib/erlang/* -type f -o -type l \ + | grep -v "^lib/erlang/man" \ + | sort \ + > ${WRKDIR}/PLIST.lib-erlang + @cd ${PREFIX} ; find lib/erlang/* -type d | sort -r \ + | grep -v "^lib/erlang/man" \ + | ${SED} -e 's/^/@dirrm /g' \ + >> ${WRKDIR}/PLIST.lib-erlang + + @${ECHO} "r ${TMPPLIST}" > ${WRKDIR}/ex.script + @${ECHO} "/Insert PLIST.lib-erlang" >> ${WRKDIR}/ex.script + @${ECHO} "d" >> ${WRKDIR}/ex.script + @${ECHO} "r ${WRKDIR}/PLIST.lib-erlang" >> ${WRKDIR}/ex.script + @${ECHO} "x!" >> ${WRKDIR}/ex.script + @${CP} -p ${TMPPLIST} ${TMPPLIST}.pre-lib-erlang + @cd ${WRKDIR} ; ex < ex.script # The man-pages are put (in spite of FreeBSD's port convention) in a # private subdir. This is to avoid cluttering up the man page name diff --git a/lang/erlang/distinfo b/lang/erlang/distinfo index a59cb9342ce7..404e06b85d85 100644 --- a/lang/erlang/distinfo +++ b/lang/erlang/distinfo @@ -1,3 +1,3 @@ -MD5 (erlang/otp_src_R7B-2.tar.gz) = 9b504e832bcdb1331c78a19e3ef7b869 +MD5 (erlang/otp_src_R7B-3.tar.gz) = 7461cecd8c9bb1885782596f8103755f MD5 (erlang/otp_doc_man_R7B.tar.gz) = b7394481967190eb15b491a0fd75042f MD5 (erlang/otp_doc_html_R7B.tar.gz) = 71406db3ade731af91372de2accbc8b5 diff --git a/lang/erlang/pkg-plist b/lang/erlang/pkg-plist index 5683a8e20896..4dc3ac90df1a 100644 --- a/lang/erlang/pkg-plist +++ b/lang/erlang/pkg-plist @@ -1,3 +1,12 @@ bin/erl bin/erlc -@comment lib/erlang content list is automatically generated +lib/erlang/man/windex +@comment Insert PLIST.lib-erlang here +@comment -=[ begin PLIST.lib-erlang ]=- +@comment -=[ end PLIST.lib-erlang ]=- +@dirrm lib/erlang/man/man6 +@dirrm lib/erlang/man/man4 +@dirrm lib/erlang/man/man3 +@dirrm lib/erlang/man/man1 +@dirrm lib/erlang/man +@dirrm lib/erlang -- cgit v1.2.3