Files
Craig Leres b087fefc9c audio/rawrec: Fix port issues
- Makefile WWW link bad - fix it

 - Clean portlint nit

 - Change patches to avoid REINPLACE_CMD

 - Initialize sigaction structures better

 - Remove commenting out of pthread_attr_scope stuff since FreeBSD
   supports that now

Should be no functional change

PR:		277461
Approved by:	antonfb@hesiod.org (maintainer)
2024-03-03 15:33:26 -08:00

36 lines
928 B
Makefile

PORTNAME= rawrec
PORTVERSION= 0.9.991
PORTREVISION= 2
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
WWW= https://sourceforge.net/projects/rawrec/
LICENSE= GPLv2+
LICENSE_FILE= ${WRKDIR}/${DISTNAME}/copyright
USES= gmake
WRKSRC= ${WRKDIR}/${DISTNAME}/src
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
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>