aboutsummaryrefslogtreecommitdiff
path: root/x11/luit
diff options
context:
space:
mode:
authorNiclas Zeising <zeising@FreeBSD.org>2019-09-07 00:19:44 +0000
committerNiclas Zeising <zeising@FreeBSD.org>2019-09-07 00:19:44 +0000
commit9e0c173a3b3fff878ac349354c313bdcf89ff49f (patch)
tree26146cded059e80b58e287ac5b9e9c8363efbdca /x11/luit
parentba1ace875fc3643cbc5b88d4041bb4037d310785 (diff)
downloadports-9e0c173a3b3fff878ac349354c313bdcf89ff49f.tar.gz
ports-9e0c173a3b3fff878ac349354c313bdcf89ff49f.zip
Notes
Diffstat (limited to 'x11/luit')
-rw-r--r--x11/luit/Makefile21
-rw-r--r--x11/luit/distinfo5
-rw-r--r--x11/luit/files/patch-sys.c11
-rw-r--r--x11/luit/pkg-descr2
4 files changed, 21 insertions, 18 deletions
diff --git a/x11/luit/Makefile b/x11/luit/Makefile
index c0aa99264659..921f67932dac 100644
--- a/x11/luit/Makefile
+++ b/x11/luit/Makefile
@@ -1,17 +1,28 @@
# $FreeBSD$
PORTNAME= luit
-PORTVERSION= 1.1.1
-PORTREVISION= 1
+PORTVERSION= 20190106
CATEGORIES= x11
+MASTER_SITES= ftp://ftp.invisible-island.net/luit/
MAINTAINER= x11@FreeBSD.org
COMMENT= Locale and ISO 2022 support for Unicode terminals
-XORG_CAT= app
-USE_XORG= x11 fontenc
+LICENSE= MIT
+LICENSE_FILE= ${WRKSRC}/COPYING
-CONFIGURE_ARGS= --datadir=${LOCALBASE}/lib
+USES= iconv localbase:ldflags tar:tgz pkgconfig xorg
+USE_XORG= ice x11 xt
+
+GNU_CONFIGURE= yes
+
+BUILD_DEPENDS= ${LOCALBASE}/share/fonts/encodings/encodings.dir:x11-fonts/encodings
+
+CONFIGURE_ARGS= --x-libraries=${LOCALBASE}/lib \
+ --x-includes=${LOCALBASE}/include \
+ --with-encodings-dir=${LOCALBASE}/share/fonts/encodings/encodings.dir \
+ --with-locale-alias=${LOCALBASE}/lib/X11/locale/locale.alias \
+ --with-pkg-config=${LOCALBASE}/bin/pkg-config \
PLIST_FILES= bin/luit man/man1/luit.1.gz
diff --git a/x11/luit/distinfo b/x11/luit/distinfo
index 2fe6e1fdd51f..a08a290439f9 100644
--- a/x11/luit/distinfo
+++ b/x11/luit/distinfo
@@ -1,2 +1,3 @@
-SHA256 (xorg/app/luit-1.1.1.tar.bz2) = 30b0e787cb07a0f504b70f1d6123930522111ce9d4276f6683a69b322b49c636
-SIZE (xorg/app/luit-1.1.1.tar.bz2) = 140044
+TIMESTAMP = 1567812011
+SHA256 (luit-20190106.tgz) = 2b900f65ccdc38f8bfc11c6020069d055ba63fce6f90baefe8efc222a5ca3920
+SIZE (luit-20190106.tgz) = 190866
diff --git a/x11/luit/files/patch-sys.c b/x11/luit/files/patch-sys.c
deleted file mode 100644
index ed1d2541fb80..000000000000
--- a/x11/luit/files/patch-sys.c
+++ /dev/null
@@ -1,11 +0,0 @@
---- sys.c.orig 2012-03-23 04:23:07 UTC
-+++ sys.c
-@@ -256,7 +256,7 @@ setRawTermios(void)
- rc = tcgetattr(0, &tio);
- if (rc < 0)
- return rc;
-- tio.c_lflag &= (unsigned) ~(ECHO | ICANON | ISIG);
-+ tio.c_lflag &= (unsigned) ~(ECHO | ICANON | IEXTEN | ISIG);
- tio.c_iflag &= (unsigned) ~(ICRNL | IXOFF | IXON | ISTRIP);
- #ifdef ONLCR
- tio.c_oflag &= (unsigned) ~ONLCR;
diff --git a/x11/luit/pkg-descr b/x11/luit/pkg-descr
index c6c4c4cbc656..c6d50b64d51c 100644
--- a/x11/luit/pkg-descr
+++ b/x11/luit/pkg-descr
@@ -1,2 +1,4 @@
This package contains luit, a filter than can be run between an arbitrary
application and a UTF-8 terminal emulator.
+
+WWW: https://invisible-island.net/luit/