Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 17 Jan 2014 22:06:32 +0000 (UTC)
From:      Antoine Brodin <antoine@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r340126 - head/audio/rawrec
Message-ID:  <201401172206.s0HM6Wki006583@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: antoine
Date: Fri Jan 17 22:06:32 2014
New Revision: 340126
URL: http://svnweb.freebsd.org/changeset/ports/340126
QAT: https://qat.redports.org/buildarchive/r340126/

Log:
  Stage support

Modified:
  head/audio/rawrec/Makefile

Modified: head/audio/rawrec/Makefile
==============================================================================
--- head/audio/rawrec/Makefile	Fri Jan 17 21:57:41 2014	(r340125)
+++ head/audio/rawrec/Makefile	Fri Jan 17 22:06:32 2014	(r340126)
@@ -13,23 +13,20 @@ COMMENT=	Utility to record and playback 
 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>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201401172206.s0HM6Wki006583>