audio/midish: import package from wip
Midish is an open-source MIDI sequencer/filter for Unix-like operating systems. Implemented as a simple command-line interpreter, it's intended to be lightweight, fast and reliable for real-time performance.
This commit is contained in:
parent
6ba6a93445
commit
a40514d0ec
|
@ -0,0 +1,3 @@
|
|||
Midish is an open-source MIDI sequencer/filter for Unix-like operating
|
||||
systems. Implemented as a simple command-line interpreter, it's intended to
|
||||
be lightweight, fast and reliable for real-time performance.
|
|
@ -0,0 +1,42 @@
|
|||
# $NetBSD: Makefile,v 1.1 2024/03/09 21:18:06 vins Exp $
|
||||
|
||||
DISTNAME= midish-1.3.3
|
||||
CATEGORIES= audio
|
||||
MASTER_SITES= https://midish.org/
|
||||
|
||||
MAINTAINER= vins@NetBSD.org
|
||||
HOMEPAGE= https://midish.org/
|
||||
COMMENT= Open-source MIDI sequencer/filter
|
||||
LICENSE= isc
|
||||
|
||||
HAS_CONFIGURE= yes
|
||||
CONFIGURE_ARGS+= --prefix=${PREFIX}
|
||||
CONFIGURE_ARGS+= --mandir=${PREFIX}/${PKGMANDIR}
|
||||
|
||||
.include "../../mk/bsd.prefs.mk"
|
||||
|
||||
.if ${OPSYS} == "OpenBSD"
|
||||
CONFIGURE_ARGS+= --enable-sndio
|
||||
.elif ${OPSYS} == "Linux"
|
||||
. include "../../audio/alsa-lib/buildlink3.mk"
|
||||
CONFIGURE_ARGS+= --enable-alsa
|
||||
.endif
|
||||
|
||||
EGDIR= ${PREFIX}/share/examples/${PKGBASE}
|
||||
CONF_FILES+= ${EGDIR}/midishrc \
|
||||
${PKG_SYSCONFDIR}/midishrc
|
||||
|
||||
SUBST_CLASSES+= conf
|
||||
SUBST_STAGE.conf= pre-configure
|
||||
SUBST_FILES.conf= manual.html mdep.c midish.1
|
||||
SUBST_SED.conf+= -e "s:/etc/midishrc:${PKG_SYSCONFDIR}/midishrc:g"
|
||||
SUBST_SED.conf+= -e "s:/etc:{PKG_SYSCONFDIR}:g"
|
||||
SUBST_MESSAGE.conf= Setting configuration file path.
|
||||
|
||||
MAKE_FLAGS+= CC=${CC:Q} \
|
||||
CFLAGS=${CFLAGS:Q} \
|
||||
LDFLAGS=${LDFLAGS:Q} \
|
||||
LIB=${LIBS:Q}
|
||||
|
||||
.include "../../devel/readline/buildlink3.mk"
|
||||
.include "../../mk/bsd.pkg.mk"
|
|
@ -0,0 +1,11 @@
|
|||
@comment $NetBSD: PLIST,v 1.1 2024/03/09 21:18:06 vins Exp $
|
||||
bin/midish
|
||||
bin/smfplay
|
||||
bin/smfrec
|
||||
man/man1/midish.1
|
||||
man/man1/smfplay.1
|
||||
man/man1/smfrec.1
|
||||
share/doc/midish/README
|
||||
share/doc/midish/manual.html
|
||||
share/examples/midish/midishrc
|
||||
share/examples/midish/sample.sng
|
|
@ -0,0 +1,5 @@
|
|||
$NetBSD: distinfo,v 1.1 2024/03/09 21:18:06 vins Exp $
|
||||
|
||||
BLAKE2s (midish-1.3.3.tar.gz) = 65d03a8ac6e9cccddfefee2358abdd1fbd504540486706b9d722998ed4a55114
|
||||
SHA512 (midish-1.3.3.tar.gz) = 2d605c0a884ba4c372786c4c122f23854fc14a239b9fca3fbcc82e59af1a274dc17ca14991531611714d7192c6b4fdf3cec4fa6a5dff954734a8abea51892687
|
||||
Size (midish-1.3.3.tar.gz) = 188958 bytes
|
Loading…
Reference in New Issue