aboutsummaryrefslogtreecommitdiff
path: root/audio/rawrec/Makefile
diff options
context:
space:
mode:
authorAntoine Brodin <antoine@FreeBSD.org>2014-01-17 22:06:32 +0000
committerAntoine Brodin <antoine@FreeBSD.org>2014-01-17 22:06:32 +0000
commit1181f0132d50a58d879610c6d93d126bb75b4aad (patch)
tree9c6611d24d0e298a23af81cd7ca3f48f147069a0 /audio/rawrec/Makefile
parent4f416c247c083e7d5673523b8978a4185114ec11 (diff)
downloadports-1181f0132d50a58d879610c6d93d126bb75b4aad.tar.gz
ports-1181f0132d50a58d879610c6d93d126bb75b4aad.zip
Notes
Diffstat (limited to 'audio/rawrec/Makefile')
-rw-r--r--audio/rawrec/Makefile13
1 files changed, 5 insertions, 8 deletions
diff --git a/audio/rawrec/Makefile b/audio/rawrec/Makefile
index 1b08d129e677..f0f6223f4684 100644
--- a/audio/rawrec/Makefile
+++ b/audio/rawrec/Makefile
@@ -13,23 +13,20 @@ COMMENT= Utility to record and playback raw audio data
WRKSRC= ${WRKDIR}/${DISTNAME}/src
USES= gmake
-NO_STAGE= yes
MAKE_ARGS= CC="${CC}" \
CFLAGS="${CPPFLAGS} ${CFLAGS} ${PTHREAD_CFLAGS}" \
LDFLAGS="${LDFLAGS} -lm ${PTHREAD_LIBS}"
-MAN1= rawrec.1
-MLINKS= rawrec.1 rawplay.1
-
-PLIST_FILES= bin/rawplay bin/rawrec
+PLIST_FILES= bin/rawplay bin/rawrec man/man1/rawplay.1.gz 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 ${PREFIX}/bin
- ${LN} -sf rawrec ${PREFIX}/bin/rawplay
- ${INSTALL_MAN} ${WRKSRC}/../docs/user/rawrec.1 ${MAN1PREFIX}/man/man1
+ ${INSTALL_PROGRAM} ${WRKSRC}/rawrec ${STAGEDIR}${PREFIX}/bin
+ ${LN} -sf rawrec ${STAGEDIR}${PREFIX}/bin/rawplay
+ ${INSTALL_MAN} ${WRKSRC}/../docs/user/rawrec.1 ${STAGEDIR}${MAN1PREFIX}/man/man1
+ ${LN} -sf rawrec.1 ${STAGEDIR}${MAN1PREFIX}/man/man1/rawplay.1
.include <bsd.port.mk>