[Midnightbsd-cvs] mports [16867] trunk/devel/libinotify: libinotify 2014 06 22

laffer1 at midnightbsd.org laffer1 at midnightbsd.org
Sun Sep 7 00:08:02 EDT 2014


Revision: 16867
          http://svnweb.midnightbsd.org/mports/?rev=16867
Author:   laffer1
Date:     2014-09-07 00:08:02 -0400 (Sun, 07 Sep 2014)
Log Message:
-----------
libinotify 2014 06 22

Modified Paths:
--------------
    trunk/devel/libinotify/Makefile
    trunk/devel/libinotify/distinfo
    trunk/devel/libinotify/pkg-descr
    trunk/devel/libinotify/pkg-plist

Added Paths:
-----------
    trunk/devel/libinotify/files/
    trunk/devel/libinotify/files/Makefile

Modified: trunk/devel/libinotify/Makefile
===================================================================
--- trunk/devel/libinotify/Makefile	2014-09-07 04:05:17 UTC (rev 16866)
+++ trunk/devel/libinotify/Makefile	2014-09-07 04:08:02 UTC (rev 16867)
@@ -1,9 +1,8 @@
 # $MidnightBSD$
 
 PORTNAME=	libinotify
-PORTVERSION=	20110829
+PORTVERSION=	20140622
 CATEGORIES=	devel
-MASTER_SITES=	ftp://ftp.SpringDaemons.com/soft/
 
 MAINTAINER=	ports at MidnightBSD.org
 COMMENT=	Kevent based inotify compatible library
@@ -10,15 +9,16 @@
 
 LICENSE=	mit
 
-GNU_CONFIGURE=	yes
-USE_BZIP2=	yes
+USE_GITHUB=	yes
+GH_ACCOUNT=	dmatveev
+GH_PROJECT=	libinotify-kqueue
+GH_COMMIT=	d775062
+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>

Modified: trunk/devel/libinotify/distinfo
===================================================================
--- trunk/devel/libinotify/distinfo	2014-09-07 04:05:17 UTC (rev 16866)
+++ trunk/devel/libinotify/distinfo	2014-09-07 04:08:02 UTC (rev 16867)
@@ -1,2 +1,2 @@
-SHA256 (libinotify-20110829.tar.bz2) = d6bbefd8e4bee680c6f9c860e0a9611c51bee8f557c4b021b30cfc3b15238028
-SIZE (libinotify-20110829.tar.bz2) = 275381
+SHA256 (libinotify-20140622.tar.gz) = 512ca9342ab44ab1338c46baab596bd510ba9631d8ecb3b64ef8a89aa1b90d19
+SIZE (libinotify-20140622.tar.gz) = 33447

Added: trunk/devel/libinotify/files/Makefile
===================================================================
--- trunk/devel/libinotify/files/Makefile	                        (rev 0)
+++ trunk/devel/libinotify/files/Makefile	2014-09-07 04:08:02 UTC (rev 16867)
@@ -0,0 +1,34 @@
+# $MidnightBSD$
+
+SHLIB=		inotify
+SHLIB_MAJOR=	0
+
+DPADD=		${LIBPTHREAD}
+LDADD=		-lpthread
+
+SRCS=		utils.c
+SRCS+=		barriers.c
+SRCS+=		conversions.c
+SRCS+=		dep-list.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>

Modified: trunk/devel/libinotify/pkg-descr
===================================================================
--- trunk/devel/libinotify/pkg-descr	2014-09-07 04:05:17 UTC (rev 16866)
+++ trunk/devel/libinotify/pkg-descr	2014-09-07 04:08:02 UTC (rev 16867)
@@ -1,5 +1,5 @@
 This library provides inotify-compatible interface for applications,
-that need to monotor changes happening in a filesystem.  It can be useful
+that need to monitor changes happening in a filesystem.  It can be useful
 when porting Linux applications, which often use inotify interface.
 
 The IN_OPEN, IN_CLOSE_WRITE and IN_CLOSE_NOWRITE events are not yet

Modified: trunk/devel/libinotify/pkg-plist
===================================================================
--- trunk/devel/libinotify/pkg-plist	2014-09-07 04:05:17 UTC (rev 16866)
+++ trunk/devel/libinotify/pkg-plist	2014-09-07 04:08:02 UTC (rev 16867)
@@ -1,4 +1,4 @@
 include/sys/inotify.h
 lib/libinotify.so
 lib/libinotify.so.0
- at dirrm include/sys
+ at dirrmtry include/sys



More information about the Midnightbsd-cvs mailing list