1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-18 03:46:03 +00:00
freebsd-ports/devel/ptmalloc2/Makefile
Vasil Dimov 2eae03eb50 * Install the header file so applications can use functions which are present
in this library but not in FreeBSD's libc and thus not prototyped in the
  stock malloc.h [1]
* Remove direct reference to work/ptmalloc in the post-install message

PR:		ports/95179 [1]
Submitted by:	Pedro F. Giffuni <giffunip@asme.org> [1]
Approved by:	grog (maintainer timeout)
2006-06-23 13:31:52 +00:00

37 lines
1.0 KiB
Makefile

# Ports Collection Makefile for: ptmalloc
# Date created: 10 December 2004
# Who: Greg 'groggy' Lehey <grog@FreeBSD.org>
# Whom: is grammatically incorrect in this context.
#
# $FreeBSD$
PORTNAME= ptmalloc
PORTVERSION= 1.0
PORTREVISION= 1
CATEGORIES= devel
MASTER_SITES= http://www.malloc.de/malloc/
DISTNAME= ptmalloc
MAINTAINER= grog@FreeBSD.org
COMMENT= Alternative malloc, performs better with threaded applications
INCDIR= include/${PORTNAME}
PLIST_SUB= INCDIR=${INCDIR}
do-install: all
${MKDIR} ${PREFIX}/${INCDIR}
${INSTALL_DATA} ${WRKSRC}/ptmalloc.h ${PREFIX}/${INCDIR}/malloc.h
${INSTALL_PROGRAM} ${WRKSRC}/ptmalloc.so ${PREFIX}/lib/libptmalloc.so.1
${INSTALL_PROGRAM} ${WRKSRC}/ptmalloc.so ${PREFIX}/lib/libptmalloc.so
${INSTALL_PROGRAM} ${WRKSRC}/libptmalloc.a ${PREFIX}/lib/libptmalloc.a
post-install:
@${ECHO_CMD}
@${ECHO_CMD} Not much documentation is available.
@${ECHO_CMD} Read ${WRKSRC:S|^${WRKDIRPREFIX}${.CURDIR}/||}/README for what there is.
@${ECHO_CMD} See also pkg_descr
@${ECHO_CMD}
.include <bsd.port.mk>