Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 21 Jan 2014 00:14:05 +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: r340509 - head/devel/leaktracer
Message-ID:  <201401210014.s0L0E5gs062789@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bapt
Date: Tue Jan 21 00:14:05 2014
New Revision: 340509
URL: http://svnweb.freebsd.org/changeset/ports/340509
QAT: https://qat.redports.org/buildarchive/r340509/

Log:
  Support stage
  Fix shebang

Modified:
  head/devel/leaktracer/Makefile

Modified: head/devel/leaktracer/Makefile
==============================================================================
--- head/devel/leaktracer/Makefile	Tue Jan 21 00:11:11 2014	(r340508)
+++ head/devel/leaktracer/Makefile	Tue Jan 21 00:14:05 2014	(r340509)
@@ -11,21 +11,20 @@ DISTNAME=	LeakTracer
 MAINTAINER=	ports@FreeBSD.org
 COMMENT=	Trace and analyze memory leaks in C++ programs
 
-USES=		perl5
+OPTIONS_DEFINE=	DOCS
+
+USES=		gmake perl5 shebangfix
+SHEBANG_FILES=	leak-analyze
 USE_LDCONFIG=	yes
-USE_GMAKE=	yes
 USE_PERL5=	run
 PLIST_FILES=	bin/LeakCheck bin/leak-analyze lib/LeakTracer.so
 PORTDOCS=	README README.html
 
-NO_STAGE=	yes
 do-install:
 	${INSTALL_SCRIPT} ${WRKSRC}/LeakCheck ${WRKSRC}/leak-analyze \
-		${PREFIX}/bin
-	${INSTALL_PROGRAM} ${WRKSRC}/LeakTracer.so ${PREFIX}/lib
-.if !defined(NOPORTDOCS)
-	@${MKDIR} ${DOCSDIR}
-	${INSTALL_DATA} ${WRKSRC}/README ${WRKSRC}/README.html ${DOCSDIR}
-.endif
+		${STAGEDIR}${PREFIX}/bin
+	${INSTALL_LIB} ${WRKSRC}/LeakTracer.so ${STAGEDIR}${PREFIX}/lib
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}
+	${INSTALL_DATA} ${WRKSRC}/README ${WRKSRC}/README.html ${STAGEDIR}${DOCSDIR}
 
 .include <bsd.port.mk>



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