pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/devel/etrace Small cleanups:
details: https://anonhg.NetBSD.org/pkgsrc/rev/05a8bcdb0d95
branches: trunk
changeset: 554419:05a8bcdb0d95
user: rillig <rillig%pkgsrc.org@localhost>
date: Sat Feb 14 10:34:56 2009 +0000
description:
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
diffstat:
devel/etrace/Makefile | 9 +++------
devel/etrace/PLIST | 5 ++---
2 files changed, 5 insertions(+), 9 deletions(-)
diffs (56 lines):
diff -r 6e684653ff0c -r 05a8bcdb0d95 devel/etrace/Makefile
--- a/devel/etrace/Makefile Sat Feb 14 07:50:40 2009 +0000
+++ b/devel/etrace/Makefile Sat Feb 14 10:34:56 2009 +0000
@@ -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 @@
PKG_DESTDIR_SUPPORT= user-destdir
-USE_TOOLS+= perl
+USE_TOOLS+= perl:run
NO_BUILD= yes
@@ -20,7 +20,7 @@
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 @@
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 -r 6e684653ff0c -r 05a8bcdb0d95 devel/etrace/PLIST
--- a/devel/etrace/PLIST Sat Feb 14 07:50:40 2009 +0000
+++ b/devel/etrace/PLIST Sat Feb 14 10:34:56 2009 +0000
@@ -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
Home |
Main Index |
Thread Index |
Old Index