Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 28 Apr 2014 19:39:23 +0000 (UTC)
From:      Pawel Pekala <pawel@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r352547 - head/graphics/synaesthesia
Message-ID:  <201404281939.s3SJdNO4003974@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: pawel
Date: Mon Apr 28 19:39:23 2014
New Revision: 352547
URL: http://svnweb.freebsd.org/changeset/ports/352547
QAT: https://qat.redports.org/buildarchive/r352547/

Log:
  Add staging support

Modified:
  head/graphics/synaesthesia/Makefile

Modified: head/graphics/synaesthesia/Makefile
==============================================================================
--- head/graphics/synaesthesia/Makefile	Mon Apr 28 19:35:04 2014	(r352546)
+++ head/graphics/synaesthesia/Makefile	Mon Apr 28 19:39:23 2014	(r352547)
@@ -12,7 +12,7 @@ COMMENT=	Real-time graphical music repre
 
 LICENSE=	GPLv2
 
-USE_GMAKE=	yes
+USES=		gmake
 GNU_CONFIGURE=	yes
 CONFIGURE_ARGS=	--with-sdl-prefix=${LOCALBASE}
 USE_SDL=	sdl
@@ -22,19 +22,13 @@ PLIST_FILES=	bin/${PORTNAME}
 
 OPTIONS_DEFINE=	DOCS
 
-NO_STAGE=	yes
-.include <bsd.port.options.mk>
-
 post-patch:
 	@${REINPLACE_CMD} -e 's,stdint\.h,inttypes.h,' ${WRKSRC}/*.c?
 	@${REINPLACE_CMD} -e 's,int16_t,u_int16_t,' ${WRKSRC}/sound.cc
 
 do-install:
-	${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
-
-.if ${PORT_OPTIONS:MDOCS}
-	@${MKDIR} ${DOCSDIR}
-	${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR}
-.endif
+	${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}
+	${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
 
 .include <bsd.port.mk>



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