Index: head/comms/libirman/Makefile =================================================================== --- head/comms/libirman/Makefile (revision 489430) +++ head/comms/libirman/Makefile (revision 489431) @@ -1,24 +1,32 @@ # Created by: Douglas K. Rand # $FreeBSD$ PORTNAME= libirman -PORTVERSION= 0.4.6 +PORTVERSION= 0.5.2 CATEGORIES= comms MASTER_SITES= SF/${PORTNAME}/${PORTVERSION} -MAINTAINER= rand@iteris.com +MAINTAINER= ndowens@yahoo.com COMMENT= Library for Evation's Irman infrared receiver LICENSE= LGPL20 +LICENSE_FILE= ${WRKSRC}/COPYING -USES= gmake libtool pathfix +USES= gmake libtool pkgconfig pathfix + GNU_CONFIGURE= yes USE_LDCONFIG= yes INSTALL_TARGET= install-strip -PORTDOCS= README TECHNICAL +DOCS= AUTHORS ChangeLog README TECHNICAL TODO + +OPTIONS_DEFINE= DOCS + +do-install-DOCS-on: + ${MKDIR} ${STAGEDIR}${DOCSDIR} + (cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${STAGEDIR}${DOCSDIR}) OPTIONS_DEFINE= DOCS .include Index: head/comms/libirman/distinfo =================================================================== --- head/comms/libirman/distinfo (revision 489430) +++ head/comms/libirman/distinfo (revision 489431) @@ -1,3 +1,3 @@ -TIMESTAMP = 1507932389 -SHA256 (libirman-0.4.6.tar.gz) = 7f9ec21de98a76dceca145fdd0f1524637ee38e93369995c5c4d6819cdc4d97f -SIZE (libirman-0.4.6.tar.gz) = 342416 +TIMESTAMP = 1534050562 +SHA256 (libirman-0.5.2.tar.gz) = 43e58d7cd22b3a4c4dc8dcf8542a269ebcb4d8f6ceea0577b9fc882898f09a47 +SIZE (libirman-0.5.2.tar.gz) = 374770 Index: head/comms/libirman/files/patch-no-flock-of-serial-ports =================================================================== --- head/comms/libirman/files/patch-no-flock-of-serial-ports (revision 489430) +++ head/comms/libirman/files/patch-no-flock-of-serial-ports (nonexistent) @@ -1,17 +0,0 @@ ---- irio.c-orig Sat Mar 29 20:26:57 2003 -+++ irio.c Sat Mar 29 20:27:12 2003 -@@ -91,14 +91,6 @@ - return -1; - } - -- /* lock the file for ourselves */ -- if (flock(portfd, LOCK_EX | LOCK_NB) < 0) { -- /* unable to get lock */ -- close(portfd); -- portfd = 0; -- return -1; -- } -- - /* get port attributes, store in oldterm */ - if (tcgetattr(portfd, &oldterm) < 0) { - close(portfd); Property changes on: head/comms/libirman/files/patch-no-flock-of-serial-ports ___________________________________________________________________ Deleted: fbsd:nokeywords ## -1 +0,0 ## -yes \ No newline at end of property Deleted: svn:eol-style ## -1 +0,0 ## -native \ No newline at end of property Deleted: svn:mime-type ## -1 +0,0 ## -text/plain \ No newline at end of property Index: head/comms/libirman/files/patch-irio.c =================================================================== --- head/comms/libirman/files/patch-irio.c (nonexistent) +++ head/comms/libirman/files/patch-irio.c (revision 489431) @@ -0,0 +1,17 @@ +--- irio.c.orig 2018-08-12 05:33:43 UTC ++++ irio.c +@@ -97,14 +97,6 @@ int ir_open_port(char *filename) + return -1; + } + +- /* lock the file for ourselves */ +- if (flock(portfd, LOCK_EX | LOCK_NB) < 0) { +- /* unable to get lock */ +- close(portfd); +- portfd = 0; +- return -1; +- } +- + /* get port attributes, store in oldterm */ + if (tcgetattr(portfd, &oldterm) < 0) { + close(portfd); Property changes on: head/comms/libirman/files/patch-irio.c ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/comms/libirman/pkg-descr =================================================================== --- head/comms/libirman/pkg-descr (revision 489430) +++ head/comms/libirman/pkg-descr (revision 489431) @@ -1,9 +1,9 @@ libirman is a library for accessing the IRMAN hardware from Linux and other Unix systems. Currently the package is mainly for advanced users and developers; this does not mean that less experienced users will not be able to use it, but that there are not a lot of applications for libirman at the moment, and that if you run into problems you may have difficulty fixing things. -WWW: http://www.evation.com/libirman/ +WWW: https://libirman.sourceforge.io/ Index: head/comms/libirman/pkg-plist =================================================================== --- head/comms/libirman/pkg-plist (revision 489430) +++ head/comms/libirman/pkg-plist (revision 489431) @@ -1,8 +1,16 @@ +bin/test_func +bin/test_io +bin/test_name bin/workmanir @sample etc/irman.conf.sample include/irman.h lib/libirman.a lib/libirman.so lib/libirman.so.0 lib/libirman.so.0.0.0 libdata/pkgconfig/libirman.pc +%%PORTDOCS%%%%DOCSDIR%%/AUTHORS +%%PORTDOCS%%%%DOCSDIR%%/ChangeLog +%%PORTDOCS%%%%DOCSDIR%%/README +%%PORTDOCS%%%%DOCSDIR%%/TECHNICAL +%%PORTDOCS%%%%DOCSDIR%%/TODO