ports/90840: New port: devel/plan9port

Serge Gagnon serge.gagnon at b2b2c.ca
Fri Dec 23 03:50:03 UTC 2005


>Number:         90840
>Category:       ports
>Synopsis:       New port: devel/plan9port
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Fri Dec 23 03:50:01 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     Serge Gagnon
>Release:        FreeBSD 6.0-STABLE i386
>Organization:
me
>Environment:
System: FreeBSD quenix1.dyndns.org 6.0-STABLE FreeBSD 6.0-STABLE #0: Sun Dec 4 10:42:56 EST 2005 root at quenix1.dyndns.org:/usr/obj/usr/src/sys/OCEAN i386


>Description:
	This is the same stuff than PR ports/86543 but plan9port itself
	is at a version far away from the first time i submitted it and
	the ports itself have changed a lot.
	This means that you can closed PR ports/86543

	------------------------------------------------------------------

	Plan 9 is a distributed computing environnement built at Bell Labs
	starting in the late 1980s. The system can be obtained from Bell
	Labs at http://plan9.bell-labs.com/plan9 and runs on PCs and a
	variety of other platforms. Plan9 became a convenient platform
	for experimenting with new ideas, applications, and services

	Plan 9 from User Space (plan9port) provides many of the ideas,
	applications, and services from Plan 9 on Unix-like systems.
	It runs on FreeBSD (x86) and some other OS.


>How-To-Repeat:
>Fix:



