Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 20 Jan 2014 23:23:11 +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: r340490 - head/devel/checkheaders
Message-ID:  <201401202323.s0KNNB2P040277@svn.freebsd.org>

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

Log:
  Support stage
  Use bsdtar to extract .zip
  Replace REINPLACE_CMD by MAKE_ARGS to specify compiler

Modified:
  head/devel/checkheaders/Makefile

Modified: head/devel/checkheaders/Makefile
==============================================================================
--- head/devel/checkheaders/Makefile	Mon Jan 20 23:20:46 2014	(r340489)
+++ head/devel/checkheaders/Makefile	Mon Jan 20 23:23:11 2014	(r340490)
@@ -5,22 +5,19 @@ PORTNAME=	checkheaders
 PORTVERSION=	1.0.1
 CATEGORIES=	devel
 MASTER_SITES=	GOOGLE_CODE
+EXTRACT_SUFX=	.zip
 
 MAINTAINER=	bf@FreeBSD.org
 COMMENT=	Checks headers in C/C++ programs
 
-USE_ZIP=	yes
-USE_GMAKE=	yes
+USES=		gmake
+MAKE_ARGS=	CXX="${CXX}"
 
 PLIST_FILES=	bin/${PORTNAME}
 
 LICENSE=	GPLv3
 
-NO_STAGE=	yes
-post-patch:
-	@${REINPLACE_CMD} -e '/^CXX.*=/d' ${WRKSRC}/Makefile
-
 do-install:
-	@${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
+	@${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
 
 .include <bsd.port.mk>



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