mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-27 05:10:36 +00:00
b533e2c7d1
PR: 98820 Submitted by: erwin Approved by: maintainer
45 lines
1.0 KiB
Makefile
45 lines
1.0 KiB
Makefile
# ex:ts=8
|
|
# Ports collection makefile for: rawrec
|
|
# Date created: May 9, 2002
|
|
# Whom: ijliao
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= rawrec
|
|
PORTVERSION= 0.9.991
|
|
CATEGORIES= audio
|
|
MASTER_SITES= ${MASTER_SITE_SUNSITE:S/$/:sun/} \
|
|
${MASTER_SITE_SOURCEFORGE:S/$/:sf/}
|
|
MASTER_SITE_SUBDIR= apps/sound/recorders/:sun \
|
|
${PORTNAME}/:sf
|
|
DISTFILES= ${DISTNAME}${EXTRACT_SUFX}:sun,sf
|
|
|
|
MAINTAINER= rainer.alves@gmail.com
|
|
COMMENT= A utility to record and playback raw audio data
|
|
|
|
WRKSRC= ${WRKDIR}/${DISTNAME}/src
|
|
|
|
USE_GETOPT_LONG=yes
|
|
USE_GMAKE= yes
|
|
MAKE_ARGS= CC="${CC}" \
|
|
CFLAGS="${CPPFLAGS} ${CFLAGS} ${PTHREAD_CFLAGS}" \
|
|
LDFLAGS="${LDFLAGS} -lm ${PTHREAD_LIBS}"
|
|
USE_GCC= 3.3+
|
|
|
|
MAN1= rawrec.1
|
|
MLINKS= rawrec.1 rawplay.1
|
|
|
|
PLIST_FILES= bin/rawplay bin/rawrec
|
|
|
|
post-patch:
|
|
@${FIND} ${WRKSRC} -name '*.[ch]' | ${XARGS} ${REINPLACE_CMD} -e \
|
|
's|<linux/soundcard.h>|<sys/soundcard.h>|g'
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/rawrec ${PREFIX}/bin
|
|
${LN} -sf rawrec ${PREFIX}/bin/rawplay
|
|
${INSTALL_MAN} ${WRKSRC}/../docs/user/rawrec.1 ${MAN1PREFIX}/man/man1
|
|
|
|
.include <bsd.port.mk>
|