View | Details | Raw Unified | Return to bug 280755 | Differences between
and this patch

Collapse All | Expand All

(-)b/sysutils/multitail/Makefile (-20 / +21 lines)
Lines 1-32 Link Here
1
PORTNAME=	multitail
1
PORTNAME=       multitail
2
PORTVERSION=	6.5.0
2
PORTVERSION=    7.1.4a
3
PORTREVISION=	1
3
PORTREVISION=   1
4
CATEGORIES=	sysutils
4
CATEGORIES=     sysutils
5
MASTER_SITES=	http://www.vanheusden.com/multitail/ \
5
MASTER_SITES=   https://github.com/folkertvanheusden/multitail/archive/refs/tags/
6
		http://fossies.org/unix/privat/
6
DISTNAME=       ${PORTVERSION}
7
WRKSRC=         ${WRKDIR}/${PORTNAME}-${PORTVERSION}
8
LIB_DEPENDS=    libgnuregex.so:devel/libgnuregex
7
9
8
MAINTAINER=	beat@FreeBSD.org
10
MAINTAINER=     beat@FreeBSD.org
9
COMMENT=	Tail multiple files on console with ncurses
11
COMMENT=        Tail multiple files on console with ncurses
10
WWW=		https://www.vanheusden.com/multitail/
12
WWW=            https://www.vanheusden.com/multitail/
11
13
12
LICENSE=	GPLv2
14
LICENSE=        MIT
13
LICENSE_FILE=	${WRKSRC}/license.txt
15
LICENSE_FILE=   ${WRKSRC}/LICENSE
14
16
15
USES=		alias gmake ncurses tar:tgz
17
USES=           alias cmake ncurses pkgconfig cmake
16
18
17
PLIST_FILES=	bin/multitail etc/multitail.conf.sample \
19
PLIST_FILES=    bin/multitail etc/multitail.conf.sample \
18
		share/man/man1/multitail.1.gz
20
                share/man/man1/multitail.1.gz
19
PORTDOCS=	readme.txt license.txt
21
PORTDOCS=       README.md LICENSE
20
MAKE_ARGS=	NCURSES_IMPL="${NCURSES_IMPL}"
21
22
22
OPTIONS_DEFINE=	DOCS
23
OPTIONS_DEFINE= DOCS
23
24
24
do-install:
25
do-install:
25
	${INSTALL_PROGRAM} ${WRKSRC}/multitail ${STAGEDIR}${PREFIX}/bin/
26
	${INSTALL_PROGRAM} ${WRKDIR}/.build/multitail ${STAGEDIR}${PREFIX}/bin/
26
	${INSTALL_MAN} ${WRKSRC}/multitail.1 ${STAGEDIR}${PREFIX}/share/man/man1
27
	${INSTALL_MAN} ${WRKSRC}/multitail.1 ${STAGEDIR}${PREFIX}/share/man/man1
27
	${INSTALL_DATA} ${WRKSRC}/multitail.conf ${STAGEDIR}${PREFIX}/etc/multitail.conf.sample
28
	${INSTALL_DATA} ${WRKSRC}/multitail.conf ${STAGEDIR}${PREFIX}/etc/multitail.conf.sample
28
	@${MKDIR} ${STAGEDIR}${DOCSDIR}
29
	@${MKDIR} ${STAGEDIR}${DOCSDIR}
29
	${INSTALL_DATA} ${WRKSRC}/readme.txt ${STAGEDIR}${DOCSDIR}
30
	${INSTALL_DATA} ${WRKSRC}/README.md ${STAGEDIR}${DOCSDIR}
30
	${INSTALL_DATA} ${WRKSRC}/license.txt ${STAGEDIR}${DOCSDIR}
31
	${INSTALL_DATA} ${WRKSRC}/LICENSE ${STAGEDIR}${DOCSDIR}
