freebsd-ports/devel/ptmalloc/Makefile
Baptiste Daroussin 169fcda8ac Support stage
2014-01-25 00:37:05 +00:00

35 lines
947 B
Makefile

# Created by: is grammatically incorrect in this context.
# $FreeBSD$
PORTNAME= ptmalloc
PORTVERSION= 3.0
PORTREVISION= 1
CATEGORIES= devel
MASTER_SITES= http://www.malloc.de/malloc/
DISTNAME= ${PORTNAME}3-current
MAINTAINER= ports@FreeBSD.org
COMMENT= Alternative threads-aware malloc
USE_LDCONFIG= yes
WRKSRC= ${WRKDIR}/${PORTNAME}3
USES= gmake
ALL_TARGET= posix
INCDIR= include/${PORTNAME}
PLIST_SUB= INCDIR=${INCDIR}
BROKEN_sparc64= hangs while building on sparc64
do-install:
@${MKDIR} ${STAGEDIR}${PREFIX}/${INCDIR}
${INSTALL_DATA} ${WRKSRC}/malloc-2.8.3.h ${STAGEDIR}${PREFIX}/${INCDIR}/malloc.h
${INSTALL_DATA} ${WRKSRC}/libptmalloc3.a ${STAGEDIR}${PREFIX}/lib/libptmalloc.a
${INSTALL_DATA} ${WRKSRC}/ptmalloc3.so ${STAGEDIR}${PREFIX}/lib/libptmalloc.so.3
${LN} -sf libptmalloc.so.3 ${STAGEDIR}${PREFIX}/lib/libptmalloc.so
regression-test: build
@cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE} check
.include <bsd.port.mk>