--- plan9port.shar begins here ---
# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	plan9port
#	plan9port/files
#	plan9port/files/pkg-message.in
#	plan9port/.cvsignore
#	plan9port/Makefile
#	plan9port/distinfo
#	plan9port/pkg-descr
#
echo c - plan9port
mkdir -p plan9port > /dev/null 2>&1
echo c - plan9port/files
mkdir -p plan9port/files > /dev/null 2>&1
echo x - plan9port/files/pkg-message.in
sed 's/^X//' >plan9port/files/pkg-message.in << 'END-of-plan9port/files/pkg-message.in'
XAdd these to your profile environment.
XPLAN9=%%PREFIX%%/plan9; export PLAN9
XPATH=$PATH:$PLAN9/bin; export PATH
X
XThis port can cause some problems if you install certain
Xports
Xwww/mozilla -> $PLAN9/bin/zip (mozilla doesn't build if
Xarchivers/zip is not already installed)
Xx11/kdebase3 -> build crash in a fish.cpp file
X
XI suggest you to unset $PLAN9 before building any other ports
Xif you don't want to fall into these problems et reset it after.
X
END-of-plan9port/files/pkg-message.in
echo x - plan9port/.cvsignore
sed 's/^X//' >plan9port/.cvsignore << 'END-of-plan9port/.cvsignore'
X*.mak
X*.wrk
X.*.cf_prj
X.*.cf_fi
X.*.cf_di
X.TAGS.cf
X.*.base
END-of-plan9port/.cvsignore
echo x - plan9port/Makefile
sed 's/^X//' >plan9port/Makefile << 'END-of-plan9port/Makefile'
X# New ports collection makefile for: plan9port
X# Date created: 	Wed Mar 31 17:11:24 EST 2004
X# Whom: 		Serge Gagnon serge.gagnon at b2b2c.ca
X#
X# $FreeBSD$
X#
X
XPORTNAME=	plan9port
XPORTVERSION=	20051222
XCATEGORIES=	devel plan9
XMASTER_SITES=	http://swtch.com/plan9port/ \
X		ftp://quenix2.dyndns.org/FreeBSD/ports/distfiles/
XEXTRACT_SUFX=	.tgz
X
XMAINTAINER=	serge.gagnon at b2b2c.ca
XCOMMENT=	Port of the bulk of the Plan9 software build environment to Unix
X
XRESTRICTED=	"Redistribution is not permitted"
XUSE_XLIB=	YES
XWRKSRC=		${WRKDIR}/plan9
XPLIST=		${WRKDIR}/.PLIST
XSUB_FILES=	pkg-message
XUSE_REINPLACE=	yes
XREINPLACE_ARGS=	-i ""
XONLY_FOR_ARCHS=	i386
X
XPLAN9=		${PREFIX}/plan9
XMANPREFIX=		${PLAN9}
XMANUNIX=		plan9/unix/man
X# Files's name in this directory are utf-8 encoded and not
X# handled by pkg_delete
XUTF8_DIR=	plan9/troff/font/devutf/charlib
X
XMAN1=		9term.1 acmeevent.1 ascii.1 acme.1 9p.1 basename.1 cal.1 \
X		calendar.1 cat.1 cleanname.1 cmp.1 comm.1 date.1 db.1 \
X		dc.1 deroff.1 dict.1 diff.1 echo.1 ed.1 factor.1 fmt.1 \
X		fortune.1 freq.1 grep.1 hoc.1 man.1 idiff.1 join.1 ls.1 \
X		mc.1 mkdir.1 plumb.1 rc.1 rio.1 rm.1 sam.1 seq.1 sleep.1 \
X		sort.1 spell.1 split.1 strings.1 sum.1 tail.1 tcs.1 \
X		tee.1 test.1 time.1 touch.1 tr.1 uniq.1 wc.1 xd.1 yacc.1 \
X		acid.1 stats.1 graph.1 9.1 gview.1 plot.1 scat.1 eqn.1 \
X		grap.1 pic.1 tbl.1 troff.1 0intro.1 9c.1 astro.1 bc.1 \
X		bundle.1 clog.1 colors.1 core.1 crop.1 cvs.1 dial.1 \
X		doctype.1 fsize.1 gzip.1 install.1 jpg.1 kill.1 label.1 \
X		lex.1 look.1 map.1 mk.1 mk9660.1 namespace.1 news.1 p.1 \
X		page.1 pr.1 proof.1 ps.1 psfonts.1 pwd.1 secstore.1 \
X		sed.1 src.1 tr2post.1 troff2html.1 tweak.1 units.1 vac.1 \
X		web.1 wintext.1 ndb.1 passwd.1 secstored.1 tar.1 pem.1 \
X		readcons.1 rsa.1 ssh-agent.1 netfiles.1 sftpcache.1 \
X		hist.1 venti.1 yesterday.1 hget.1
X
XMAN3=		ioproc.3 bio.3 fmtinstall.3 isalpharune.3 print.3 rune.3 \
X		runestrcat.3 thread.3 9p.3 matrix.3 arith3.3 ctime.3 \
X		memory.3 needstack.3 opentemp.3 addpt.3 aes.3 allocimage.3 \
X		arg.3 proto.3 atof.3 pushtls.3 rfork.3 bin.3 blowfish.3 \
X		cachechars.3 cleanname.3 color.3 complete.3 cputime.3 \
X		des.3 dial.3 dirread.3 draw.3 dsa.3 dup.3 elgamal.3 \
X		encode.3 errstr.3 event.3 exec.3 exits.3 fcall.3 flate.3 \
X		frame.3 genrandom.3 getcallerpc.3 getenv.3 getsnarf.3 \
X		get9root.3 mux.3 getns.3 getfields.3 post9pservice.3 \
X		getuser.3 getwd.3 graphics.3 html.3 mach-cmd.3 ip.3 \
X		keyboard.3 lock.3 mach-file.3 mach-map.3 mach-stack.3 \
X		mach-swap.3 mach-symbol.3 mach.3 malloc.3 memdraw.3 \
X		memlayer.3 mousescrollsize.3 mouse.3 mp.3 muldiv.3 nan.3 \
X		notify.3 open.3 pipe.3 plumb.3 postnote.3 prime.3 quote.3 \
X		rand.3 rc4.3 read.3 regexp.3 sendfd.3 sysfatal.3 rsa.3 \
X		sechash.3 seek.3 setjmp.3 sleep.3 stat.3 strcat.3 \
X		string.3 stringsize.3 subfont.3 time.3 wait.3 0intro.3 \
X		9p-cmdbuf.3 qball.3 9p-fid.3 9p-file.3 9p-intmap.3 \
X		9pclient.3 quaternion.3 readcolmap.3 udpread.3 wctl.3 \
X		window.3 searchpath.3 auth.3 authsrv.3 encrypt.3 ndb.3 \
X		readcons.3 venti-cache.3 venti-client.3 venti-conn.3 \
X		venti-fcall.3 venti-file.3 venti-log.3 venti-mem.3 \
X		venti-packet.3 venti-server.3 venti-zero.3 venti.3
X
XMAN4=		0intro.4 9pserve.4 acme.4 import.4 plumber.4 ramfs.4 \
X		vacfs.4 factotum.4 srv.4
X
XMAN7=		utf.7 regexp.7 0intro.7 color.7 face.7 font.7 image.7 \
X		man.7 map.7 ms.7 plot.7 plumb.7 thumbprint.7 ndb.7 \
X		keyboard.7 mpictures.7 venti.7
XMAN8=		listen1.8 vbackup.8 venti-backup.8 venti-fmt.8 venti.8
X
XMAN9=		0intro.9p attach.9p clunk.9p error.9p flush.9p open.9p \
X		openfd.9p read.9p remove.9p stat.9p version.9p walk.9p
XMANCOMPRESSED=	no
X
XEMPTY_DIRS=	plan9/log \
X		plan9/bin/lpbin \
X		plan9/9pm/Windows/386/bin \
X		plan9/9pm/Plan9/386/lib
X
Xpre-build:
X	@${REINPLACE_CMD} -e 's|cc=gcc|cc=${CC}|' ${WRKSRC}/bin/9c
X	@${REINPLACE_CMD} -e 's|cc=gcc|cc=${CC}|' ${WRKSRC}/bin/9l
X
Xdo-build:
X	cd ${WRKSRC} && ./INSTALL
X
Xpost-build:
X	${RM} -rf `${FIND} ${WRKSRC} -name CVS -o -name .cvsignore`
X	( ${FIND} ${WRKSRC}/ -type f | ${SORT} \
X		| ${GREP} -v ".*plan9/man/man[0-9]/.*\.[0-9?]$\" \
X		| ${GREP} -v charlib ; \
X	  for D in ${EMPTY_DIRS}; do \
X	    ${ECHO_CMD} "@exec ${MKDIR} ${PREFIX}/$${D}"; \
X	  done; \
X	  ${FIND} ${WRKSRC}/ -type d | ${SORT} -r \
X		| ${SED} -e 's|^|@dirrm |'; \
X	) | ${SED} -e 's|${WRKDIR}/||' \
X	| ${SED} -e 's|@dirrm ${UTF8_DIR}|@unexec ${RM} -rf ${PREFIX}/${UTF8_DIR}|' >${PLIST}
X
Xdo-install:
X	${CP} -rp ${WRKSRC} ${PREFIX}
X
Xpost-install:
X	cd ${PLAN9} && \
X		${SETENV} PLAN9=${PLAN9} PATH=${PATH}:${PLAN9}/bin \
X		${SH} lib/moveplan9.sh ${WRKSRC}
X	${CHGRP} kmem ${PLAN9}/bin/auxstats
X	${CHMOD} +s ${PLAN9}/bin/auxstats
X	@${ECHO_CMD} ""
X	@${CAT} ${PKGMESSAGE}
X
X.include <bsd.port.mk>
END-of-plan9port/Makefile
echo x - plan9port/distinfo
sed 's/^X//' >plan9port/distinfo << 'END-of-plan9port/distinfo'
XMD5 (plan9port-20051222.tgz) = e0ede6e62209d040ecd5c209eab2e6f9
XSHA256 (plan9port-20051222.tgz) = d72251412206940bc887e23e6337b901068bf979bfd70b3da06f5fee929c5198
XSIZE (plan9port-20051222.tgz) = 18291663
END-of-plan9port/distinfo
echo x - plan9port/pkg-descr
sed 's/^X//' >plan9port/pkg-descr << 'END-of-plan9port/pkg-descr'
XThis is a port of the bulk of the Plan 9 software build environment to
XUnix.
X
XThis port tries to reproduce the Plan 9 build environment as faithfully
Xas possible, providing u.h and libc.h, and blithely redefining tokens
Xsuch as open, dup, and accept in order to provide implementations that
Xbetter mimic the Plan 9 semantics. The result is a more complicated and
Xless Unix-friendly environment, but Plan 9 programs can typically be
Xcompiled with little or no changes.
X
XThe port includes the following:
X
Xsources for Linux, FreeBSD, and SunOS
X
Xlib9 (nee libc), libString, libbin, libbio, libcomplete, libdraw,
Xliblibflate, frame, libfs, libhtml, libhttpd, libip, libmux, libplumb,
Xliblibregexp, libsec, thread, and libventi
X
X9term, acme, hoc, plumber, rio (nee 9wm), sam, and samterm, along with
Xmany small utilities
XPlan 9 bitmap fonts
Xmanual pages
X
XWWW: http://swtch.com/plan9port/
END-of-plan9port/pkg-descr
exit
--- plan9port.shar ends here ---


>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list