aboutsummaryrefslogtreecommitdiffstats
path: root/devel/gamin/Makefile
blob: 3eaf490d3aa108b39bb3c665e7454d8bd846dd7e (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
# ports collection makefile for:    gamin
# Date created:             24 March 2005
# Whom:                 Joe Marcus Clarke <marcus@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=   gamin
PORTVERSION=    0.0.26
PORTREVISION?=  13
CATEGORIES?=    devel
MASTER_SITES=   http://www.gnome.org/~veillard/gamin/sources/

MAINTAINER?=    gnome@FreeBSD.org
COMMENT?=   A file and directory monitoring system

USE_GMAKE=  yes
USE_GNOME?= gnomehack glib20
INSTALLS_SHLIB= yes
CONFIGURE_ARGS?=--disable-gtk-doc --with-html-dir=${PREFIX}/share/doc \
        --without-python
CONFIGURE_ENV=  CPPFLAGS="-I${LOCALBASE}/include" \
        LDFLAGS="-L${LOCALBASE}/lib"

CONFLICTS=  fam-[0-9]*

.if defined(GAMIN_SLAVE)
USE_LIBTOOL_VER=15
.else
USE_INC_LIBTOOL_VER=15
.endif

post-patch:
    @${FIND} ${WRKSRC} -type f | ${XARGS} ${TOUCH} -f

.if !defined(GAMIN_SLAVE)
tests: build
    @${ECHO_MSG} "===> Running gamin regression tests"
    @(cd ${WRKSRC}/tests && ${SETENV} ${MAKE_ENV} ${GMAKE} ${MAKE_FLAGS} \
        Makefile ${MAKE_ARGS} tests)

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

.include <bsd.port.mk>