summaryrefslogtreecommitdiff
path: root/devel/dmalloc
diff options
context:
space:
mode:
authorjlam <jlam>2006-03-20 18:15:37 +0000
committerjlam <jlam>2006-03-20 18:15:37 +0000
commitba56a6d962bf14bb906ae2ad6fbe36b11088e35f (patch)
tree0f05903ff61fcd859ec72aa544fa1e5eda653bf6 /devel/dmalloc
parentcd12b581e049b51b7dda38fa3ff87b479c78aec2 (diff)
downloadpkgsrc-ba56a6d962bf14bb906ae2ad6fbe36b11088e35f.tar.gz
* Nuke all references to and definitions of INFO_DIR in package Makefiles
and replace with appropriate references to PKGINFODIR instead. * Properly account for split info files during installation. * Move info file listings directly into the package PLISTs. This fixes info-file-related PLIST problems.
Diffstat (limited to 'devel/dmalloc')
-rw-r--r--devel/dmalloc/Makefile13
-rw-r--r--devel/dmalloc/PLIST3
2 files changed, 10 insertions, 6 deletions
diff --git a/devel/dmalloc/Makefile b/devel/dmalloc/Makefile
index a9a264914b8..3d026a6f135 100644
--- a/devel/dmalloc/Makefile
+++ b/devel/dmalloc/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.16 2006/03/04 21:29:14 jlam Exp $
+# $NetBSD: Makefile,v 1.17 2006/03/20 18:15:38 jlam Exp $
DISTNAME= dmalloc-5.4.2
CATEGORIES= devel
@@ -14,14 +14,17 @@ GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --enable-shlib
CFLAGS+= -fPIC -DPIC
CONFIGURE_ARGS+= --enable-threads
-INSTALLATION_DIRS= ${INFO_DIR}
+INFO_FILES= # PLIST
+
+INSTALLATION_DIRS= ${PKGINFODIR}
# XXX the "installinfo" target is broken
#INSTALL_TARGET= install installinfo
post-install:
- ${INSTALL_DATA} ${WRKSRC}/docs/dmalloc.info ${PREFIX}/${INFO_DIR}/
-
-INFO_FILES= dmalloc.info
+ cd ${WRKSRC}/docs; for f in *.info *.info-[0-9]*; do \
+ ${TEST} ! -f "$$f" || \
+ ${INSTALL_DATA} "$$f" ${PREFIX}/${PKGINFODIR}; \
+ done
.include "../../mk/pthread.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/devel/dmalloc/PLIST b/devel/dmalloc/PLIST
index 9cb0c7c5c12..91feec8ab1b 100644
--- a/devel/dmalloc/PLIST
+++ b/devel/dmalloc/PLIST
@@ -1,6 +1,7 @@
-@comment $NetBSD: PLIST,v 1.6 2004/02/15 19:51:24 seb Exp $
+@comment $NetBSD: PLIST,v 1.7 2006/03/20 18:15:38 jlam Exp $
bin/dmalloc
include/dmalloc.h
+info/dmalloc.info
lib/libdmalloc.a
lib/libdmalloc.so
lib/libdmallocth.a