diff options
author | jlam <jlam@pkgsrc.org> | 2008-03-03 17:45:33 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2008-03-03 17:45:33 +0000 |
commit | 4c8382aec039aefeebaf1aaac5cd7985337ed917 (patch) | |
tree | 620d08cc8bf79f9bacb7746632192670c7d6350d /devel/etrace | |
parent | 3a62565eb9471348d02d74145e302b5675905a43 (diff) | |
download | pkgsrc-4c8382aec039aefeebaf1aaac5cd7985337ed917.tar.gz |
Mechanical changes to add DESTDIR support to packages that install
their files via a custom do-install target.
Diffstat (limited to 'devel/etrace')
-rw-r--r-- | devel/etrace/Makefile | 22 |
1 files changed, 13 insertions, 9 deletions
diff --git a/devel/etrace/Makefile b/devel/etrace/Makefile index 621da61cca8..fc3332ca488 100644 --- a/devel/etrace/Makefile +++ b/devel/etrace/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.1.1.1 2006/10/13 23:45:15 gdt Exp $ +# $NetBSD: Makefile,v 1.2 2008/03/03 17:45:35 jlam Exp $ # DISTNAME= etrace-2.1 @@ -9,6 +9,8 @@ MAINTAINER= gdt@NetBSD.org HOMEPAGE= http://ndevilla.free.fr/etrace/ COMMENT= Function call tracing +PKG_DESTDIR_SUPPORT= user-destdir + USE_TOOLS+= perl NO_BUILD= yes @@ -18,18 +20,20 @@ DOCDIR= ${PREFIX}/share/doc/etrace EXAMPLEDIR= ${PREFIX}/share/examples/etrace BINDIR= ${PREFIX}/bin +INSTALLATION_DIRS= bin + REPLACE_PERL= src/etrace.pl # python script uses /usr/bin/env; let it slide pending wondering if # we really want to depend on python and use a pyNN- prefix. do-install: - ${INSTALL_SCRIPT} ${WRKSRC}/src/etrace ${BINDIR} - ${INSTALL_SCRIPT} ${WRKSRC}/src/etrace.pl ${BINDIR} - ${INSTALL_DATA_DIR} ${SHAREDIR} - ${INSTALL_SCRIPT} ${WRKSRC}/src/ptrace.c ${SHAREDIR} - ${INSTALL_DATA_DIR} ${DOCDIR} - ${INSTALL_DATA} ${WRKSRC}/README ${DOCDIR} - ${INSTALL_DATA_DIR} ${EXAMPLEDIR} - ${INSTALL_DATA} ${WRKSRC}/example/* ${EXAMPLEDIR} + ${INSTALL_SCRIPT} ${WRKSRC}/src/etrace ${DESTDIR}${BINDIR} + ${INSTALL_SCRIPT} ${WRKSRC}/src/etrace.pl ${DESTDIR}${BINDIR} + ${INSTALL_DATA_DIR} ${DESTDIR}${SHAREDIR} + ${INSTALL_SCRIPT} ${WRKSRC}/src/ptrace.c ${DESTDIR}${SHAREDIR} + ${INSTALL_DATA_DIR} ${DESTDIR}${DOCDIR} + ${INSTALL_DATA} ${WRKSRC}/README ${DESTDIR}${DOCDIR} + ${INSTALL_DATA_DIR} ${DESTDIR}${EXAMPLEDIR} + ${INSTALL_DATA} ${WRKSRC}/example/* ${DESTDIR}${EXAMPLEDIR} .include "../../mk/bsd.pkg.mk" |