1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-15 07:56:36 +00:00
freebsd-ports/devel/dmalloc/Makefile
Martin Wilke a93e04a3ae - Update to 5.5.2
- Pass maintainership to submitter

PR:		114435
Submitted by:	Petar Zhivkov Petrov <pesho.petrov@gmail.com>
2007-07-09 17:58:31 +00:00

41 lines
1.1 KiB
Makefile

# New ports collection makefile for: dmalloc
# Date created: 7 December 2000
# Whom: Jeremy Shaffner <jeremy@external.org>
#
# $FreeBSD$
PORTNAME= dmalloc
PORTVERSION= 5.5.2
CATEGORIES= devel
# Version 5.5.2 is only available at this URL
MASTER_SITES= http://dmalloc.com/releases/
EXTRACT_SUFX= .tgz
MAINTAINER= pesho.petrov@gmail.com
COMMENT= Portable debug memory allocation library
GNU_CONFIGURE= yes
CONFIGURE_TARGET=--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ARGS= --enable-threads --enable-shlib
CFLAGS+= -fPIC
USE_LDCONFIG= yes
ALL_TARGET= all heavy
INSTALL_TARGET= install
.if !defined(NOPORTDOCS)
INSTALL_TARGET+=installdocs
.endif
pre-patch:
@${REINPLACE_CMD} -e 's|\.@shlibext@|\.@shlibext@.1|' ${WRKSRC}/Makefile.in
post-install:
@(cd ${PREFIX}/lib; \
${LN} -sf ${PREFIX}/lib/libdmalloc.so.1 ${PREFIX}/lib/libdmalloc.so; \
${LN} -sf ${PREFIX}/lib/libdmallocxx.so.1 ${PREFIX}/lib/libdmallocxx.so; \
${LN} -sf ${PREFIX}/lib/libdmallocth.so.1 ${PREFIX}/lib/libdmallocth.so; \
${LN} -sf ${PREFIX}/lib/libdmallocthcxx.so.1 ${PREFIX}/lib/libdmallocthcxx.so)
.include <bsd.port.mk>