diff --git a/sysutils/inotify-tools/Makefile b/sysutils/inotify-tools/Makefile index 3e5c665e71b1..d08da20c0b78 100644 --- a/sysutils/inotify-tools/Makefile +++ b/sysutils/inotify-tools/Makefile @@ -1,49 +1,51 @@ PORTNAME= inotify-tools DISTVERSION= 4.23.9.0 +PORTREVISION= 1 CATEGORIES= sysutils MAINTAINER= yuri@FreeBSD.org COMMENT= Command-line utilities to watch for file events WWW= https://github.com/inotify-tools/inotify-tools/ LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libinotify.so:devel/libinotify TEST_DEPENDS= bash:shells/bash USES= autoreconf compiler:c11 gmake libtool localbase shebangfix USE_GITHUB= yes USE_LDCONFIG= yes SHEBANG_GLOB= *.t *.sh GNU_CONFIGURE= yes +GNU_CONFIGURE_MANPREFIX= ${PREFIX}/share CONFIGURE_ARGS= --disable-doxygen INSTALL_TARGET= install-strip OPTIONS_DEFINE= STATIC OPTIONS_SUB= yes post-patch: @${REINPLACE_CMD} \ -e 's|SHELL_PATH ?= /bin/bash|SHELL_PATH ?= ${LOCALBASE}/bin/bash|' \ ${WRKSRC}/t/Makefile post-build-STATIC-on: @cd ${WRKSRC}/src && \ ${CC} -pthread ${LDFLAGS} -static -o inotifywait.static inotifywait.o common.o ../libinotifytools/src/.libs/libinotifytools.a ${LOCALBASE}/lib/libinotify.a && \ ${CC} -pthread ${LDFLAGS} -static -o inotifywatch.static inotifywatch.o common.o ../libinotifytools/src/.libs/libinotifytools.a ${LOCALBASE}/lib/libinotify.a post-install-STATIC-on: ${INSTALL_PROGRAM} ${WRKSRC}/src/inotifywait.static ${STAGEDIR}${PREFIX}/bin ${INSTALL_PROGRAM} ${WRKSRC}/src/inotifywatch.static ${STAGEDIR}${PREFIX}/bin do-test: # Some tests are known to fail: https://github.com/inotify-tools/inotify-tools/issues/108 @${ECHO} "unit test" @cd ${WRKSRC}/libinotifytools/src && ${GMAKE} test && ./test @${ECHO} "integration test" @cd ${WRKSRC}/t && ${GMAKE} .include diff --git a/sysutils/inotify-tools/pkg-plist b/sysutils/inotify-tools/pkg-plist index affa0afdf7b3..45c279bb9447 100644 --- a/sysutils/inotify-tools/pkg-plist +++ b/sysutils/inotify-tools/pkg-plist @@ -1,17 +1,17 @@ bin/inotifywait bin/inotifywatch %%STATIC%%bin/inotifywait.static %%STATIC%%bin/inotifywatch.static include/inotifytools/fanotify-dfid-name.h include/inotifytools/fanotify.h include/inotifytools/inotify-nosys.h include/inotifytools/inotify.h include/inotifytools/inotifytools.h lib/libinotifytools.a lib/libinotifytools.so lib/libinotifytools.so.0 lib/libinotifytools.so.0.4.1 -man/man1/fsnotifywait.1.gz -man/man1/fsnotifywatch.1.gz -man/man1/inotifywait.1.gz -man/man1/inotifywatch.1.gz +share/man/man1/fsnotifywait.1.gz +share/man/man1/fsnotifywatch.1.gz +share/man/man1/inotifywait.1.gz +share/man/man1/inotifywatch.1.gz