From 78111ef1b1d6298f1b365570bc275150b0e34619 Mon Sep 17 00:00:00 2001 From: bapt Date: Tue, 21 Jan 2014 00:14:05 +0000 Subject: Support stage Fix shebang --- devel/leaktracer/Makefile | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) diff --git a/devel/leaktracer/Makefile b/devel/leaktracer/Makefile index 885cdb1bfc7c..03648afaa508 100644 --- a/devel/leaktracer/Makefile +++ b/devel/leaktracer/Makefile @@ -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 -- cgit