pkgsrc/security/p5-Crypt-RSA/Makefile
veego 63ad910dee SVR4 packages have a limit of 9 chars for a package name.
The automatic truncation in gensolpkg doesn't work for packages which
have the same package name for the first 5-6 chars.
e.g. amanda-server and amanda-client would be named amanda and amanda.
Now, we add a SVR4_PKGNAME and use amacl for amanda-client and amase for
amanda-server.
All svr4 packages also have a vendor tag, so we have to reserve some chars
for this tag, which is normaly 3 or 4 chars. Thats why we can only use 6
or 5 chars for SVR4_PKGNAME. I used 5 for all the packages, to give the
vendor tag enough room.
All p5-* packages and a few other packages have now a SVR4_PKGNAME.
2001-10-18 15:20:01 +00:00

32 lines
1.2 KiB
Makefile

# $NetBSD: Makefile,v 1.5 2001/10/18 15:20:36 veego Exp $
#
DISTNAME= Crypt-RSA-1.47
PKGNAME= p5-${DISTNAME}
SVR4_PKGNAME= p5rsa
CATEGORIES= security perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=Crypt/}
MAINTAINER= packages@netbsd.org
#HOMEPAGE=
COMMENT= perl5 module of the RSA public key algorithm
DEPENDS+= p5-Math-Pari-[0-9]*:../../math/p5-Math-Pari
DEPENDS+= p5-Crypt-Random-[0-9]*:../../security/p5-Crypt-Random
DEPENDS+= p5-Crypt-Primes-[0-9]*:../../security/p5-Crypt-Primes
DEPENDS+= p5-Tie-EncryptedHash-[0-9]*:../../security/p5-Tie-EncryptedHash
DEPENDS+= p5-Convert-ASCII-Armour-[0-9]*:../../textproc/p5-Convert-ASCII-Armour
DEPENDS+= p5-SortVersions-[0-9]*:../../devel/p5-SortVersions
DEPENDS+= p5-Digest-SHA1-[0-9]*:../../security/p5-Digest-SHA1
DEPENDS+= p5-Digest-MD5>=2.16:../../security/p5-Digest-MD5
DEPENDS+= p5-Digest-MD2-[0-9]*:../../security/p5-Digest-MD2
DEPENDS+= p5-Class-Loader-[0-9]*:../../devel/p5-Class-Loader
DEPENDS+= p5-Data-Buffer-[0-9]*:../../devel/p5-Data-Buffer
USE_PERL5= # defined
PERL5_PACKLIST= ${PERL5_SITEARCH}/auto/Crypt/RSA/.packlist
do-configure:
@cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${PERL5} Makefile.PL
.include "../../mk/bsd.pkg.mk"