summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrillig <rillig@pkgsrc.org>2009-02-14 10:34:56 +0000
committerrillig <rillig@pkgsrc.org>2009-02-14 10:34:56 +0000
commit900c02dd2c0f87b11352826f172b858e9aec1534 (patch)
tree52f9d5a613f05cdac979f98a551903b92994ba0e
parent6e2e756c1c78de8c0a127b8ce0f126e22dd3243a (diff)
downloadpkgsrc-900c02dd2c0f87b11352826f172b858e9aec1534.tar.gz
Small cleanups:
- Added a runtime dependency to Perl - Using AUTO_MKDIRS instead of INSTALLATION_DIRS saves a few lines - Sorted PLIST - Removed a needless mkdir command from the PLIST
-rw-r--r--devel/etrace/Makefile9
-rw-r--r--devel/etrace/PLIST5
2 files changed, 5 insertions, 9 deletions
diff --git a/devel/etrace/Makefile b/devel/etrace/Makefile
index fc3332ca488..25517bb3aea 100644
--- a/devel/etrace/Makefile
+++ b/devel/etrace/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2 2008/03/03 17:45:35 jlam Exp $
+# $NetBSD: Makefile,v 1.3 2009/02/14 10:34:56 rillig Exp $
#
DISTNAME= etrace-2.1
@@ -11,7 +11,7 @@ COMMENT= Function call tracing
PKG_DESTDIR_SUPPORT= user-destdir
-USE_TOOLS+= perl
+USE_TOOLS+= perl:run
NO_BUILD= yes
@@ -20,7 +20,7 @@ DOCDIR= ${PREFIX}/share/doc/etrace
EXAMPLEDIR= ${PREFIX}/share/examples/etrace
BINDIR= ${PREFIX}/bin
-INSTALLATION_DIRS= bin
+AUTO_MKDIRS= yes
REPLACE_PERL= src/etrace.pl
# python script uses /usr/bin/env; let it slide pending wondering if
@@ -29,11 +29,8 @@ REPLACE_PERL= src/etrace.pl
do-install:
${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"
diff --git a/devel/etrace/PLIST b/devel/etrace/PLIST
index f6a37810b8a..c58990c6ac1 100644
--- a/devel/etrace/PLIST
+++ b/devel/etrace/PLIST
@@ -1,11 +1,10 @@
-@comment $NetBSD: PLIST,v 1.1.1.1 2006/10/13 23:45:15 gdt Exp $
+@comment $NetBSD: PLIST,v 1.2 2009/02/14 10:34:56 rillig Exp $
bin/etrace
bin/etrace.pl
share/doc/etrace/README
+share/etrace/ptrace.c
share/examples/etrace/Makefile
share/examples/etrace/crumble.c
-share/etrace/ptrace.c
-@exec ${MKDIR} %D/share/examples/etrace
@dirrm share/examples/etrace
@dirrm share/etrace
@dirrm share/doc/etrace