aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/memgrep/Makefile
blob: 7e9615f6342990d0239890177ae1afbfc1683207 (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
34
35
36
37
38
39
40
41
42
43
44
45
# New ports collection Makefile for:        memgrep
# Date created:                 22 February 2003
# Whom:                     Clement Laforet <sheepkiller@cultdeadsheep.org>
#
# $FreeBSD$
#

PORTNAME=   memgrep
PORTVERSION=    0.8.0
CATEGORIES= sysutils
MASTER_SITES=   http://www.hick.org/code/skape/memgrep/

MAINTAINER= ports@FreeBSD.org
COMMENT=    Utility to manipulate memory from running processes and core files

DEPRECATED= No more public distfiles
EXPIRATION_DATE=    2012-10-20

HAS_CONFIGURE=  yes
USE_LDCONFIG=   yes

ONLY_FOR_ARCHS= i386

PORTDOCS=   annotated.html doxygen.css doxygen.png examples.html files.html \
        functions.html group__memgrep.html index.html memgrep_8h-source.html \
        modules.html simple_8c-example.html  struct__core__memory__sections.html \
        struct__mem__ctx.html struct__mem__ctx__core__data.html \
        struct__memgrep__functions.html struct__memgrep__result.html\
        struct__memgrep__result__row.html struct__memgrep__result__row__dump.html \
        struct__memgrep__result__row__heap.html \
        struct__memgrep__result__row__replace.html \
        struct__memgrep__result__row__search.html struct__process__section__addrs.html

post-patch:
        @${REINPLACE_CMD} "s,-O3,,;s,FLAGS=,FLAGS+=," ${WRKSRC}/src/Makefile.in ${WRKSRC}/examples/Makefile.in

MAKE_ENV+=  FLAGS="${CFLAGS}"

post-install:
.if !defined(NOPORTDOCS)
    @${MKDIR} ${DOCSDIR}
    ${INSTALL_DATA} ${WRKSRC}/docs/html/* ${DOCSDIR}
.endif

.include <bsd.port.mk>