From 1181f0132d50a58d879610c6d93d126bb75b4aad Mon Sep 17 00:00:00 2001 From: Antoine Brodin Date: Fri, 17 Jan 2014 22:06:32 +0000 Subject: [PATCH] Stage support --- audio/rawrec/Makefile | 13 +++++-------- 1 file 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|||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