aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbapt <bapt@FreeBSD.org>2014-01-21 07:23:11 +0800
committerbapt <bapt@FreeBSD.org>2014-01-21 07:23:11 +0800
commit75313c314552059885a0d98f5efc0f7a52d56b49 (patch)
treed38585a1d78eddadb466ba6bdd16f339ff1eb55b
parent33f9a4744b9ea9f66abc02d53cf872db8735e287 (diff)
downloadfreebsd-ports-gnome-75313c314552059885a0d98f5efc0f7a52d56b49.tar.gz
freebsd-ports-gnome-75313c314552059885a0d98f5efc0f7a52d56b49.tar.zst
freebsd-ports-gnome-75313c314552059885a0d98f5efc0f7a52d56b49.zip
Support stage
Use bsdtar to extract .zip Replace REINPLACE_CMD by MAKE_ARGS to specify compiler
-rw-r--r--devel/checkheaders/Makefile11
1 files changed, 4 insertions, 7 deletions
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 <bsd.port.mk>