Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 8 Dec 2016 14:33:51 +0000 (UTC)
From:      Lars Engels <lme@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r428121 - in head/textproc: . qrcodegen qrcodegen/files
Message-ID:  <201612081433.uB8EXpYW093269@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: lme
Date: Thu Dec  8 14:33:51 2016
New Revision: 428121
URL: https://svnweb.freebsd.org/changeset/ports/428121

Log:
  New port: textproc/qrcodegen
  
  The 'Portable QR-Code Generator' is a free Java program which generates QR
  Codes from
  
  - WLAN credentials: SSID, network key and and network type
      (WEP, WPA/WPA2, not encrypted)
  - VCard-Import
    o Inlined images can optionally be removed to reduce the size of the
      generated QR Code
    o VCards up to version 3 (inclusive) are supported
    o You can import the cards via drag&drop or by selecting them in a file
      chooser dialog
    o Supports a broad range of character encodings (ISO-8859-1, UTF-8, UTF-16,)
      the actual number depends on the Java Virtual Machine you are using.
  - VCard generator
  - e-mail addresses
  - URLs
  - free text
  - geographic coordinates
  
  The QR Code can be printed, saved as BMP, GIF or PNG, or copied to clipboard to
  use in other applications.
  
  WWW: https://sites.google.com/site/qrcodeforwn/home/qr-code-generator-for-wireless-networks

Added:
  head/textproc/qrcodegen/
  head/textproc/qrcodegen/Makefile   (contents, props changed)
  head/textproc/qrcodegen/distinfo   (contents, props changed)
  head/textproc/qrcodegen/files/
  head/textproc/qrcodegen/files/qrcodegen.in   (contents, props changed)
  head/textproc/qrcodegen/pkg-descr   (contents, props changed)
  head/textproc/qrcodegen/pkg-plist   (contents, props changed)
Modified:
  head/textproc/Makefile

Modified: head/textproc/Makefile
==============================================================================
--- head/textproc/Makefile	Thu Dec  8 14:30:48 2016	(r428120)
+++ head/textproc/Makefile	Thu Dec  8 14:33:51 2016	(r428121)
@@ -1350,6 +1350,7 @@
     SUBDIR += py3-pager
     SUBDIR += pychm
     SUBDIR += qprint
+    SUBDIR += qrcodegen
     SUBDIR += qstardict
     SUBDIR += qt4-xml
     SUBDIR += qt4-xmlpatterns

Added: head/textproc/qrcodegen/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/textproc/qrcodegen/Makefile	Thu Dec  8 14:33:51 2016	(r428121)
@@ -0,0 +1,44 @@
+# Created by: Lars Engels <lme@FreeBSD.org>
+# $FreeBSD$
+
+PORTNAME=	qrcodegen
+PORTVERSION=	1.14.2
+CATEGORIES=	textproc java
+MASTER_SITES=	http://bsd-geek.de/FreeBSD/distfiles/
+DISTNAME=	${PORTNAME}_${PORTVERSION}
+
+MAINTAINER=	lme@FreeBSD.org
+COMMENT=	GUI to generate QR codes
+
+LICENSE=	GPLv3
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+NO_ARCH=	yes
+NO_BUILD=	yes
+USES=		zip:infozip
+USE_JAVA=	yes
+JAVA_VERSION=	1.6+
+SUB_FILES=	qrcodegen
+
+INSTALLFILES=	FAQ.txt Installation.txt NOTICE QRCodeGen.jar Version.html
+
+DESKTOP_ENTRIES="Portable QR-Code Generator" \
+		"${COMMENT}" \
+		"" \
+		"qrcodegen" \
+		"Utility;2DGraphics;Java;" \
+		false
+
+do-extract:
+	@${RM} -r ${WRKDIR}
+	@${MKDIR} ${WRKSRC}
+	@${UNZIP_CMD} -q -j -d ${WRKSRC} ${DISTDIR}/${EXTRACT_ONLY}
+
+do-install:
+	@${MKDIR} ${STAGEDIR}${DATADIR}
+.for i in ${INSTALLFILES}
+	${INSTALL_DATA} ${WRKSRC}/${i} ${STAGEDIR}${DATADIR}/
+.endfor
+	${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/
+
+.include <bsd.port.mk>

Added: head/textproc/qrcodegen/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/textproc/qrcodegen/distinfo	Thu Dec  8 14:33:51 2016	(r428121)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1481205035
+SHA256 (qrcodegen_1.14.2.zip) = 48144b8d2f309f4324a85fcd7261244581678fb438a0a49f3a84b8ffcf07b09b
+SIZE (qrcodegen_1.14.2.zip) = 697748

Added: head/textproc/qrcodegen/files/qrcodegen.in
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/textproc/qrcodegen/files/qrcodegen.in	Thu Dec  8 14:33:51 2016	(r428121)
@@ -0,0 +1,6 @@
+#!/bin/sh
+
+cd %%DATADIR%%
+JAVA_VERSION="%%JAVA_VERSION%%" exec %%LOCALBASE%%/bin/java \
+    -jar QRCodeGen.jar "$@"
+

Added: head/textproc/qrcodegen/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/textproc/qrcodegen/pkg-descr	Thu Dec  8 14:33:51 2016	(r428121)
@@ -0,0 +1,23 @@
+The 'Portable QR-Code Generator' is a free Java program which generates QR
+Codes from 
+
+- WLAN credentials: SSID, network key and and network type
+    (WEP, WPA/WPA2, not encrypted)
+- VCard-Import
+  o Inlined images can optionally be removed to reduce the size of the
+    generated QR Code
+  o VCards up to version 3 (inclusive) are supported
+  o You can import the cards via drag&drop or by selecting them in a file
+    chooser dialog
+  o Supports a broad range of character encodings (ISO-8859-1, UTF-8, UTF-16,)
+    the actual number depends on the Java Virtual Machine you are using.
+- VCard generator
+- e-mail addresses
+- URLs
+- free text
+- geographic coordinates
+
+The QR Code can be printed, saved as BMP, GIF or PNG, or copied to clipboard to
+use in other applications.
+
+WWW: https://sites.google.com/site/qrcodeforwn/home/qr-code-generator-for-wireless-networks

Added: head/textproc/qrcodegen/pkg-plist
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/textproc/qrcodegen/pkg-plist	Thu Dec  8 14:33:51 2016	(r428121)
@@ -0,0 +1,6 @@
+bin/qrcodegen
+%%DATADIR%%/FAQ.txt
+%%DATADIR%%/Installation.txt
+%%DATADIR%%/NOTICE
+%%DATADIR%%/QRCodeGen.jar
+%%DATADIR%%/Version.html



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