summaryrefslogtreecommitdiff
path: root/sysutils/libgamin
diff options
context:
space:
mode:
authorjmcneill <jmcneill@pkgsrc.org>2009-03-15 21:29:14 +0000
committerjmcneill <jmcneill@pkgsrc.org>2009-03-15 21:29:14 +0000
commitcf4fd74a959a21d5bcb964c4f83a6204da5fd082 (patch)
tree42be2c017469946bb275e674c5d12b40c9b0dbc6 /sysutils/libgamin
parent4126284de7b9aba2bf24c84b00b7a4d766135c1d (diff)
downloadpkgsrc-cf4fd74a959a21d5bcb964c4f83a6204da5fd082.tar.gz
Break libgamin 0.1.10 out from sysutils/gamin.
Gamin is a file and directory monitoring system defined to be a subset of the FAM (File Alteration Monitor) system. The main goals of the project are: 1. Minimize the security model of FAM -- the daemon runs under the user account. 2. Simplify the code base, dropping some of the most exotic features of FAM. 3. Provide an API and ABI compatible replacement for FAM. 4. Try to fix some other issues like resource consumption. This package provides the Gamin libraries.
Diffstat (limited to 'sysutils/libgamin')
-rw-r--r--sysutils/libgamin/DESCR13
-rw-r--r--sysutils/libgamin/Makefile14
-rw-r--r--sysutils/libgamin/PLIST29
-rw-r--r--sysutils/libgamin/buildlink3.mk19
4 files changed, 75 insertions, 0 deletions
diff --git a/sysutils/libgamin/DESCR b/sysutils/libgamin/DESCR
new file mode 100644
index 00000000000..85075f01c6c
--- /dev/null
+++ b/sysutils/libgamin/DESCR
@@ -0,0 +1,13 @@
+Gamin is a file and directory monitoring system defined to be a subset
+of the FAM (File Alteration Monitor) system.
+
+The main goals of the project are:
+
+ 1. Minimize the security model of FAM -- the daemon runs under the
+ user account.
+ 2. Simplify the code base, dropping some of the most exotic features
+ of FAM.
+ 3. Provide an API and ABI compatible replacement for FAM.
+ 4. Try to fix some other issues like resource consumption.
+
+This package provides the Gamin libraries.
diff --git a/sysutils/libgamin/Makefile b/sysutils/libgamin/Makefile
new file mode 100644
index 00000000000..96cb07ca7ce
--- /dev/null
+++ b/sysutils/libgamin/Makefile
@@ -0,0 +1,14 @@
+# $NetBSD: Makefile,v 1.1.1.1 2009/03/15 21:29:14 jmcneill Exp $
+
+.include "../../sysutils/gamin/Makefile.common"
+PKGNAME= ${DISTNAME:S/^gamin/lib&/}
+
+CONFIGURE_ARGS+= --enable-libgamin
+
+post-install:
+ ${INSTALL_DATA_DIR} ${DESTDIR}${DOCDIR}
+ cd ${WRKSRC}/doc; for file in *.html *.gif *.txt *.xml; do \
+ ${INSTALL_DATA} $$file ${DESTDIR}${DOCDIR}/$$file; \
+ done
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/sysutils/libgamin/PLIST b/sysutils/libgamin/PLIST
new file mode 100644
index 00000000000..09183b65f9e
--- /dev/null
+++ b/sysutils/libgamin/PLIST
@@ -0,0 +1,29 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2009/03/15 21:29:14 jmcneill Exp $
+include/fam.h
+lib/libfam.la
+lib/libgamin-1.la
+lib/libgamin_shared.a
+lib/pkgconfig/gamin.pc
+share/doc/gamin/FAQ.html
+share/doc/gamin/callbacks.gif
+share/doc/gamin/client_server.gif
+share/doc/gamin/config.html
+share/doc/gamin/contacts.html
+share/doc/gamin/debug.html
+share/doc/gamin/debugging.txt
+share/doc/gamin/devel.html
+share/doc/gamin/differences.html
+share/doc/gamin/downloads.html
+share/doc/gamin/gamin-api.xml
+share/doc/gamin/gamin-refs.xml
+share/doc/gamin/gamin.html
+share/doc/gamin/index.html
+share/doc/gamin/internals.html
+share/doc/gamin/news.html
+share/doc/gamin/overview.html
+share/doc/gamin/python.html
+share/doc/gamin/security.html
+share/doc/gamin/server_structs.gif
+share/doc/gamin/socket.txt
+share/doc/gamin/using.html
+@dirrm share/doc/gamin
diff --git a/sysutils/libgamin/buildlink3.mk b/sysutils/libgamin/buildlink3.mk
new file mode 100644
index 00000000000..ff750edf395
--- /dev/null
+++ b/sysutils/libgamin/buildlink3.mk
@@ -0,0 +1,19 @@
+# $NetBSD: buildlink3.mk,v 1.1.1.1 2009/03/15 21:29:14 jmcneill Exp $
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
+LIBGAMIN_BUILDLINK3_MK:= ${LIBGAMIN_BUILDLINK3_MK}+
+
+.if ${BUILDLINK_DEPTH} == "+"
+BUILDLINK_DEPENDS+= libgamin
+.endif
+
+BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nlibgamin}
+BUILDLINK_PACKAGES+= libgamin
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}libgamin
+
+.if ${LIBGAMIN_BUILDLINK3_MK} == "+"
+BUILDLINK_API_DEPENDS.libgamin+= libgamin>=0.1.10
+BUILDLINK_PKGSRCDIR.libgamin?= ../../sysutils/libgamin
+.endif # LIBGAMIN_BUILDLINK3_MK
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}