diff options
author | Fernando ApesteguĂa <fernape@FreeBSD.org> | 2020-06-15 09:00:12 +0000 |
---|---|---|
committer | Fernando ApesteguĂa <fernape@FreeBSD.org> | 2020-06-15 09:00:12 +0000 |
commit | 974a00ba3645133b64f6a15accd5b871c056a444 (patch) | |
tree | c06a490e1d1d6c32f87123cc4b2ee7ac5866b2f2 | |
parent | science/agrum: Update 0.17.3 -> 0.18.0 (diff) |
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
Notes
Notes:
svn path=/head/; revision=538863
-rw-r--r-- | textproc/Makefile | 1 | ||||
-rw-r--r-- | textproc/qr/Makefile | 32 | ||||
-rw-r--r-- | textproc/qr/distinfo | 3 | ||||
-rw-r--r-- | textproc/qr/pkg-descr | 4 |
4 files changed, 40 insertions, 0 deletions
diff --git a/textproc/Makefile b/textproc/Makefile index 5518255f5eba..5daa8c506d64 100644 --- a/textproc/Makefile +++ b/textproc/Makefile @@ -1420,6 +1420,7 @@ SUBDIR += py-zope.tal SUBDIR += py-zpt SUBDIR += qprint + SUBDIR += qr SUBDIR += qrcodegen SUBDIR += qstardict SUBDIR += qt5-xml diff --git a/textproc/qr/Makefile b/textproc/qr/Makefile new file mode 100644 index 000000000000..f0c6d59d3915 --- /dev/null +++ b/textproc/qr/Makefile @@ -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> diff --git a/textproc/qr/distinfo b/textproc/qr/distinfo new file mode 100644 index 000000000000..fa4cceb44f8a --- /dev/null +++ b/textproc/qr/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1592157269 +SHA256 (Y2Z-qr-g20200216-20713de_GH0.tar.gz) = b8f6cde7f836dbfc905aa857137b16e7c8affc390b0828ae0101fb784f43eb70 +SIZE (Y2Z-qr-g20200216-20713de_GH0.tar.gz) = 6325 diff --git a/textproc/qr/pkg-descr b/textproc/qr/pkg-descr new file mode 100644 index 000000000000..ce5f1138b042 --- /dev/null +++ b/textproc/qr/pkg-descr @@ -0,0 +1,4 @@ +Print Unicode-friendly QR codes straight in +your terminal. + +WWW: https://github.com/Y2Z/qr |