aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/memfetch/Makefile
blob: e0517feb07fbdeca5c629b563784cf30b206456d (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
# New ports collection makefile for:    memfetch
# Date created:                 25 Nov 2004
# Whom:                 Yonatan <onatan@gmail.com>
#
# $FreeBSD$
#

PORTNAME=   memfetch
PORTVERSION=    0.05b
CATEGORIES= sysutils
MASTER_SITES=   http://lcamtuf.coredump.cx/soft/
DISTNAME=   ${PORTNAME}
EXTRACT_SUFX=   .tgz

MAINTAINER= onatan@gmail.com
COMMENT=    Utility to dump process memory

WRKSRC=     ${WRKDIR}/${PORTNAME}
USE_PERL5_RUN=  yes

CFLAGS+=    ${CPPFLAGS}
MAKE_ENV+=  LDFLAGS="${LDFLAGS}"

do-install:
    ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
    ${INSTALL_SCRIPT} ${WRKSRC}/mffind.pl ${PREFIX}/bin
.if !defined(NOPORTDOCS)
    ${MKDIR} ${DOCSDIR}
    ${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
.endif

post-install:
    @${CAT} ${PKGMESSAGE}

.include <bsd.port.mk>