aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/ftrace/Makefile
blob: 30882baab739b2fa059d60741523beed233b2993 (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
# New ports collection makefile for:   ftrace
# Date created:        06 January 2001
# Whom:                George Reid <greid@ukug.uk.freebsd.org>
#
# $FreeBSD$
#

PORTNAME=   ftrace
PORTVERSION=    0.9b
CATEGORIES= sysutils
MASTER_SITES=   http://software.senko.net/pub/

MAINTAINER= ports@FreeBSD.org
COMMENT=    A file modification/creation watcher

WRKSRC=     ${WRKDIR}/${DISTNAME:S/_/-/}

GNU_CONFIGURE=  yes
MAKE_ARGS=  CFLAGS="${CFLAGS} -DPIC -fPIC -D_REENTRANT -I." \
        LDFLAGS="-shared"
USE_LDCONFIG=   yes

PLIST_FILES=    bin/ftrace lib/libftrace.so
PORTDOCS=   COPYING README TODO ChangeLog

do-install:
        ${INSTALL_SCRIPT} ${WRKSRC}/ftrace ${PREFIX}/bin
        ${INSTALL_DATA} ${WRKSRC}/libftrace.so ${PREFIX}/lib
.if !defined(NOPORTDOCS)
        ${MKDIR} ${DOCSDIR}
        cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR}
.endif

.include <bsd.port.mk>