Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 14 May 2014 11:56:59 +0000 (UTC)
From:      Dmitry Marakasov <amdmi3@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r354039 - head/audio/snd
Message-ID:  <201405141156.s4EBuxqF096294@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: amdmi3
Date: Wed May 14 11:56:59 2014
New Revision: 354039
URL: http://svnweb.freebsd.org/changeset/ports/354039
QAT: https://qat.redports.org/buildarchive/r354039/

Log:
  - Support staging
  
  Approved by:	portmgr blanket

Modified:
  head/audio/snd/Makefile
  head/audio/snd/pkg-plist

Modified: head/audio/snd/Makefile
==============================================================================
--- head/audio/snd/Makefile	Wed May 14 11:41:40 2014	(r354038)
+++ head/audio/snd/Makefile	Wed May 14 11:56:59 2014	(r354039)
@@ -23,9 +23,6 @@ CONFIGURE_ARGS=	--with-float-samples
 MAKEFILE=	makefile
 ALL_TARGET=	snd snd-info sndplay
 MAKE_JOBS_UNSAFE=	yes
-NO_STAGE=	yes
-
-MAN1=		snd.1
 
 CFLAGS+=	-I${LOCALBASE}/include
 CPPFLAGS+=	-I${LOCALBASE}/include
@@ -84,30 +81,30 @@ post-patch:
 
 do-install:
 .for i in snd snd-info sndplay
-	${INSTALL_PROGRAM} ${WRKSRC}/${i} ${PREFIX}/bin
+	${INSTALL_PROGRAM} ${WRKSRC}/${i} ${STAGEDIR}${PREFIX}/bin
 .endfor
-	${INSTALL_MAN} ${WRKSRC}/snd.1 ${MANPREFIX}/man/man1/
+	${INSTALL_MAN} ${WRKSRC}/snd.1 ${STAGEDIR}${MANPREFIX}/man/man1/
 .if ${PORT_OPTIONS:MS7}
-	@${MKDIR} ${DATADIR}
-	${INSTALL_DATA} ${WRKSRC}/*.scm ${DATADIR}
-	@${MKDIR} ${DATADIR}/tools
-	${INSTALL_DATA} ${WRKSRC}/tools/*.scm ${DATADIR}/tools
-	@${MKDIR} ${DATADIR}/sndins/samples
-	${INSTALL_DATA} ${WRKSRC}/sndins/samples/*.scm ${DATADIR}/sndins/samples
+	@${MKDIR} ${STAGEDIR}${DATADIR}
+	${INSTALL_DATA} ${WRKSRC}/*.scm ${STAGEDIR}${DATADIR}
+	@${MKDIR} ${STAGEDIR}${DATADIR}/tools
+	${INSTALL_DATA} ${WRKSRC}/tools/*.scm ${STAGEDIR}${DATADIR}/tools
+	@${MKDIR} ${STAGEDIR}${DATADIR}/sndins/samples
+	${INSTALL_DATA} ${WRKSRC}/sndins/samples/*.scm ${STAGEDIR}${DATADIR}/sndins/samples
 .endif
 .if ${PORT_OPTIONS:MDOCS}
-	@${MKDIR} ${DOCSDIR}
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}
 .for i in HISTORY.Snd README.Snd
-	${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR}
+	${INSTALL_DATA} ${WRKSRC}/${i} ${STAGEDIR}${DOCSDIR}
 .endfor
-	${INSTALL_DATA} ${WRKSRC}/*.html ${DOCSDIR}
-	@${MKDIR} ${DOCSDIR}/pix
-	${INSTALL_DATA} ${WRKSRC}/pix/*.png ${DOCSDIR}/pix
-	cd ${WRKSRC} && ${PAX} -r -w tutorial ${DOCSDIR}
+	${INSTALL_DATA} ${WRKSRC}/*.html ${STAGEDIR}${DOCSDIR}
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}/pix
+	${INSTALL_DATA} ${WRKSRC}/pix/*.png ${STAGEDIR}${DOCSDIR}/pix
+	cd ${WRKSRC} && ${PAX} -r -w tutorial ${STAGEDIR}${DOCSDIR}
 .endif
 .if ${PORT_OPTIONS:MEXAMPLES}
-	@${MKDIR} ${EXAMPLESDIR}
-	${INSTALL_DATA} ${WRKSRC}/DotEmacs ${EXAMPLESDIR}
+	@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
+	${INSTALL_DATA} ${WRKSRC}/DotEmacs ${STAGEDIR}${EXAMPLESDIR}
 .endif
 
 .include <bsd.port.mk>

Modified: head/audio/snd/pkg-plist
==============================================================================
--- head/audio/snd/pkg-plist	Wed May 14 11:41:40 2014	(r354038)
+++ head/audio/snd/pkg-plist	Wed May 14 11:56:59 2014	(r354039)
@@ -1,6 +1,7 @@
 bin/snd
 bin/snd-info
 bin/sndplay
+man/man1/snd.1.gz
 %%PORTDOCS%%%%DOCSDIR%%/HISTORY.Snd
 %%PORTDOCS%%%%DOCSDIR%%/README.Snd
 %%PORTDOCS%%%%DOCSDIR%%/extsnd.html



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