diff options
author | pawel <pawel@FreeBSD.org> | 2012-04-16 05:09:31 +0800 |
---|---|---|
committer | pawel <pawel@FreeBSD.org> | 2012-04-16 05:09:31 +0800 |
commit | c61ba20c3d8933f317cee09a57f7819bb05f5ac1 (patch) | |
tree | a9feea40dca1079c02fe013938bce089cca3aa3c /converters/libb64 | |
parent | b43b7be488e338bbb27dfad1da831d10acc858c6 (diff) | |
download | freebsd-ports-gnome-c61ba20c3d8933f317cee09a57f7819bb05f5ac1.tar.gz freebsd-ports-gnome-c61ba20c3d8933f317cee09a57f7819bb05f5ac1.tar.zst freebsd-ports-gnome-c61ba20c3d8933f317cee09a57f7819bb05f5ac1.zip |
libb64 is a library of ANSI C routines for fast encoding/decoding data
into and from a base64-encoded format.
C++ wrappers are included, as well as the source code for
standalone encoding and decoding executables.
Base64 uses a subset of displayable ASCII characters, and is
therefore a useful encoding for storing binary data in a text file,
such as XML, or sending binary data over text-only email.
WWW: http://libb64.sourceforge.net
PR: ports/166670
Submitted by: Ismail Yenigul <ismail.yenigul@surgate.com>
Diffstat (limited to 'converters/libb64')
-rw-r--r-- | converters/libb64/Makefile | 28 | ||||
-rw-r--r-- | converters/libb64/distinfo | 2 | ||||
-rw-r--r-- | converters/libb64/pkg-descr | 10 | ||||
-rw-r--r-- | converters/libb64/pkg-plist | 6 |
4 files changed, 46 insertions, 0 deletions
diff --git a/converters/libb64/Makefile b/converters/libb64/Makefile new file mode 100644 index 000000000000..b8b764cea302 --- /dev/null +++ b/converters/libb64/Makefile @@ -0,0 +1,28 @@ +# New ports collection makefile for: libb64 +# Date created: 5 April 2012 +# Whom: Ismail Yenigul <ismail.yenigul@surgate.com> +# +# $FreeBSD$ +# + +PORTNAME= libb64 +PORTVERSION= 1.2 +CATEGORIES= converters mail +MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME} +DISTNAME= ${PORTNAME}-${PORTVERSION}.src + +MAINTAINER= ismail.yenigul@surgate.com +COMMENT= A library of ANSI C routines for fast encoding/decoding data + +BUILD_DEPENDS= makedepend:${PORTSDIR}/devel/makedepend + +WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} +USE_ZIP= yes +USE_GMAKE= yes + +do-install: + ${INSTALL_DATA} ${WRKSRC}/src/libb64.a ${PREFIX}/lib + ${MKDIR} ${PREFIX}/include/b64 + ${INSTALL_DATA} ${WRKSRC}/include/b64/*.h ${PREFIX}/include/b64 + +.include <bsd.port.mk> diff --git a/converters/libb64/distinfo b/converters/libb64/distinfo new file mode 100644 index 000000000000..df045502a388 --- /dev/null +++ b/converters/libb64/distinfo @@ -0,0 +1,2 @@ +SHA256 (libb64-1.2.src.zip) = 343d8d61c5cbe3d3407394f16a5390c06f8ff907bd8d614c16546310b689bfd3 +SIZE (libb64-1.2.src.zip) = 16063 diff --git a/converters/libb64/pkg-descr b/converters/libb64/pkg-descr new file mode 100644 index 000000000000..ab8810448daa --- /dev/null +++ b/converters/libb64/pkg-descr @@ -0,0 +1,10 @@ +libb64 is a library of ANSI C routines for fast encoding/decoding data +into and from a base64-encoded format. +C++ wrappers are included, as well as the source code for +standalone encoding and decoding executables. + +Base64 uses a subset of displayable ASCII characters, and is +therefore a useful encoding for storing binary data in a text file, +such as XML, or sending binary data over text-only email. + +WWW: http://libb64.sourceforge.net diff --git a/converters/libb64/pkg-plist b/converters/libb64/pkg-plist new file mode 100644 index 000000000000..fd7ba53b069d --- /dev/null +++ b/converters/libb64/pkg-plist @@ -0,0 +1,6 @@ +include/b64/cdecode.h +include/b64/cencode.h +include/b64/decode.h +include/b64/encode.h +lib/libb64.a +@dirrm include/b64 |