diff options
author | Jimmy Olgeni <olgeni@FreeBSD.org> | 2001-06-06 20:57:49 +0000 |
---|---|---|
committer | Jimmy Olgeni <olgeni@FreeBSD.org> | 2001-06-06 20:57:49 +0000 |
commit | c3874c8b4476a9a613c08652239f21527eeb68ca (patch) | |
tree | a3cc8a1227f2458f0a21e5c22b82d59d36f65eb1 /lang/erlang/Makefile | |
parent | ea9d950857bdf11228f252551b011adf7555687a (diff) | |
download | ports-c3874c8b4476a9a613c08652239f21527eeb68ca.tar.gz ports-c3874c8b4476a9a613c08652239f21527eeb68ca.zip |
Update port to version 7.3.0 (OTP-R7B-3), and add some improvements to
pkg-plist generation (vim5-style).
Approved by: maintainer
Notes
Notes:
svn path=/head/; revision=43569
Diffstat (limited to 'lang/erlang/Makefile')
-rw-r--r-- | lang/erlang/Makefile | 24 |
1 files changed, 18 insertions, 6 deletions
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), <STDIN>)) . "\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 |