diff options
author | ijliao <ijliao@FreeBSD.org> | 2006-12-14 10:53:29 +0800 |
---|---|---|
committer | ijliao <ijliao@FreeBSD.org> | 2006-12-14 10:53:29 +0800 |
commit | 9a79f1438639374b1a4b47d3d1151cb535319ef4 (patch) | |
tree | 11260c3eec91c4f0ae56c7712c22a16f9d26192e /graphics | |
parent | b1f5c38cd372c7d3cf995eea984d3878a07ecf26 (diff) | |
download | freebsd-ports-gnome-9a79f1438639374b1a4b47d3d1151cb535319ef4.tar.gz freebsd-ports-gnome-9a79f1438639374b1a4b47d3d1151cb535319ef4.tar.zst freebsd-ports-gnome-9a79f1438639374b1a4b47d3d1151cb535319ef4.zip |
add libqrencode 1.0.0
A C library for encoding data in a QR Code symbol
Diffstat (limited to 'graphics')
-rw-r--r-- | graphics/Makefile | 1 | ||||
-rw-r--r-- | graphics/libqrencode/Makefile | 33 | ||||
-rw-r--r-- | graphics/libqrencode/distinfo | 3 | ||||
-rw-r--r-- | graphics/libqrencode/files/patch-use-ltmain.sh | 15 | ||||
-rw-r--r-- | graphics/libqrencode/pkg-descr | 14 |
5 files changed, 66 insertions, 0 deletions
diff --git a/graphics/Makefile b/graphics/Makefile index b22abf4adc06..bfca756abc8d 100644 --- a/graphics/Makefile +++ b/graphics/Makefile @@ -365,6 +365,7 @@ SUBDIR += libpano12 SUBDIR += libpcd SUBDIR += libqglviewer + SUBDIR += libqrencode SUBDIR += librsvg SUBDIR += librsvg2 SUBDIR += libsvg diff --git a/graphics/libqrencode/Makefile b/graphics/libqrencode/Makefile new file mode 100644 index 000000000000..3c472f3e0581 --- /dev/null +++ b/graphics/libqrencode/Makefile @@ -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> diff --git a/graphics/libqrencode/distinfo b/graphics/libqrencode/distinfo new file mode 100644 index 000000000000..7ff6299a778f --- /dev/null +++ b/graphics/libqrencode/distinfo @@ -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 diff --git a/graphics/libqrencode/files/patch-use-ltmain.sh b/graphics/libqrencode/files/patch-use-ltmain.sh new file mode 100644 index 000000000000..2b9ddcece519 --- /dev/null +++ b/graphics/libqrencode/files/patch-use-ltmain.sh @@ -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" diff --git a/graphics/libqrencode/pkg-descr b/graphics/libqrencode/pkg-descr new file mode 100644 index 000000000000..c8fef0561b1b --- /dev/null +++ b/graphics/libqrencode/pkg-descr @@ -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 |