svn commit: r361165 - in head/devel/plan9port: . files
Alexey Dokuchaev
danfe at FreeBSD.org
Tue Jul 8 04:36:33 UTC 2014
Author: danfe
Date: Tue Jul 8 04:36:31 2014
New Revision: 361165
URL: http://svnweb.freebsd.org/changeset/ports/361165
QAT: https://qat.redports.org/buildarchive/r361165/
Log:
Update to snapshot 20140306 and stagify.
Modified:
head/devel/plan9port/Makefile
head/devel/plan9port/distinfo
head/devel/plan9port/files/pkg-message.in
Modified: head/devel/plan9port/Makefile
==============================================================================
--- head/devel/plan9port/Makefile Tue Jul 8 03:41:40 2014 (r361164)
+++ head/devel/plan9port/Makefile Tue Jul 8 04:36:31 2014 (r361165)
@@ -2,12 +2,11 @@
# $FreeBSD$
PORTNAME= plan9port
-PORTVERSION= 20130907
+PORTVERSION= 20140306
CATEGORIES= devel plan9
MASTER_SITES= http://swtch.com/${PORTNAME}/
-EXTRACT_SUFX= .tgz
-MAINTAINER= ports at FreeBSD.org
+MAINTAINER= ports at FreeBSD.org
COMMENT= Port of many Plan 9 programs to Unix-like operating systems
LICENSE= LUCENT
@@ -15,7 +14,7 @@ LICENSE_NAME= Lucent Public License Vers
LICENSE_FILE= ${WRKSRC}/LICENSE
LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept
-USES= perl5
+USES= perl5 tar:tgz
USE_PERL5= build
USE_XORG= x11 xt xi xaw
WRKSRC= ${WRKDIR}/plan9
@@ -24,78 +23,14 @@ SUB_FILES= pkg-message
REINPLACE_ARGS= -i "" # necessary since installs via recursive copy
PLAN9= ${PREFIX}/plan9
-MANPREFIX= ${PLAN9}
-
-MAN1= 9term.1 acmeevent.1 ascii.1 acme.1 9p.1 basename.1 cal.1 \
- calendar.1 cat.1 cleanname.1 cmp.1 comm.1 date.1 db.1 dc.1 \
- dd.1 deroff.1 dict.1 diff.1 echo.1 ed.1 factor.1 fmt.1 \
- fortune.1 freq.1 grep.1 hoc.1 man.1 idiff.1 join.1 ls.1 \
- mc.1 mkdir.1 plumb.1 rc.1 rio.1 rm.1 sam.1 seq.1 sleep.1 \
- sort.1 spell.1 split.1 strings.1 sum.1 tail.1 tcs.1 \
- tee.1 test.1 time.1 touch.1 tr.1 uniq.1 wc.1 xd.1 yacc.1 \
- acid.1 stats.1 graph.1 9.1 gview.1 plot.1 scat.1 eqn.1 \
- grap.1 pic.1 tbl.1 troff.1 0intro.1 9c.1 astro.1 bc.1 \
- bundle.1 clog.1 colors.1 core.1 crop.1 dial.1 \
- doctype.1 fsize.1 gzip.1 install.1 jpg.1 kill.1 label.1 \
- lex.1 look.1 map.1 mk.1 mk9660.1 namespace.1 news.1 p.1 \
- page.1 pr.1 proof.1 ps.1 psfonts.1 pwd.1 secstore.1 \
- sed.1 src.1 tr2post.1 troff2html.1 tweak.1 units.1 vac.1 \
- web.1 wintext.1 ndb.1 passwd.1 secstored.1 tar.1 pem.1 \
- readcons.1 rsa.1 ssh-agent.1 netfiles.1 sftpcache.1 \
- hist.1 venti.1 yesterday.1 hget.1 snarfer.1 htmlroff.1 \
- resample.1 devdraw.1 mount.1 hg.1 codereview.1 awk.1 \
- ssam.1
-
-MAN3= ioproc.3 bio.3 fmtinstall.3 isalpharune.3 print.3 rune.3 \
- runestrcat.3 thread.3 9p.3 matrix.3 arith3.3 ctime.3 \
- memory.3 needstack.3 opentemp.3 addpt.3 aes.3 allocimage.3 \
- arg.3 proto.3 atof.3 pushtls.3 rfork.3 bin.3 blowfish.3 \
- cachechars.3 cleanname.3 color.3 complete.3 cputime.3 \
- des.3 dial.3 dirread.3 draw.3 dsa.3 dup.3 elgamal.3 \
- encode.3 errstr.3 event.3 exec.3 exits.3 fcall.3 flate.3 \
- frame.3 genrandom.3 getcallerpc.3 getenv.3 getsnarf.3 \
- get9root.3 mux.3 getns.3 getfields.3 post9pservice.3 \
- getuser.3 getwd.3 graphics.3 html.3 mach-cmd.3 ip.3 \
- keyboard.3 lock.3 mach-file.3 mach-map.3 mach-stack.3 \
- mach-swap.3 mach-symbol.3 mach.3 malloc.3 memdraw.3 \
- memlayer.3 mousescrollsize.3 mouse.3 mp.3 muldiv.3 nan.3 \
- notify.3 open.3 pipe.3 plumb.3 postnote.3 prime.3 quote.3 \
- rand.3 rc4.3 read.3 regexp.3 sendfd.3 sysfatal.3 rsa.3 \
- sechash.3 seek.3 setjmp.3 sleep.3 stat.3 strcat.3 \
- string.3 stringsize.3 subfont.3 time.3 wait.3 0intro.3 \
- 9p-cmdbuf.3 qball.3 9p-fid.3 9p-file.3 9p-intmap.3 \
- 9pclient.3 quaternion.3 readcolmap.3 udpread.3 wctl.3 \
- window.3 searchpath.3 auth.3 authsrv.3 encrypt.3 ndb.3 \
- readcons.3 venti-cache.3 venti-client.3 venti-conn.3 \
- venti-fcall.3 venti-file.3 venti-log.3 venti-mem.3 \
- venti-packet.3 venti-server.3 venti-zero.3 venti.3 \
- acme.3 drawfcall.3 avl.3
-
-MAN4= 0intro.4 9pserve.4 acme.4 import.4 plumber.4 ramfs.4 \
- vacfs.4 factotum.4 srv.4 9pfuse.4 tapefs.4 smugfs.4 \
- fontsrv.4 9import.4
-
-MAN7= utf.7 regexp.7 0intro.7 color.7 face.7 font.7 image.7 \
- man.7 map.7 ms.7 plot.7 plumb.7 thumbprint.7 ndb.7 \
- keyboard.7 mpictures.7 venti.7 mhtml.7 htmlroff.7
-
-MAN8= listen1.8 vbackup.8 venti-backup.8 venti-fmt.8 venti.8 \
- getflags.8 mkfs.8
-
-MAN9= 0intro.9p attach.9p clunk.9p error.9p flush.9p open.9p \
- openfd.9p read.9p remove.9p stat.9p version.9p walk.9p
-
-MANCOMPRESSED= no
-NO_MANCOMPRESS= yes
EMPTY_DIRS= plan9/log \
plan9/bin/lpbin \
- plan9/9pm/Windows/386/bin \
- plan9/9pm/Plan9/386/lib \
+ plan9/dist/troff \
+ plan9/mail/queue \
plan9/dist/debian \
plan9/dist/pkg
-NO_STAGE= yes
post-patch:
@${FIND} ${WRKSRC}/man -type f -regex ".*\.[0-9?]$\" \
| ${XARGS} ${REINPLACE_CMD} -e 's|\\\*9|${PLAN9}|'
@@ -112,29 +47,26 @@ post-patch:
do-build:
cd ${WRKSRC} && CC9="${CC}" ./INSTALL
+# Dynamic PLIST sucks, but it's over 8K lines, which sucks even more :(
post-build:
${RM} -rf `${FIND} ${WRKSRC}/dist -type f ! -regex ".*\.png"`
${RM} -rf `${FIND} ${WRKSRC} -name .hg -o -name .cvsignore`
- ( cd ${WRKDIR} && \
- ${FIND} plan9 -type f -a ! -path "plan9/man/man[0-9]/*.[0-9]*"; \
- for D in ${EMPTY_DIRS}; do \
+ ( cd ${WRKDIR} ; \
+ ${FIND} plan9 -type f; for D in ${EMPTY_DIRS}; do \
${ECHO_CMD} "@exec ${MKDIR} ${PREFIX}/$${D}"; \
done; \
${FIND} plan9 -type d | ${SORT} -r | ${SED} -e 's|^|@dirrm |'; \
- ) > ${PLIST}
+ ) | ${PERL} -pe '$$_ =~ s,plan9/bin/auxstats,\@group kmem\n\@mode\
+ 2755\n$$&\n\@group\n\@mode,' > ${PLIST}
do-install:
- ${CP} -a ${WRKSRC} ${PREFIX}
+ ${CP} -a ${WRKSRC} ${STAGEDIR}${PREFIX}
post-install:
- cd ${PLAN9} && ${SETENV} PLAN9=${PLAN9} PATH=${PATH}:${PLAN9}/bin \
- ${SH} lib/moveplan9.sh ${WRKSRC}
- ${CHGRP} kmem ${PLAN9}/bin/auxstats
- ${CHMOD} +s ${PLAN9}/bin/auxstats
- ${CHMOD} 01777 ${PLAN9}/news
- @${ECHO_CMD}
- @${CAT} ${PKGMESSAGE}
- @${ECHO_CMD}
+ cd ${STAGEDIR}${PLAN9} && ${SETENV} PLAN9=${STAGEDIR}${PLAN9} \
+ PATH=${PATH}:${STAGEDIR}${PLAN9}/bin \
+ ${SH} lib/moveplan9.sh ${WRKSRC}
+ ${CHMOD} 01777 ${STAGEDIR}${PLAN9}/news
install-user:
@${MKDIR} ${HOME}/lib
@@ -142,7 +74,7 @@ install-user:
.include <bsd.port.pre.mk>
-.if ${ARCH} == "ia64" || ${ARCH} == "powerpc" || ${ARCH} == "sparc64"
+.if ${ARCH} == "ia64" || ${ARCH} == "sparc64"
BROKEN= Does not install: cleanname not found
.endif
Modified: head/devel/plan9port/distinfo
==============================================================================
--- head/devel/plan9port/distinfo Tue Jul 8 03:41:40 2014 (r361164)
+++ head/devel/plan9port/distinfo Tue Jul 8 04:36:31 2014 (r361165)
@@ -1,2 +1,2 @@
-SHA256 (plan9port-20130907.tgz) = cf9ae310027834a21188b2d56a8f505d0498f9908c562daf503a356b26d35b5d
-SIZE (plan9port-20130907.tgz) = 54185738
+SHA256 (plan9port-20140306.tgz) = 1b4afb0776f14a47fd1960eabb7f928c3a39a5aefa602088bad2eafec655ed7a
+SIZE (plan9port-20140306.tgz) = 54498850
Modified: head/devel/plan9port/files/pkg-message.in
==============================================================================
--- head/devel/plan9port/files/pkg-message.in Tue Jul 8 03:41:40 2014 (r361164)
+++ head/devel/plan9port/files/pkg-message.in Tue Jul 8 04:36:31 2014 (r361165)
@@ -4,8 +4,13 @@ for sh/bash, adjust for tcsh as appropri
PLAN9=%%PREFIX%%/plan9; export PLAN9
PATH=$PATH:$PLAN9/bin; export PATH
-This port can install a default plumbing file if you want. Just go to the
-port's directory and type (being your normal user):
+You can also install a default plumbing file if you want:
+
+ $ mkdir -p ${HOME}/lib
+ $ %%PREFIX%%/plan9/plumb/initial.plumbing ${HOME}/lib/plumbing
+
+When installing from the port (as your normal user), you can simply type
+(while in the port directory) to do the same:
make install-user
More information about the svn-ports-head
mailing list