aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--devel/libinotify/Makefile5
-rw-r--r--devel/libinotify/pkg-message12
2 files changed, 17 insertions, 0 deletions
diff --git a/devel/libinotify/Makefile b/devel/libinotify/Makefile
index 1ed77b270b11..c6a1785dfe81 100644
--- a/devel/libinotify/Makefile
+++ b/devel/libinotify/Makefile
@@ -13,6 +13,8 @@ MASTER_SITES= ftp://ftp.SpringDaemons.com/soft/
MAINTAINER= stas@FreeBSD.org
COMMENT= Kevent based inotify compatible library
+LICENSE= MIT
+
GNU_CONFIGURE= yes
USE_BZIP2= yes
USE_LDCONFIG= yes
@@ -24,4 +26,7 @@ post-configure:
@${REINPLACE_CMD} -E -e \
'/Install the pseudo-library/,/staticlibs=/s,^,#,' ${WRKSRC}/libtool
+post-install:
+ @${CAT} ${PKGMESSAGE}
+
.include <bsd.port.mk>
diff --git a/devel/libinotify/pkg-message b/devel/libinotify/pkg-message
new file mode 100644
index 000000000000..e8ccea44954d
--- /dev/null
+++ b/devel/libinotify/pkg-message
@@ -0,0 +1,12 @@
+
+============================================================================
+You might want to consider increasing the kern.maxfiles tunable if you plan
+to use this library for applications that need to monitor activity of a lot
+of files.
+
+For a typical desktop, add the following line to /boot/loader.conf, then
+reboot the system:
+
+ kern.maxfiles="25000"
+=============================================================================
+