aboutsummaryrefslogtreecommitdiffstats
path: root/devel/libmalloc/Makefile
blob: bc4085ed7a857da1c6aa6b7319341c386d2a3140 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# ex:ts=8
# Ports collection makefile for:  Mark Moraes malloc library
# Date created:           11 January 1995
# Whom:               jkh
#
# $FreeBSD$
#

PORTNAME=   libmalloc
PORTVERSION=    1.18
CATEGORIES= devel
MASTER_SITES=   ftp://ftp.cs.toronto.edu/pub/moraes/
DISTNAME=   malloc-${PORTVERSION}

MAINTAINER= ports@FreeBSD.org

BROKEN=     "Installs malloc.h, masking system version"

INSTALLS_SHLIB= yes

.include <bsd.port.pre.mk>

MANUAL_PACKAGE_BUILD=   installs malloc.h

post-install:
    @cd ${PREFIX}/include ; ${LN} -sf malloc.h libmalloc.h
.if !defined(NOPORTDOCS)
    @${MKDIR} ${PREFIX}/share/doc/libmalloc
    ${INSTALL_DATA} ${WRKSRC}/malloc.doc ${PREFIX}/share/doc/libmalloc
    ${INSTALL_DATA} ${WRKSRC}/NOTE ${PREFIX}/share/doc/libmalloc
.endif

.include <bsd.port.post.mk>