aboutsummaryrefslogtreecommitdiffstats
path: root/devel/fam/Makefile
blob: 5899ba9a88e5e524bfa7a4d557f02d11027ac851 (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
46
47
# ports collection makefile for:    fam
# Date created:             20 February 2001
# Whom:                 Jeremy Norris <ishmael27@home.com>
#
# $FreeBSD$
#

PORTNAME=       fam
PORTVERSION=        2.6.9
PORTREVISION=       6
CATEGORIES=     devel
MASTER_SITES=       ftp://oss.sgi.com/projects/fam/download/
PATCH_SITES=        ftp://oss.sgi.com/projects/fam/download/patches/
PATCH_DIST_STRIP=   -p1
PATCHFILES=     freebsd-mntent.patch # freebsd-build.patch
DIST_SUBDIR=        ${PORTNAME}

MAINTAINER= mbr@FreeBSD.org
COMMENT=    A file alteration monitor

CFLAGS+=        -Wno-deprecated

USE_AUTOMAKE_VER=15
USE_AUTOCONF_VER=253
USE_INC_LIBTOOL_VER=13
CONFIGURE_TARGET=   --build=${ARCH}-portbld-freebsd${OSREL}
USE_GMAKE=  yes
INSTALLS_SHLIB= yes

MAN1=       fam.1m
MAN3=       fam.3x

CONFLICTS=  gamin-[0-9]*

pre-configure:
    @${RM} -fr ${WRKSRC}/util
    @${MV} ${WRKSRC}/Makefile.am ${WRKSRC}/Makefile.am.orig
    @${SED} -e s/util// -e /SUBDIRS/q \
        <${WRKSRC}/Makefile.am.orig >${WRKSRC}/Makefile.am
    @${RM} -f ${WRKSRC}/Makefile.am.orig
    @${RM} -f ${WRKSRC}/fam/mntent*
    @${CP} ${FILESDIR}/mntent* ${WRKSRC}/fam

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

.include <bsd.port.mk>