aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorstas <stas@FreeBSD.org>2011-08-31 06:34:24 +0800
committerstas <stas@FreeBSD.org>2011-08-31 06:34:24 +0800
commit2b8908854c30f19ac0f4048eb5f4eb2a448e74a5 (patch)
treed1f1a38033c854228f5e3339ff782703b52c3851
parented8c1949420be24b45012b15e1a6c6193f5fc474 (diff)
downloadfreebsd-ports-graphics-2b8908854c30f19ac0f4048eb5f4eb2a448e74a5.tar.gz
freebsd-ports-graphics-2b8908854c30f19ac0f4048eb5f4eb2a448e74a5.tar.zst
freebsd-ports-graphics-2b8908854c30f19ac0f4048eb5f4eb2a448e74a5.zip
- Add pkg-message suggesting increasing the kern.maxfiles tunable. [1]
- Add LICENSE. Suggested by: bapt [1]
-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 1ed77b270b1..c6a1785dfe8 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 00000000000..e8ccea44954
--- /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"
+=============================================================================
+