aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbapt <bapt@FreeBSD.org>2014-01-21 08:14:05 +0800
committerbapt <bapt@FreeBSD.org>2014-01-21 08:14:05 +0800
commit78111ef1b1d6298f1b365570bc275150b0e34619 (patch)
treed19b6934ebb58d2892f927a9ef35d7345844da4a
parent75bcb9894a2c44adc91ac82a1922a34e59734189 (diff)
downloadfreebsd-ports-gnome-78111ef1b1d6298f1b365570bc275150b0e34619.tar.gz
freebsd-ports-gnome-78111ef1b1d6298f1b365570bc275150b0e34619.tar.zst
freebsd-ports-gnome-78111ef1b1d6298f1b365570bc275150b0e34619.zip
Support stage
Fix shebang
-rw-r--r--devel/leaktracer/Makefile17
1 files 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 <bsd.port.mk>