From 75313c314552059885a0d98f5efc0f7a52d56b49 Mon Sep 17 00:00:00 2001 From: bapt Date: Mon, 20 Jan 2014 23:23:11 +0000 Subject: Support stage Use bsdtar to extract .zip Replace REINPLACE_CMD by MAKE_ARGS to specify compiler --- devel/checkheaders/Makefile | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) (limited to 'devel/checkheaders') diff --git a/devel/checkheaders/Makefile b/devel/checkheaders/Makefile index 7730f6a3636a..245d9197e038 100644 --- a/devel/checkheaders/Makefile +++ b/devel/checkheaders/Makefile @@ -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 -- cgit