Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 20 Jan 2014 23:45:13 +0000 (UTC)
From:      Baptiste Daroussin <bapt@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r340497 - head/devel/duplo
Message-ID:  <201401202345.s0KNjDUL048808@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bapt
Date: Mon Jan 20 23:45:13 2014
New Revision: 340497
URL: http://svnweb.freebsd.org/changeset/ports/340497
QAT: https://qat.redports.org/buildarchive/r340497/

Log:
  Support stage

Modified:
  head/devel/duplo/Makefile

Modified: head/devel/duplo/Makefile
==============================================================================
--- head/devel/duplo/Makefile	Mon Jan 20 23:42:47 2014	(r340496)
+++ head/devel/duplo/Makefile	Mon Jan 20 23:45:13 2014	(r340497)
@@ -10,12 +10,11 @@ DISTNAME=	${PORTNAME}_${PORTVERSION}_src
 MAINTAINER=	ports@FreeBSD.org
 COMMENT=	Find duplicated code blocks in large C/C++/Java/C#/VB.Net systems
 
-USE_GMAKE=	yes
+USES=		gmake
 
 PLIST_FILES=	bin/duplo %%DATADIR%%/duplo.xsl
 PLIST_DIRS=	%%DATADIR%%
 
-NO_STAGE=	yes
 post-patch:
 	@${REINPLACE_CMD} -e "s,^CC,#CC," \
 		-e "s,^CXXFLAGS,#CXXFLAGS," \
@@ -23,8 +22,8 @@ post-patch:
 		${WRKSRC}/${MAKEFILE}
 
 do-install:
-	@${INSTALL_PROGRAM} ${WRKSRC}/duplo ${PREFIX}/bin
-	@${MKDIR} ${DATADIR}
-	@${INSTALL_DATA} ${WRKSRC}/duplo.xsl ${DATADIR}
+	${INSTALL_PROGRAM} ${WRKSRC}/duplo ${STAGEDIR}${PREFIX}/bin
+	@${MKDIR} ${STAGEDIR}${DATADIR}
+	${INSTALL_DATA} ${WRKSRC}/duplo.xsl ${STAGEDIR}${DATADIR}
 
 .include <bsd.port.mk>



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