pkgsrc/devel/dmalloc/Makefile
jlam 741aecb607 * 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.
2006-03-20 18:15:37 +00:00

30 lines
803 B
Makefile

# $NetBSD: Makefile,v 1.17 2006/03/20 18:15:38 jlam Exp $
DISTNAME= dmalloc-5.4.2
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=dmalloc/}
EXTRACT_SUFX= .tgz
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.dmalloc.com/
COMMENT= Run-time configurable debugging malloc library
USE_LANGUAGES= c c++
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --enable-shlib
CFLAGS+= -fPIC -DPIC
CONFIGURE_ARGS+= --enable-threads
INFO_FILES= # PLIST
INSTALLATION_DIRS= ${PKGINFODIR}
# XXX the "installinfo" target is broken
#INSTALL_TARGET= install installinfo
post-install:
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"