parent
997c9ea238
commit
30ded73ecc
|
@ -1,15 +1,15 @@
|
|||
# $OpenBSD: Makefile,v 1.22 2017/05/09 22:22:36 gsoares Exp $
|
||||
# $OpenBSD: Makefile,v 1.23 2017/12/25 14:35:51 gsoares Exp $
|
||||
|
||||
ONLY_FOR_ARCHS = amd64 i386 powerpc
|
||||
BROKEN-powerpc = threading issues
|
||||
|
||||
COMMENT = Plan 9 from user space
|
||||
|
||||
DISTNAME = plan9port-20170505
|
||||
DISTNAME = plan9port-20171127
|
||||
|
||||
GH_ACCOUNT = 9fans
|
||||
GH_PROJECT = plan9port
|
||||
GH_COMMIT = c976381d67e1c1ff16f155cbcc6c905245d0520f
|
||||
GH_COMMIT = 2023d484f2aa079651e6ff84a955bb1e9b7cbdc9
|
||||
|
||||
CATEGORIES = plan9
|
||||
|
||||
|
@ -51,8 +51,6 @@ post-patch:
|
|||
OpenBSD-x86_64.c && cp Darwin-x86_64-asm.s \
|
||||
OpenBSD-x86_64-asm.S && mv OpenBSD-386-asm.s \
|
||||
OpenBSD-386-asm.S
|
||||
find ${WRKSRC} -name .cvsignore -exec rm -f {} \;
|
||||
cd ${WRKSRC} && rm -rf .hg .hgignore .hgtags .gitignore
|
||||
|
||||
pre-configure:
|
||||
${SUBST_CMD} ${WRKSRC}/INSTALL ${WRKSRC}/bin/{9c,9l}
|
||||
|
@ -61,10 +59,11 @@ do-build:
|
|||
cd ${WRKSRC} && env CC9="${CC}" CCFLAGS="${CFLAGS}" ./INSTALL -b
|
||||
|
||||
do-install:
|
||||
find ${WRKSRC}/src -name '*.orig' -exec rm -f {} \+
|
||||
cd ${WRKSRC} && rm *.orig && sed -i 's#/usr/local#${TRUEPREFIX}#' \
|
||||
.for l in .cvsignore .hg .hgignore .hgtags .gitignore .gitkeep *.orig *.beforesubst .travis.yml
|
||||
find ${WRKSRC} -name "$l" -exec rm -f {} \;
|
||||
.endfor
|
||||
cd ${WRKSRC} && sed -i 's#/usr/local#${TRUEPREFIX}#' \
|
||||
`cat lib/moveplan9.files`
|
||||
|
||||
${INSTALL_DATA_DIR} ${PLAN9}
|
||||
cd ${WRKSRC} && pax -rw . ${PLAN9}
|
||||
cd ${PREFIX} && ln -s ../plan9/bin/9 bin/9
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
SHA256 (plan9port/c976381d67e1c1ff16f155cbcc6c905245d0520f.tar.gz) = g7qp69usH/RvJSv9JLZtUToMQDDg+878i2PI9iLDxyE=
|
||||
SHA256 (plan9port/2023d484f2aa079651e6ff84a955bb1e9b7cbdc9.tar.gz) = HdWcdLdnUql6QveXhB6o3QV+iTQjF8qWQF44JXyTj6Y=
|
||||
SHA256 (plan9port/pgw.tar.bz2) = WMdWEelUjG7muSL6OsgnCmPsJMn88b1OPtEYQn8TVtw=
|
||||
SHA256 (plan9port/roget.tar.bz2) = sk8FE1Tavljx2CXinbOGCRyErsmBJdvkma3spRoyqDY=
|
||||
SHA256 (plan9port/scat.tgz) = qZX1JUSnEvK9uH9TFjjUyEYiT6khLQNOO9joCcuZvh4=
|
||||
SIZE (plan9port/c976381d67e1c1ff16f155cbcc6c905245d0520f.tar.gz) = 23459386
|
||||
SIZE (plan9port/2023d484f2aa079651e6ff84a955bb1e9b7cbdc9.tar.gz) = 23431400
|
||||
SIZE (plan9port/pgw.tar.bz2) = 9404968
|
||||
SIZE (plan9port/roget.tar.bz2) = 482956
|
||||
SIZE (plan9port/scat.tgz) = 5145346
|
||||
|
|
|
@ -1,18 +1,16 @@
|
|||
$OpenBSD: patch-bin_web,v 1.1 2016/06/03 01:44:51 gsoares Exp $
|
||||
$OpenBSD: patch-bin_web,v 1.2 2017/12/25 14:35:51 gsoares Exp $
|
||||
|
||||
# https://plan9port-review.googlesource.com/#/c/1561/2
|
||||
# https://github.com/9fans/plan9port/pull/118
|
||||
|
||||
--- bin/web.orig Thu Jun 2 22:05:28 2016
|
||||
+++ bin/web Thu Jun 2 22:06:11 2016
|
||||
@@ -34,7 +34,10 @@ plumbunix()
|
||||
Index: bin/web
|
||||
--- bin/web.orig
|
||||
+++ bin/web
|
||||
@@ -34,7 +34,7 @@ plumbunix()
|
||||
$BROWSER -remote 'openURL('"$@"',new-tab)' ||
|
||||
$BROWSER "$@"
|
||||
;;
|
||||
- *google-chrome*|*chromium*)
|
||||
+ *chrome*|*chromium*)
|
||||
+ $BROWSER "$@"
|
||||
+ ;;
|
||||
+ *)
|
||||
- *chrome*|*chromium*)
|
||||
+ *)
|
||||
$BROWSER "$@"
|
||||
;;
|
||||
esac
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
@comment $OpenBSD: PLIST,v 1.6 2015/12/04 04:26:33 gsoares Exp $
|
||||
@comment $OpenBSD: PLIST,v 1.7 2017/12/25 14:35:51 gsoares Exp $
|
||||
@unexec-delete rm -f ${TRUEPREFIX}/plan9/man/whatis.db
|
||||
bin/9
|
||||
plan9/
|
||||
|
@ -83,8 +83,6 @@ plan9/bin/bundle
|
|||
@bin plan9/bin/cleanname
|
||||
@bin plan9/bin/cmapcube
|
||||
@bin plan9/bin/cmp
|
||||
plan9/bin/codereview
|
||||
plan9/bin/codereview.py
|
||||
@bin plan9/bin/col
|
||||
@bin plan9/bin/colors
|
||||
@bin plan9/bin/comm
|
||||
|
@ -172,7 +170,6 @@ plan9/bin/lc
|
|||
@bin plan9/bin/listen1
|
||||
@bin plan9/bin/look
|
||||
plan9/bin/lookman
|
||||
plan9/bin/lpbin/
|
||||
@bin plan9/bin/ls
|
||||
plan9/bin/macedit
|
||||
plan9/bin/man
|
||||
|
@ -264,6 +261,7 @@ plan9/bin/start
|
|||
plan9/bin/stop
|
||||
@bin plan9/bin/strings
|
||||
@bin plan9/bin/sum
|
||||
@bin plan9/bin/svgpic
|
||||
@bin plan9/bin/tail
|
||||
@bin plan9/bin/tar
|
||||
@bin plan9/bin/tbl
|
||||
|
@ -377,6 +375,7 @@ plan9/dist/manindexbottom.html
|
|||
plan9/dist/manindextop.html
|
||||
plan9/dist/mantrailer.html
|
||||
plan9/dist/manweb
|
||||
plan9/dist/mkdirlist
|
||||
plan9/dist/mkfile
|
||||
plan9/dist/mkfilelist
|
||||
plan9/dist/pkg/
|
||||
|
@ -403,6 +402,7 @@ plan9/dist/pkg/sky-data
|
|||
plan9/dist/pkg/src
|
||||
plan9/dist/pkg/troff
|
||||
plan9/dist/pkg/unixdist
|
||||
plan9/dist/publish
|
||||
plan9/dist/spaceglenda100.png
|
||||
plan9/dist/ss.html
|
||||
plan9/dist/troff/
|
||||
|
@ -4143,9 +4143,6 @@ plan9/lib/acme.rc
|
|||
plan9/lib/amspell
|
||||
plan9/lib/bclib
|
||||
plan9/lib/brspell
|
||||
plan9/lib/codereview/
|
||||
plan9/lib/codereview/codereview.cfg
|
||||
plan9/lib/codereview/codereview.py
|
||||
plan9/lib/darwin-main.c
|
||||
plan9/lib/fortunes
|
||||
plan9/lib/git/
|
||||
|
@ -4197,7 +4194,6 @@ plan9/lib/units
|
|||
plan9/lib/words
|
||||
plan9/lib/yaccpar
|
||||
plan9/lib/yaccpars
|
||||
plan9/log/
|
||||
plan9/lp/
|
||||
plan9/lp/bin/
|
||||
plan9/lp/bin/UNLOCK
|
||||
|
@ -4271,7 +4267,6 @@ plan9/mail/lib/qmail
|
|||
plan9/mail/lib/remotemail
|
||||
plan9/mail/lib/rewrite
|
||||
plan9/mail/lib/validateattachment
|
||||
plan9/mail/queue/
|
||||
plan9/man/
|
||||
plan9/man/fonts
|
||||
plan9/man/index.html
|
||||
|
@ -4299,7 +4294,6 @@ plan9/man/man1/INDEX
|
|||
@man plan9/man/man1/cleanname.1
|
||||
@man plan9/man/man1/clog.1
|
||||
@man plan9/man/man1/cmp.1
|
||||
@man plan9/man/man1/codereview.1
|
||||
@man plan9/man/man1/col.1
|
||||
@man plan9/man/man1/colors.1
|
||||
@man plan9/man/man1/comm.1
|
||||
|
@ -4564,10 +4558,6 @@ plan9/man/man4/INDEX
|
|||
@man plan9/man/man4/srv.4
|
||||
@man plan9/man/man4/tapefs.4
|
||||
@man plan9/man/man4/vacfs.4
|
||||
plan9/man/man5/
|
||||
plan9/man/man5/INDEX
|
||||
plan9/man/man6/
|
||||
plan9/man/man6/INDEX
|
||||
plan9/man/man7/
|
||||
@man plan9/man/man7/0intro.7
|
||||
plan9/man/man7/INDEX
|
||||
|
@ -6413,6 +6403,25 @@ plan9/src/cmd/split.c
|
|||
plan9/src/cmd/srv.c
|
||||
plan9/src/cmd/strings.c
|
||||
plan9/src/cmd/sum.c
|
||||
plan9/src/cmd/svgpic/
|
||||
plan9/src/cmd/svgpic/arcgen.c
|
||||
plan9/src/cmd/svgpic/blockgen.c
|
||||
plan9/src/cmd/svgpic/boxgen.c
|
||||
plan9/src/cmd/svgpic/circgen.c
|
||||
plan9/src/cmd/svgpic/for.c
|
||||
plan9/src/cmd/svgpic/input.c
|
||||
plan9/src/cmd/svgpic/linegen.c
|
||||
plan9/src/cmd/svgpic/main.c
|
||||
plan9/src/cmd/svgpic/misc.c
|
||||
plan9/src/cmd/svgpic/mkfile
|
||||
plan9/src/cmd/svgpic/movegen.c
|
||||
plan9/src/cmd/svgpic/pic.h
|
||||
plan9/src/cmd/svgpic/picl.lx
|
||||
plan9/src/cmd/svgpic/picy.y
|
||||
plan9/src/cmd/svgpic/plsvg.c
|
||||
plan9/src/cmd/svgpic/print.c
|
||||
plan9/src/cmd/svgpic/symtab.c
|
||||
plan9/src/cmd/svgpic/textgen.c
|
||||
plan9/src/cmd/tail.c
|
||||
@comment plan9/src/cmd/tapefs/
|
||||
@comment plan9/src/cmd/tapefs/32vfs.c
|
||||
|
@ -6951,6 +6960,7 @@ plan9/src/lib9/fmt/vsmprint.c
|
|||
plan9/src/lib9/fmt/vsnprint.c
|
||||
plan9/src/lib9/fmtlock2.c
|
||||
plan9/src/lib9/fork.c
|
||||
plan9/src/lib9/frand.c
|
||||
plan9/src/lib9/get9root.c
|
||||
plan9/src/lib9/getcallerpc-386.c
|
||||
plan9/src/lib9/getcallerpc-arm.c
|
||||
|
@ -7907,9 +7917,12 @@ plan9/troff/font/devutf/DejaVuSerifBoldOblique
|
|||
plan9/troff/font/devutf/DejaVuSerifOblique
|
||||
plan9/troff/font/devutf/GR
|
||||
plan9/troff/font/devutf/H
|
||||
plan9/troff/font/devutf/HB
|
||||
plan9/troff/font/devutf/HI
|
||||
plan9/troff/font/devutf/HK
|
||||
plan9/troff/font/devutf/HL
|
||||
plan9/troff/font/devutf/HM
|
||||
plan9/troff/font/devutf/HX
|
||||
plan9/troff/font/devutf/Helvetica-Narrow
|
||||
plan9/troff/font/devutf/Helvetica-Narrow-Bold
|
||||
plan9/troff/font/devutf/Helvetica-Narrow-BoldOblique
|
||||
|
@ -8067,3 +8080,4 @@ plan9/unix/mkfile.regexp
|
|||
plan9/unix/mkfile.utf
|
||||
plan9/unix/mkfile.what
|
||||
plan9/unix/utf.h
|
||||
share/doc/pkg-readmes/${FULLPKGNAME}
|
||||
|
|
|
@ -0,0 +1,25 @@
|
|||
$OpenBSD: README,v 1.1 2017/12/25 14:35:51 gsoares Exp $
|
||||
|
||||
+-----------------------------------------------------------------------
|
||||
| Running ${FULLPKGNAME} on OpenBSD
|
||||
+-----------------------------------------------------------------------
|
||||
|
||||
Running plan9port binaries
|
||||
==========================
|
||||
The plan9port tools consist of many small binaries intimately tied
|
||||
together, some of them conflicting with OpenBSD base utilities. To
|
||||
avoid runtime conflicts, you may wish to append
|
||||
${TRUEPREFIX}/plan9/bin to your PATH.
|
||||
|
||||
Alternatively, plan9port tools can be run with ${TRUEPREFIX}/bin/9
|
||||
|
||||
9 man 1 intro
|
||||
|
||||
Reading plan9port manual pages
|
||||
==============================
|
||||
You may add the plan9/man directory to man.conf(5) or set
|
||||
|
||||
export MANPATH=:${TRUEPREFIX}/plan9/man
|
||||
|
||||
in the shell where you want to read plan9port manuals. Note the
|
||||
leading colon.
|
Loading…
Reference in New Issue