aboutsummaryrefslogtreecommitdiffstats
path: root/audio/rawrec/Makefile
diff options
context:
space:
mode:
authorijliao <ijliao@FreeBSD.org>2002-05-10 00:04:23 +0800
committerijliao <ijliao@FreeBSD.org>2002-05-10 00:04:23 +0800
commit7018d8420488c9d62a26b22628c9674f5695118d (patch)
tree83f11dbbb6ed5e387d3d6af406f20d87d16b9879 /audio/rawrec/Makefile
parent08bc50bd2aedd3d20babcc147b5124930101b320 (diff)
downloadfreebsd-ports-graphics-7018d8420488c9d62a26b22628c9674f5695118d.tar.gz
freebsd-ports-graphics-7018d8420488c9d62a26b22628c9674f5695118d.tar.zst
freebsd-ports-graphics-7018d8420488c9d62a26b22628c9674f5695118d.zip
add rawrec 0.9.97
rawrec/rawplay threaded audio
Diffstat (limited to 'audio/rawrec/Makefile')
-rw-r--r--audio/rawrec/Makefile42
1 files changed, 42 insertions, 0 deletions
diff --git a/audio/rawrec/Makefile b/audio/rawrec/Makefile
new file mode 100644
index 00000000000..d605ae6acb3
--- /dev/null
+++ b/audio/rawrec/Makefile
@@ -0,0 +1,42 @@
+# ex:ts=8
+# Ports collection makefile for: rawrec
+# Date created: May 9, 2002
+# Whom: ijliao
+#
+# $FreeBSD$
+#
+
+PORTNAME= rawrec
+PORTVERSION= 0.9.97
+CATEGORIES= audio
+MASTER_SITES= ${MASTER_SITE_SUNSITE} \
+ ${MASTER_SITE_SOURCEFORGE}
+MASTER_SITE_SUBDIR= apps/sound/recorders \
+ ${PORTNAME}
+
+MAINTAINER= ports@FreeBSD.org
+
+LIB_DEPENDS= gnugetopt:${PORTSDIR}/devel/libgnugetopt
+
+WRKSRC= ${WRKDIR}/${DISTNAME}/src
+CFLAGS+= -I${LOCALBASE}/include
+MAKE_ENV= LDFLAGS="-L${LOCALBASE}/lib -lgnugetopt"
+USE_GMAKE= yes
+
+MAN1= rawrec.1
+MLINKS= rawrec.1 rawplay.1
+
+post-patch:
+ @${PERL} -pi -e "s,^CFLAGS =,CFLAGS+=,g ; \
+ s,^LDFLAGS =,LDFLAGS+=,g ; \
+ s,-lpthread,${PTHREAD_LIBS},g ; \
+ s,/usr/local,${PREFIX},g" ${WRKSRC}/Makefile
+ @${GREP} -lR "linux/" ${WRKSRC} | ${XARGS} \
+ ${PERL} -pi -e "s,linux/,machine/,g"
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/rawrec ${PREFIX}/bin
+ ${LN} -fs ${PREFIX}/bin/rawrec ${PREFIX}/bin/rawplay
+ ${INSTALL_MAN} ${WRKSRC}/../docs/user/rawrec.1 ${MAN1PREFIX}/man/man1
+
+.include <bsd.port.mk>