mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-22 04:17:44 +00:00
656ce31219
looking for a hash pointer in the caller program called $ptr2_License. The hash contains the path to the License file and an optional 'private' key list of modules which will decrypt only with the 'private' key. OR, a hash key of 'next' with no particular value that indicates to look to the next caller on the stack for the License pointer. If the pointer is not present or the License file is not found successfully, then no further action is taken. If the License file is successfully opened, and the contents validated then the attached encrypted module is loaded and the seconds remaining until License expiration are returned or now() in the case of no expiration. Undef is returned for an expired license (module fails to load). WWW: http://search.cpan.org/dist/Crypt-License PR: ports/90693 Submitted by: Gabor Kovesdan
25 lines
626 B
Makefile
25 lines
626 B
Makefile
# New ports collection Makefile for: p5-Crypt-License
|
|
# Date created: 20 Dec 2006
|
|
# Whom: Gabor Kovesdan
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= Crypt-License
|
|
PORTVERSION= 2.03
|
|
CATEGORIES= security perl5
|
|
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
|
|
MASTER_SITE_SUBDIR= Crypt
|
|
PKGNAMEPREFIX= p5-
|
|
|
|
MAINTAINER= gkovesdan@t-hosting.hu
|
|
COMMENT= Perl extension to examine a license
|
|
|
|
PERL_CONFIGURE= yes
|
|
|
|
MAN3= Crypt::License.3 Crypt::License::Util.3 Crypt::License::Notice.3
|
|
|
|
.include <bsd.port.pre.mk>
|
|
.if ${PERL_LEVEL} <= 500503
|
|
IGNORE= requires Perl 5.6. Intall lang/perl5 or lang/perl5.8, and try again
|
|
.endif
|
|
.include <bsd.port.post.mk>
|