1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-02-06 11:41:52 +00:00

add libqrencode 1.0.0

A C library for encoding data in a QR Code symbol
This commit is contained in:
Ying-Chieh Liao 2006-12-14 02:53:29 +00:00
parent 96f2e196c2
commit 4c3225c14c
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=179700
5 changed files with 66 additions and 0 deletions

View File

@ -365,6 +365,7 @@
SUBDIR += libpano12
SUBDIR += libpcd
SUBDIR += libqglviewer
SUBDIR += libqrencode
SUBDIR += librsvg
SUBDIR += librsvg2
SUBDIR += libsvg

View File

@ -0,0 +1,33 @@
# ex:ts=8
# Ports collection makefile for: libqrencode
# Date created: Dec 14, 2006
# Whom: ijliao
#
# $FreeBSD$
#
PORTNAME= libqrencode
PORTVERSION= 1.0.0
CATEGORIES= graphics
MASTER_SITES= http://megaui.net/fukuchi/works/qrencode/
DISTNAME= qrencode-${PORTVERSION}
MAINTAINER= ijliao@FreeBSD.org
COMMENT= A C library for encoding data in a QR Code symbol
LIB_DEPENDS= png.5:${PORTSDIR}/graphics/png
USE_SDL= sdl
USE_GNOME= gnometarget gnomehack
GNU_CONFIGURE= yes
CONFIGURE_ENV= LDFLAGS="-L${LOCALBASE}/lib"
CFLAGS+= -I${LOCALBASE}/include
USE_LDCONFIG= yes
PLIST_FILES= bin/qrencode \
include/qrencode.h \
lib/libqrencode.so \
lib/libqrencode.so.1 \
libdata/pkgconfig/libqrencode.pc
.include <bsd.port.mk>

View File

@ -0,0 +1,3 @@
MD5 (qrencode-1.0.0.tar.gz) = edde6d0944164d7b0d95afbfd8413dcb
SHA256 (qrencode-1.0.0.tar.gz) = 6a4173a89adecab2fc13d9bdf3d2ce954262d5463529538b96c96eabe9ef3c5a
SIZE (qrencode-1.0.0.tar.gz) = 351520

View File

@ -0,0 +1,15 @@
--- use/ltmain.sh.orig Thu Dec 14 10:47:37 2006
+++ use/ltmain.sh Thu Dec 14 10:47:48 2006
@@ -6003,10 +6003,12 @@
fi
# Install the pseudo-library for information purposes.
+ if /usr/bin/false ; then
name=`$echo "X$file" | $Xsed -e 's%^.*/%%'`
instname="$dir/$name"i
$show "$install_prog $instname $destdir/$name"
$run eval "$install_prog $instname $destdir/$name" || exit $?
+ fi
# Maybe install the static library, too.
test -n "$old_library" && staticlibs="$staticlibs $dir/$old_library"

View File

@ -0,0 +1,14 @@
Libqrencode is a C library for encoding data in a QR Code symbol, a kind of
2D symbology that can be scanned by handy terminals such as a mobile phone
with CCD. The capacity of QR Code is up to 7000 digits or 4000 characters,
and is highly robustness.
Libqrencode supports QR Code model 2, described in JIS (Japanese Industrial
Standards) X0510:2004 or ISO/IEC 18004. Currently the following features are
not supported:
* ECI and FNC1 mode
* Structured Append Feature
* Micro QR Code
* QR Code model 1
WWW: http://megaui.net/fukuchi/works/qrencode/index.en.html