aboutsummaryrefslogtreecommitdiffstats
path: root/lang/erlang14
diff options
context:
space:
mode:
authorolgeni <olgeni@FreeBSD.org>2001-06-07 04:57:49 +0800
committerolgeni <olgeni@FreeBSD.org>2001-06-07 04:57:49 +0800
commit4b2c718c69d996c8d0d0bb410e055a353953b740 (patch)
tree697d5ee0497833ab43fb04bef621aaafe7c1fbbe /lang/erlang14
parent2459ed5bbd623bc87289d6f1400ad0133580a7d4 (diff)
downloadfreebsd-ports-gnome-4b2c718c69d996c8d0d0bb410e055a353953b740.tar.gz
freebsd-ports-gnome-4b2c718c69d996c8d0d0bb410e055a353953b740.tar.zst
freebsd-ports-gnome-4b2c718c69d996c8d0d0bb410e055a353953b740.zip
Update port to version 7.3.0 (OTP-R7B-3), and add some improvements to
pkg-plist generation (vim5-style). Approved by: maintainer
Diffstat (limited to 'lang/erlang14')
-rw-r--r--lang/erlang14/Makefile24
-rw-r--r--lang/erlang14/distinfo2
-rw-r--r--lang/erlang14/pkg-plist11
3 files changed, 29 insertions, 8 deletions
diff --git a/lang/erlang14/Makefile b/lang/erlang14/Makefile
index 261d05c5dd43..dac722980fb6 100644
--- a/lang/erlang14/Makefile
+++ b/lang/erlang14/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
diff --git a/lang/erlang14/distinfo b/lang/erlang14/distinfo
index a59cb9342ce7..404e06b85d85 100644
--- a/lang/erlang14/distinfo
+++ b/lang/erlang14/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/erlang14/pkg-plist b/lang/erlang14/pkg-plist
index 5683a8e20896..4dc3ac90df1a 100644
--- a/lang/erlang14/pkg-plist
+++ b/lang/erlang14/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