diff --git a/.gitignore b/.gitignore index 8094679..397bbbf 100644 --- a/.gitignore +++ b/.gitignore @@ -36,3 +36,6 @@ compile_commands.json # FreeBSD port build outputs /freebsd/sysutils/murx/work/ + +# OpenBSD port build outputs +/openbsd/sysutils/murx/w-*/ diff --git a/README.md b/README.md index 0742fc0..3815001 100644 --- a/README.md +++ b/README.md @@ -515,6 +515,14 @@ verify its checksum, and build a package. Install the resulting package with `pkg add`. To update the port for a new release, change `DISTVERSION` and run `make makesum` after publishing the matching tag. +### OpenBSD + +Copy the [`sysutils/murx` port](openbsd/sysutils/murx/) into an OpenBSD ports +tree. From the port directory, run `make package` to fetch and verify the +tagged source and build a package. Run `make install` to install it through +the ports tree. For a new release, update `DISTNAME` and run `make makesum` +after publishing the matching tag. + ## Authors See [AUTHORS](AUTHORS) for project credits. diff --git a/alpine/APKBUILD b/alpine/APKBUILD index eb014ed..5af209b 100644 --- a/alpine/APKBUILD +++ b/alpine/APKBUILD @@ -29,7 +29,7 @@ sha512sums=" 68c0e952a57d03e5c2cc6a7451cca1687341c20620634617529b6dc84f0fcdc7cb49cbc662bfad5b1fe3229c082a61480813ed5c01a1994c1b2a8e34bd421e29 murx.c 10a353b8447ff969fa55c5445b61604471c5e7ca1e8e632e05c0f77cb01d876b9c0a260ddb1e5a9a6d880a47f725c22a1279ea8a8e38d3b08c384ded592dc837 Makefile 219082e6277ee8c226cdd61a5b17d4e3c6893adf04b2f59ea84a6b6421dbd5a6d0ff38b93d8dd8ae41ed037e77252058dacadd5ff1f0c36c7c1ff95503e1e7a8 murx.1 -2aab5c7ea1160bde6b7963709ed7d34d983ed57be681167fddc2e08532066145021f170774d665524a989a2433d5373d3d257bd61deacfeaae71a74047a72424 README.md +6ef36f741587cd78f354e6cbe76f674a75964dc131ee218fabe39fa6c96cda80ce0d292030e76d871c4c4811e00b5074847364a1fd2b3bbde60831dae677fa80 README.md 2fe33ba22c5f68e124904be594208f050be20f33d115f9a56f60cac93304102da32e6a7e78154e831d3704da7ca8bfefd7025e7b8901e65babcd83e7342f6382 LICENSE 4d32dba475e5f9818fcd008068b011cbae9fc4b8e29897c933775d6660f44a7992d08a1550320d83233af729a42b241ef1d182bf5983ef2f64deab76cab2260d AUTHORS " diff --git a/arch/PKGBUILD b/arch/PKGBUILD index 151a2f4..7d8b141 100644 --- a/arch/PKGBUILD +++ b/arch/PKGBUILD @@ -11,7 +11,7 @@ source=('murx.c' 'Makefile' 'murx.1' 'README.md' 'LICENSE' 'AUTHORS') sha256sums=('358d39eed410a9657ef811892288ef407fe8f17709cb1b4b5e0405635594b70d' 'ee889dd531e7a3632032815a21ab26012a6ea882b50b56f86230bb3b9d9e5cad' '953966bfdd0b49cb26c11220e1e2bf6b5862aaa1b2d0bf002cde9d276f0ae96b' - '5aff6a9acb8b73d0d014d6ac31a9130d348e3107ea8ae2272611f2956eef8190' + 'dc82161e37e6800fa14561bc261e7cc3b0ea2165de42601085353a92a6153f08' '31c5556be4cdd9bf52bb55f18ead0c68a4f0e793c2c2dab0a2a2c6d92407d0d4' 'dbc8a4fc569d4cd7bcd45516ccc98c1396fce0682c262103069c8f5150538cdb') diff --git a/openbsd/sysutils/murx/Makefile b/openbsd/sysutils/murx/Makefile new file mode 100644 index 0000000..4d342b6 --- /dev/null +++ b/openbsd/sysutils/murx/Makefile @@ -0,0 +1,31 @@ +COMMENT = small persistent terminal multiplexer + +DISTNAME = murx-1.0.3 +CATEGORIES = sysutils +HOMEPAGE = https://codeberg.org/armin/murx +MAINTAINER = Johannes Findeisen + +# Apache-2.0 +PERMIT_PACKAGE = Yes + +WANTLIB += c util + +SITES = https://xw3.org/murx/murx/archive/ +WRKDIST = ${WRKDIR}/murx + +MAKE_FLAGS = CC="${CC}" CFLAGS="${CFLAGS} -std=c99 -Wall -Wextra" \ + LDFLAGS="${LDFLAGS}" + +do-test: + ${WRKSRC}/murx --help >/dev/null + +do-install: + ${INSTALL_PROGRAM_DIR} ${PREFIX}/bin + ${INSTALL_MAN_DIR} ${PREFIX}/man/man1 + ${INSTALL_PROGRAM} ${WRKSRC}/murx ${PREFIX}/bin/ + ${INSTALL_MAN} ${WRKSRC}/murx.1 ${PREFIX}/man/man1/ + ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/murx + ${INSTALL_DATA} ${WRKSRC}/AUTHORS ${WRKSRC}/README.md \ + ${WRKSRC}/RELEASES.md ${PREFIX}/share/doc/murx/ + +.include diff --git a/openbsd/sysutils/murx/distinfo b/openbsd/sysutils/murx/distinfo new file mode 100644 index 0000000..c25dba7 --- /dev/null +++ b/openbsd/sysutils/murx/distinfo @@ -0,0 +1,2 @@ +SHA256 (murx-1.0.3.tar.gz) = sbKR5xX+AuOpUEfZ7xbzWgD42SEn0guH5WkOrE7JEMM= +SIZE (murx-1.0.3.tar.gz) = 564342 diff --git a/openbsd/sysutils/murx/pkg/DESCR b/openbsd/sysutils/murx/pkg/DESCR new file mode 100644 index 0000000..0906991 --- /dev/null +++ b/openbsd/sysutils/murx/pkg/DESCR @@ -0,0 +1,3 @@ +murx is a small terminal multiplexer with persistent named sessions, +windows, split panes, scrollback, and support for multiple clients +attached to a session. It has built-in defaults and no configuration file. diff --git a/openbsd/sysutils/murx/pkg/PLIST b/openbsd/sysutils/murx/pkg/PLIST new file mode 100644 index 0000000..80aa733 --- /dev/null +++ b/openbsd/sysutils/murx/pkg/PLIST @@ -0,0 +1,6 @@ +@bin bin/murx +@man man/man1/murx.1 +share/doc/murx/ +share/doc/murx/AUTHORS +share/doc/murx/README.md +share/doc/murx/RELEASES.md