summaryrefslogtreecommitdiffstats
path: root/devel/gamin/Makefile
diff options
context:
space:
mode:
authorahze <ahze@df743ca5-7f9a-e211-a948-0013205c9059>2006-11-17 04:38:27 +0800
committerahze <ahze@df743ca5-7f9a-e211-a948-0013205c9059>2006-11-17 04:38:27 +0800
commitd6efdc3ed4745757b99943d5b4d5e8aff85fc3a1 (patch)
treea5be17f88f644714e4379ceca0526674c266317c /devel/gamin/Makefile
parent44582a728938469c9f38ce8d843360084c04c41c (diff)
downloadmarcuscom-ports-d6efdc3ed4745757b99943d5b4d5e8aff85fc3a1.tar
marcuscom-ports-d6efdc3ed4745757b99943d5b4d5e8aff85fc3a1.tar.gz
marcuscom-ports-d6efdc3ed4745757b99943d5b4d5e8aff85fc3a1.tar.bz2
marcuscom-ports-d6efdc3ed4745757b99943d5b4d5e8aff85fc3a1.tar.lz
marcuscom-ports-d6efdc3ed4745757b99943d5b4d5e8aff85fc3a1.tar.xz
marcuscom-ports-d6efdc3ed4745757b99943d5b4d5e8aff85fc3a1.tar.zst
marcuscom-ports-d6efdc3ed4745757b99943d5b4d5e8aff85fc3a1.zip
Update to 0.1.8
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@7923 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'devel/gamin/Makefile')
-rw-r--r--devel/gamin/Makefile54
1 files changed, 54 insertions, 0 deletions
diff --git a/devel/gamin/Makefile b/devel/gamin/Makefile
new file mode 100644
index 000000000..bf9b39459
--- /dev/null
+++ b/devel/gamin/Makefile
@@ -0,0 +1,54 @@
+# ports collection makefile for: gamin
+# Date created: 24 March 2005
+# Whom: Joe Marcus Clarke <marcus@FreeBSD.org>
+#
+# $FreeBSD$
+# $MCom$
+
+PORTNAME= gamin
+PORTVERSION= 0.1.8
+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
+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>