This module is a perl version of python's URL-safe base64 encoder / decoder. When embedding binary data in URL, it is preferable to use base64 encoding. However, two characters ('+' and '/') used in the standard base64 encoding have special meanings in URLs, often leading to re-encoding with URL-encoding, or worse, interoperability problems. To overcome the problem, the module provides a variation of base64 codec compatible with python's urlsafe_b64encode / urlsafe_b64decode. Modification rules from base64: use '-' and '_' instead of '+' and '/' no line feeds no trailing equals (=)
19 lines
548 B
Makefile
19 lines
548 B
Makefile
# $NetBSD: Makefile,v 1.1.1.1 2007/02/21 12:21:45 abs Exp $
|
|
#
|
|
|
|
DISTNAME= MIME-Base64-URLSafe-0.01
|
|
PKGNAME= p5-${DISTNAME}
|
|
CATEGORIES= converters perl5
|
|
MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=MIME/}
|
|
|
|
MAINTAINER= abs@NetBSD.org
|
|
HOMEPAGE= http://search.cpan.org/dist/MIME-Base64-URLSafe/
|
|
COMMENT= Perl version of Python's URL-safe base64 codec
|
|
|
|
PKG_INSTALLATION_TYPES= overwrite pkgviews
|
|
PKG_DESTDIR_SUPPORT= user-destdir
|
|
|
|
PERL5_PACKLIST= auto/MIME/Base64/URLSafe/.packlist
|
|
|
|
.include "../../lang/perl5/module.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|