summaryrefslogtreecommitdiffstats
path: root/devel/gamin/Makefile
diff options
context:
space:
mode:
authormarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2008-01-10 03:55:24 +0800
committermarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2008-01-10 03:55:24 +0800
commit1f54644c601db9102def6d2a04c4af7db9714511 (patch)
tree7f88663aed80c12d3d352c2c12c2a2b012e07f3d /devel/gamin/Makefile
parent868ea39205fb83309080af61df139d23278b8dff (diff)
downloadmarcuscom-ports-1f54644c601db9102def6d2a04c4af7db9714511.tar
marcuscom-ports-1f54644c601db9102def6d2a04c4af7db9714511.tar.gz
marcuscom-ports-1f54644c601db9102def6d2a04c4af7db9714511.tar.bz2
marcuscom-ports-1f54644c601db9102def6d2a04c4af7db9714511.tar.lz
marcuscom-ports-1f54644c601db9102def6d2a04c4af7db9714511.tar.xz
marcuscom-ports-1f54644c601db9102def6d2a04c4af7db9714511.tar.zst
marcuscom-ports-1f54644c601db9102def6d2a04c4af7db9714511.zip
Update glib20 to 2.15.1, and break out the GIO FAM backend into a separate
port (gio-fam-backend). This requires a bit of trickery in bsd.gnome.mk to avoid a dependency loop, so a new _glib20 component was added that should only be required by FAM providers. To that end, add gamin, and make gamin depend on _glib20. Update gvfs to 0.1.1, and add a new gvfs component to bsd.gnome.mk. gio-standalone is no longer needed as this code is now part of glib. git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@10030 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'devel/gamin/Makefile')
-rw-r--r--devel/gamin/Makefile57
1 files changed, 57 insertions, 0 deletions
diff --git a/devel/gamin/Makefile b/devel/gamin/Makefile
new file mode 100644
index 000000000..12289abf5
--- /dev/null
+++ b/devel/gamin/Makefile
@@ -0,0 +1,57 @@
+# ports collection makefile for: gamin
+# Date created: 24 March 2005
+# Whom: Joe Marcus Clarke <marcus@FreeBSD.org>
+#
+# $FreeBSD$
+# $MCom: ports/devel/gamin/Makefile,v 1.2 2007/02/02 18:57:01 mezz Exp $
+#
+
+PORTNAME= gamin
+PORTVERSION= 0.1.9
+PORTREVISION= 1
+CATEGORIES?= devel
+MASTER_SITES= http://www.gnome.org/~veillard/gamin/sources/
+
+MAINTAINER?= gnome@FreeBSD.org
+COMMENT?= A file and directory monitoring system
+
+USE_AUTOTOOLS= libtool:15
+USE_GMAKE= yes
+USE_GNOME?= gnomehack _glib20
+USE_LDCONFIG= yes
+CONFIGURE_ARGS?=--with-html-dir=${PREFIX}/share/doc \
+ --without-python
+CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" \
+ LDFLAGS="-L${LOCALBASE}/lib ${PTHREAD_LIBS}"
+CPPFLAGS= -I${LOCALBASE}/include ${PTHREAD_CFLAGS}
+
+CONFLICTS= fam-[0-9]*
+
+GNU_CONFIGURE= yes
+
+.if !defined(GAMIN_SLAVE)
+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
+.endif
+
+post-patch:
+ @${REINPLACE_CMD} "s|/etc|${PREFIX}/etc|g" ${WRKSRC}/server/gam_conf.c
+
+.if !defined(GAMIN_SLAVE)
+regression-test: 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.post.mk>