Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 8 Feb 2014 21:23:48 +0000 (UTC)
From:      Emanuel Haupt <ehaupt@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r343391 - head/audio/fcplay
Message-ID:  <201402082123.s18LNmDr089826@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: ehaupt
Date: Sat Feb  8 21:23:47 2014
New Revision: 343391
URL: http://svnweb.freebsd.org/changeset/ports/343391
QAT: https://qat.redports.org/buildarchive/r343391/

Log:
  Support staging.

Modified:
  head/audio/fcplay/Makefile

Modified: head/audio/fcplay/Makefile
==============================================================================
--- head/audio/fcplay/Makefile	Sat Feb  8 21:19:56 2014	(r343390)
+++ head/audio/fcplay/Makefile	Sat Feb  8 21:23:47 2014	(r343391)
@@ -12,17 +12,18 @@ EXTRACT_SUFX=	.tgz
 MAINTAINER=	sylvio@FreeBSD.org
 COMMENT=	Future Composer Reference Player
 
-BUILD_DEPENDS=	${LOCALBASE}/include/sidplay/compconf.h:${PORTSDIR}/audio/libsidplay
-
 LICENSE=	GPLv2
 
+BUILD_DEPENDS=	${LOCALBASE}/include/sidplay/compconf.h:${PORTSDIR}/audio/libsidplay
+
 USES=		gmake
-NO_STAGE=	yes
 GNU_CONFIGURE=	yes
 CXXFLAGS+=	-I${LOCALBASE}/include
 PORTDOCS=	ABOUT POINTER
 PLIST_FILES=	bin/fcplay
 
+OPTIONS_DEFINE=	DOCS
+
 .include <bsd.port.options.mk>
 
 post-patch:
@@ -33,10 +34,8 @@ post-patch:
 .endfor
 
 do-install:
-	${INSTALL_PROGRAM} ${WRKSRC}/fcplay ${PREFIX}/bin
-.if ${PORT_OPTIONS:MDOCS}
-	@${MKDIR} ${DOCSDIR}
-	cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR}
-.endif
+	${INSTALL_PROGRAM} ${WRKSRC}/fcplay ${STAGEDIR}${PREFIX}/bin
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}
+	cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}
 
 .include <bsd.port.mk>



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