aboutsummaryrefslogtreecommitdiffstats
path: root/audio/rawrec
diff options
context:
space:
mode:
authorantoine <antoine@FreeBSD.org>2014-01-18 06:06:32 +0800
committerantoine <antoine@FreeBSD.org>2014-01-18 06:06:32 +0800
commit1e496474e3574d3d017ca191f5cf77d3ec153f22 (patch)
tree9c6611d24d0e298a23af81cd7ca3f48f147069a0 /audio/rawrec
parent0ad58d140411c66fdfb6bfb73d684eb35007f073 (diff)
downloadfreebsd-ports-gnome-1e496474e3574d3d017ca191f5cf77d3ec153f22.tar.gz
freebsd-ports-gnome-1e496474e3574d3d017ca191f5cf77d3ec153f22.tar.zst
freebsd-ports-gnome-1e496474e3574d3d017ca191f5cf77d3ec153f22.zip
Stage support
Diffstat (limited to 'audio/rawrec')
-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>