Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 15 Jun 2020 09:00:12 +0000 (UTC)
From:      =?UTF-8?Q?Fernando_Apestegu=c3=ada?= <fernape@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r538863 - in head/textproc: . qr
Message-ID:  <202006150900.05F90ClQ087968@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: fernape
Date: Mon Jun 15 09:00:12 2020
New Revision: 538863
URL: https://svnweb.freebsd.org/changeset/ports/538863

Log:
  new port: textproc/qr
  
  qr is a console application that prints Unicode-friendly QR codes straight in your
  terminal. Very convenient to use in scripts.
  
  PR:	247262
  Submitted by:	vulcan@wired.sh

Added:
  head/textproc/qr/
  head/textproc/qr/Makefile   (contents, props changed)
  head/textproc/qr/distinfo   (contents, props changed)
  head/textproc/qr/pkg-descr   (contents, props changed)
Modified:
  head/textproc/Makefile

Modified: head/textproc/Makefile
==============================================================================
--- head/textproc/Makefile	Mon Jun 15 08:26:22 2020	(r538862)
+++ head/textproc/Makefile	Mon Jun 15 09:00:12 2020	(r538863)
@@ -1420,6 +1420,7 @@
     SUBDIR += py-zope.tal
     SUBDIR += py-zpt
     SUBDIR += qprint
+    SUBDIR += qr
     SUBDIR += qrcodegen
     SUBDIR += qstardict
     SUBDIR += qt5-xml

Added: head/textproc/qr/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/textproc/qr/Makefile	Mon Jun 15 09:00:12 2020	(r538863)
@@ -0,0 +1,32 @@
+# $FreeBSD$
+
+PORTNAME=	qr
+DISTVERSION=	g20200216
+CATEGORIES=	textproc graphics
+
+MAINTAINER=	vulcan@wired.sh
+COMMENT=	Generate textual QR codes using terminal
+
+LICENSE=	UNLICENSE
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+LIB_DEPENDS=	libqrencode.so:graphics/libqrencode
+TEST_DEPENDS=	${LOCALBASE}/share/fonts/freefont-ttf/FreeMono.ttf:x11-fonts/freefont-ttf \
+		autom4te:devel/autoconf \
+		convert:graphics/ImageMagick6 \
+		zbarimg:graphics/zbar
+
+USES=		gmake
+USE_GITHUB=	yes
+GH_ACCOUNT=	Y2Z
+GH_TAGNAME=	20713de
+
+MAKE_ARGS=	LIBS="-I${LOCALBASE}/include -L${LOCALBASE}/lib -lqrencode"
+TEST_TARGET=	test
+
+PLIST_FILES=	bin/${PORTNAME}
+
+post-install:
+		${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
+
+.include <bsd.port.mk>

Added: head/textproc/qr/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/textproc/qr/distinfo	Mon Jun 15 09:00:12 2020	(r538863)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1592157269
+SHA256 (Y2Z-qr-g20200216-20713de_GH0.tar.gz) = b8f6cde7f836dbfc905aa857137b16e7c8affc390b0828ae0101fb784f43eb70
+SIZE (Y2Z-qr-g20200216-20713de_GH0.tar.gz) = 6325

Added: head/textproc/qr/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/textproc/qr/pkg-descr	Mon Jun 15 09:00:12 2020	(r538863)
@@ -0,0 +1,4 @@
+Print Unicode-friendly QR codes straight in
+your terminal.
+
+WWW: https://github.com/Y2Z/qr



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202006150900.05F90ClQ087968>