1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-26 00:55:14 +00:00
freebsd-ports/audio/rawrec/Makefile
Craig Leres 54d1e9f4d5 audio/rawrec: Pass maintainership
Thanks for adopting a port!

PR:		252243
Submitted by:	antonfb@hesiod.org
2020-12-31 21:23:10 +00:00

36 lines
1.0 KiB
Makefile

# Created by: Ying-Chieh Liao <ijliao@FreeBSD.org>
# $FreeBSD$
PORTNAME= rawrec
PORTVERSION= 0.9.991
PORTREVISION= 1
CATEGORIES= audio
MASTER_SITES= SUNSITE/apps/sound/recorders \
SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION}
MAINTAINER= antonfb@hesiod.org
COMMENT= Utility to record and playback raw audio data
LICENSE= GPLv2+
LICENSE_FILE= ${WRKDIR}/${DISTNAME}/copyright
WRKSRC= ${WRKDIR}/${DISTNAME}/src
USES= gmake
MAKE_ARGS= CC="${CC}" CFLAGS="${CPPFLAGS} ${CFLAGS}" \
LDFLAGS="${LDFLAGS} -lm -lpthread"
PLIST_FILES= bin/rawplay bin/rawrec share/man/man1/rawplay.1.gz share/man/man1/rawrec.1.gz
post-patch:
@${FIND} ${WRKSRC} -name '*.[ch]' | ${XARGS} ${REINPLACE_CMD} -e \
's|<linux/soundcard.h>|<sys/soundcard.h>|g'
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/rawrec ${STAGEDIR}${PREFIX}/bin
${LN} -sf rawrec ${STAGEDIR}${PREFIX}/bin/rawplay
${INSTALL_MAN} ${WRKSRC}/../docs/user/rawrec.1 ${STAGEDIR}${PREFIX}/share/man/man1
${LN} -sf rawrec.1 ${STAGEDIR}${PREFIX}/share/man/man1/rawplay.1
.include <bsd.port.mk>