31
32
32
.include <bsd.port.mk>
33
.include <bsd.port.mk>
(-)b/sysutils/multitail/distinfo (-3 / +3 lines)
Lines 1-3 Link Here
1
TIMESTAMP = 1573322615
1
TIMESTAMP = 1723394102
2
SHA256 (multitail-6.5.0.tgz) = b29d5e77dfc663c7500f78da67de5d82d35d9417a4741a89a18ce9ee7bdba9ed
2
SHA256 (7.1.4a.tar.gz) = 42739bf5bb894ab8a0a9beee1ca589c5741e268dc097b033125388b947c17789
3
SIZE (multitail-6.5.0.tgz) = 157578
3
SIZE (7.1.4a.tar.gz) = 152451
(-)a/sysutils/multitail/files/patch-Makefile (-25 lines)
Removed Link Here
1
--- Makefile.orig	2019-11-07 12:56:23 UTC
2
+++ Makefile
3
@@ -19,18 +19,12 @@ CPPFLAGS+=-D$(PLATFORM) -DVERSION=\"$(VERSION)\" $(DEB
4
 # build dependency files while compile (*.d)
5
 CPPFLAGS+= -MMD -MP
6
 
7
-
8
-ifeq ($(PLATFORM),Darwin)
9
-    LDFLAGS+=-lpanel $(NCURSES_LIB) -lutil -lm
10
+ifeq ($(NCURSES_IMPL),ncursesw)
11
+LDFLAGS+=-lpanelw -lncursesw -lutil -lm
12
 else
13
-ifeq ($(UTF8_SUPPORT),yes)
14
-    LDFLAGS+=-lpanelw -lncursesw -lutil -lm
15
-    CPPFLAGS+=-DUTF8_SUPPORT
16
-else
17
-    LDFLAGS+=-lpanel -lncurses -lutil -lm
18
+LDFLAGS+=-lpanel -lncurses -lutil -lm
19
 endif
20
-endif
21
-
22
+CPPFLAGS+=-DUTF8_SUPPORT
23
 
24
 OBJS:=utils.o mt.o error.o my_pty.o term.o scrollback.o help.o mem.o cv.o selbox.o stripstring.o color.o misc.o ui.o exec.o diff.o config.o cmdline.o globals.o history.o clipboard.o
25
 DEPENDS:= $(OBJS:%.o=%.d)
(-)a/sysutils/multitail/files/patch-mt.c (-15 lines)
Removed Link Here
1
--- mt.c.orig	2014-02-16 09:06:54.000000000 -0500
2
+++ mt.c	2014-02-24 14:35:45.000000000 -0500
3
@@ -23,8 +23,12 @@
4
 #include <sys/ioctl.h>
5
 #include <sys/stat.h>
6
 #ifndef AIX
7
+#if defined(__FreeBSD__)
8
+#include <termios.h>
9
+#else
10
 #include <sys/termios.h> /* needed on Solaris 8 */
11
 #endif
12
+#endif
13
 #include <sys/time.h>
14
 #include <sys/wait.h>
15
 #include <unistd.h>
(-)a/sysutils/multitail/files/patch-mt.h (-18 lines)
Removed Link Here
1
--- mt.h.orig	2019-11-09 18:07:35 UTC
2
+++ mt.h
3
@@ -60,8 +60,13 @@ typedef enum { SCHEME_TYPE_EDIT = 0, SCHEME_TYPE_FILTE
4
 #endif
5
 
6
 #if defined(UTF8_SUPPORT) && !defined(__APPLE__)
7
-	#include <ncursesw/panel.h>
8
-	#include <ncursesw/ncurses.h>
9
+	#if defined(__FreeBSD__)
10
+		#include <panel.h>
11
+		#include <curses.h>
12
+	#else
13
+		#include <ncursesw/panel.h>
14
+		#include <ncursesw/ncurses.h>
15
+	#endif
16
 #else
17
 	#if defined(__APPLE__)
18
         #include <ncurses.h>
(-)a/sysutils/multitail/files/patch-term.c (-15 lines)
Removed Link Here
1
--- term.c.orig	2014-02-24 14:33:39.000000000 -0500
2
+++ term.c	2014-02-24 14:35:02.000000000 -0500
3
@@ -16,8 +16,12 @@
4
 #include <stropts.h>
5
 #endif
6
 #ifndef AIX
7
+#if defined(__FreeBSD__)
8
+#include <termios.h>
9
+#else
10
 #include <sys/termios.h> /* needed on Solaris 8 */
11
 #endif
12
+#endif
13
 #include <sys/socket.h>
14
 #include <netinet/in.h>
15
 

Return to bug 280755