2005-04-02 11:08:47 +02:00
|
|
|
# ports collection makefile for: gamin
|
|
|
|
# Date created: 24 March 2005
|
|
|
|
# Whom: Joe Marcus Clarke <marcus@FreeBSD.org>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
2009-01-10 06:22:13 +01:00
|
|
|
# $MCom: ports/devel/gamin/Makefile,v 1.6 2008/11/26 06:48:13 marcus Exp $
|
2005-04-02 11:08:47 +02:00
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= gamin
|
2009-01-10 06:22:13 +01:00
|
|
|
PORTVERSION= 0.1.10
|
2010-06-01 00:52:40 +02:00
|
|
|
PORTREVISION?= 4
|
2005-04-02 11:08:47 +02:00
|
|
|
CATEGORIES?= devel
|
2010-05-11 17:22:44 +02:00
|
|
|
MASTER_SITES= http://people.gnome.org/~veillard/gamin/sources/
|
2005-04-02 11:08:47 +02:00
|
|
|
|
|
|
|
MAINTAINER?= gnome@FreeBSD.org
|
|
|
|
COMMENT?= A file and directory monitoring system
|
|
|
|
|
2010-12-04 08:34:27 +01:00
|
|
|
USE_AUTOTOOLS= libtool
|
2005-04-02 11:08:47 +02:00
|
|
|
USE_GMAKE= yes
|
2010-06-01 00:52:40 +02:00
|
|
|
USE_GETTEXT= yes
|
2008-03-24 04:52:36 +01:00
|
|
|
USE_GNOME?= gnomehack _glib20
|
2006-11-05 04:45:05 +01:00
|
|
|
USE_LDCONFIG= yes
|
2006-02-09 07:40:18 +01:00
|
|
|
CONFIGURE_ARGS?=--with-html-dir=${PREFIX}/share/doc \
|
2005-08-28 09:30:51 +02:00
|
|
|
--without-python
|
2011-09-24 00:26:39 +02:00
|
|
|
LDFLAGS+= -L${LOCALBASE}/lib ${PTHREAD_LIBS}
|
|
|
|
CPPFLAGS+= -DHAVE_LINUX -I${LOCALBASE}/include ${PTHREAD_CFLAGS}
|
2005-04-02 11:08:47 +02:00
|
|
|
|
|
|
|
CONFLICTS= fam-[0-9]*
|
|
|
|
|
2006-02-23 11:40:44 +01:00
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
|
|
|
|
.if !defined(GAMIN_SLAVE)
|
2006-02-11 07:58:29 +01:00
|
|
|
OPTIONS= GAM_POLLER "Use gamin's poller instead of kqueue's" off
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
|
|
|
.if !defined(GAMIN_SLAVE)
|
|
|
|
.if defined(WITH_GAM_POLLER)
|
|
|
|
CPPFLAGS+= -DUSE_GAMIN_POLLER=1
|
|
|
|
.endif
|
2005-04-19 05:10:58 +02:00
|
|
|
.endif
|
|
|
|
|
2005-04-02 11:08:47 +02:00
|
|
|
post-patch:
|
2006-02-09 07:40:18 +01:00
|
|
|
@${REINPLACE_CMD} "s|/etc|${PREFIX}/etc|g" ${WRKSRC}/server/gam_conf.c
|
2005-04-02 11:08:47 +02:00
|
|
|
|
2005-05-10 01:54:51 +02:00
|
|
|
.if !defined(GAMIN_SLAVE)
|
2006-02-09 07:40:18 +01:00
|
|
|
regression-test: build
|
2005-04-24 22:43:37 +02:00
|
|
|
@${ECHO_MSG} "===> Running gamin regression tests"
|
|
|
|
@(cd ${WRKSRC}/tests && ${SETENV} ${MAKE_ENV} ${GMAKE} ${MAKE_FLAGS} \
|
|
|
|
Makefile ${MAKE_ARGS} tests)
|
|
|
|
|
2005-05-09 17:46:39 +02:00
|
|
|
post-install:
|
|
|
|
@${CAT} ${PKGMESSAGE}
|
2005-05-10 01:54:51 +02:00
|
|
|
.endif
|
2005-05-09 17:46:39 +02:00
|
|
|
|
2006-02-11 07:58:29 +01:00
|
|
|
.include <bsd.port.post.mk>
|