update plan9/sam to the latest commit in the deadpixi fork

This brings in ssam(1) (streaming sam; unfortunately without a manpage),
fixes the dot after the `<' command (finally!) and some small tweaks to
the manpage.

While here also add "editors" to CATEGORY and tweak a bit the
post-install hook.

ok abieber@
This commit is contained in:
op 2022-11-07 15:37:20 +00:00
parent 20467803c5
commit d654368c52
3 changed files with 12 additions and 16 deletions

View File

@ -1,12 +1,11 @@
COMMENT= X11 version of Rob Pike's editor, sam
DISTNAME= sam-4.3.20190427
DISTNAME= sam-4.3.20200714
GH_ACCOUNT= deadpixi
GH_PROJECT= sam
GH_COMMIT= 5893679bbbab2f50ceb6ef0805e4bb63f5f51df8
REVISION= 0
GH_COMMIT= 5d8acb35d78c327d76f00a54857cbd566ed9bc11
CATEGORIES= plan9
CATEGORIES= plan9 editors
PERMIT_PACKAGE= Yes
WANTLIB= X11 Xft Xi Xt c
@ -15,16 +14,12 @@ RUN_DEPENDS+= devel/desktop-file-utils
NO_TEST= Yes
SAMDOCDIR= ${PREFIX}/share/doc/sam
SAMDOCFILES= README.rst doc/sam.ps doc/sam.tut.ms doc/se.ps
EXAMPLEDIR= ${PREFIX}/share/examples/sam
post-install:
${INSTALL_DATA_DIR} ${SAMDOCDIR}
${INSTALL_DATA_DIR} ${EXAMPLEDIR}
${INSTALL_DATA} ${WRKSRC}/doc/samrc ${EXAMPLEDIR}
@set -e; for f in ${SAMDOCFILES}; do \
${INSTALL_DATA} ${WRKSRC}/$${f} ${SAMDOCDIR}; \
done
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/sam
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/sam
${INSTALL_DATA} ${WRKSRC}/doc/samrc ${PREFIX}/share/examples/sam
.for f in README.rst doc/sam.ps doc/sam.tut.ms doc/se.ps
${INSTALL_DATA} ${WRKSRC}/$f ${PREFIX}/share/doc/sam
.endfor
.include <bsd.port.mk>

View File

@ -1,2 +1,2 @@
SHA256 (sam-4.3.20190427-5893679b.tar.gz) = 17k1wL+Rv5Z43t79sLyj0Vn9UYzSVfpVxOYZNiAfB0E=
SIZE (sam-4.3.20190427-5893679b.tar.gz) = 311827
SHA256 (sam-4.3.20200714-5d8acb35.tar.gz) = hlWbfWSzWijxfBUOvrhO4HZp3mtO1ct4Bfj6zVRyRlo=
SIZE (sam-4.3.20200714-5d8acb35.tar.gz) = 312453

View File

@ -1,6 +1,7 @@
@bin bin/B
@bin bin/sam
@bin bin/samterm
bin/ssam
@man man/man1/sam.1
@man man/man5/samrc.5
share/applications/deadpixi-sam.desktop