1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-25 09:34:11 +00:00

Update libinotify-kqueue to its latest version.

This commit is contained in:
Xin LI 2014-02-26 03:07:28 +00:00
parent 992e52807e
commit 771e747dc6
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=346084
4 changed files with 46 additions and 15 deletions

View File

@ -2,24 +2,24 @@
# $FreeBSD$
PORTNAME= libinotify
PORTVERSION= 20110829
PORTVERSION= 20120419
CATEGORIES= devel
MASTER_SITES= ftp://ftp.SpringDaemons.com/soft/
MAINTAINER= ports@FreeBSD.org
MAINTAINER= delphij@FreeBSD.org
COMMENT= Kevent based inotify compatible library
LICENSE= MIT
GNU_CONFIGURE= yes
USE_BZIP2= yes
USE_GITHUB= yes
GH_ACCOUNT= dmatveev
GH_PROJECT= libinotify-kqueue
GH_COMMIT= 2a0d601
GH_TAGNAME= ${GH_COMMIT}
USE_LDCONFIG= yes
#
# Get rid of .la and static library files
#
post-configure:
@${REINPLACE_CMD} -E -e \
'/Install the pseudo-library/,/staticlibs=/s,^,#,' ${WRKSRC}/libtool
post-patch:
@${CP} ${FILESDIR}/Makefile ${WRKSRC}
@${TOUCH} ${WRKSRC}/config.h
.include <bsd.port.mk>

View File

@ -1,2 +1,2 @@
SHA256 (libinotify-20110829.tar.bz2) = d6bbefd8e4bee680c6f9c860e0a9611c51bee8f557c4b021b30cfc3b15238028
SIZE (libinotify-20110829.tar.bz2) = 275381
SHA256 (libinotify-20120419.tar.gz) = 26bd09b82af0ba52ed2d71dd516c03cbea0cd0b00a79ae2f6728d97a40db1396
SIZE (libinotify-20120419.tar.gz) = 31380

View File

@ -0,0 +1,33 @@
# $FreeBSD$
SHLIB= inotify
SHLIB_MAJOR= 0
DPADD= ${LIBPTHREAD}
LDADD= -lpthread
SRCS= utils.c
SRCS+= barriers.c
SRCS+= conversions.c
SRCS+= watch.c
SRCS+= worker-sets.c
SRCS+= worker-thread.c
SRCS+= worker.c
SRCS+= controller.c
INCS= sys/inotify.h
CFLAGS+= -I${.CURDIR} -DNDEBUG -pthread
LIBDIR= ${PREFIX}/lib
INCLUDEDIR= ${PREFIX}/include/sys
LIBOWN!= id -un
LIBGRP!= id -gn
BINOWN= ${LIBOWN}
BINGRP= ${LIBGRP}
beforeinstall:
@mkdir -p ${DESTDIR}/${LIBDIR} ${DESTDIR}/${INCLUDEDIR}
.include <bsd.lib.mk>

View File

@ -1,4 +1,3 @@
============================================================================
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
@ -9,4 +8,3 @@ reboot the system:
kern.maxfiles="25000"
=============================================================================