On Saturday 01 December 2007, J.C. Roberts wrote: > When there is a requirement for a perl module which we have in the > default perl installation, what is the best way to express it in the > port Makefile? >
OK, I finally figured it out. The magic is done CPAN_AUTHOR=
Index: Makefile =================================================================== RCS file: /cvs/ports/security/p5-MD5/Makefile,v retrieving revision 1.10 diff -u -r1.10 Makefile --- Makefile 15 Sep 2007 23:30:00 -0000 1.10 +++ Makefile 1 Dec 2007 17:50:04 -0000 @@ -5,10 +5,11 @@ COMMENT= interface to md5 message-digest algorithm MODULES= cpan -DISTNAME= MD5-1.7 +DISTNAME= MD5-2.03 CATEGORIES= security - MAINTAINER= Kevin Lo <[EMAIL PROTECTED]> + +CPAN_AUTHOR= GAAS # Perl PERMIT_PACKAGE_CDROM= Yes Index: distinfo =================================================================== RCS file: /cvs/ports/security/p5-MD5/distinfo,v retrieving revision 1.3 diff -u -r1.3 distinfo --- distinfo 5 Apr 2007 17:26:09 -0000 1.3 +++ distinfo 1 Dec 2007 17:50:04 -0000 @@ -1,5 +1,5 @@ -MD5 (MD5-1.7.tar.gz) = krB+wZvogWNhPd5pk560ig== -RMD160 (MD5-1.7.tar.gz) = aXMCgsU4zNhXy7CHM/GPA/AuAKs= -SHA1 (MD5-1.7.tar.gz) = ZdD8Wz5onDFfzDe21lIWN9CN3G0= -SHA256 (MD5-1.7.tar.gz) = KxhDhKWalbDKEuwj9QWsLnUnLYUDvqxpGUhco7AjDtI= -SIZE (MD5-1.7.tar.gz) = 12313 +MD5 (MD5-2.03.tar.gz) = CVfwL8MLwhBrMoa6hUkXvA== +RMD160 (MD5-2.03.tar.gz) = elRBT1sVvN03aepvPjVvOx9SYdw= +SHA1 (MD5-2.03.tar.gz) = VgIiQZBWKqDiMwJ8XzzBzVSc874= +SHA256 (MD5-2.03.tar.gz) = dk0077UOzxLYNWH2bvZyT4nD3eb1qibqGM9fhMh79+E= +SIZE (MD5-2.03.tar.gz) = 2810 Index: pkg/DESCR =================================================================== RCS file: /cvs/ports/security/p5-MD5/pkg/DESCR,v retrieving revision 1.1.1.1 diff -u -r1.1.1.1 DESCR --- pkg/DESCR 4 Jan 2001 02:09:18 -0000 1.1.1.1 +++ pkg/DESCR 1 Dec 2007 17:50:04 -0000 @@ -1,4 +1,8 @@ +The MD5.pm module is depreciated. Please use Digest::MD5 instead. + +This module (MD5.pm) is just a thin wrapper around the Digest::MD5 +module. It is provided so that legacy code that relies on the old +interface continues to work with the speed benefit of the new module. + This Perl module allows you to use the RSA Data Security Inc. MD5 message digest algorithm. - -Please see 'perldoc MD5' for more information. Index: pkg/PLIST =================================================================== RCS file: /cvs/ports/security/p5-MD5/pkg/PLIST,v retrieving revision 1.8 diff -u -r1.8 PLIST --- pkg/PLIST 15 Sep 2004 18:36:02 -0000 1.8 +++ pkg/PLIST 1 Dec 2007 17:50:04 -0000 @@ -1,9 +1,4 @@ @comment $OpenBSD: PLIST,v 1.8 2004/09/15 18:36:02 espie Exp $ -${P5ARCH}/ -${P5ARCH}/MD5.pm -${P5ARCH}/auto/ -${P5ARCH}/auto/MD5/ -${P5ARCH}/auto/MD5/MD5.bs -${P5ARCH}/auto/MD5/MD5.so -${P5ARCH}/auto/MD5/autosplit.ix +${P5SITE}/ +${P5SITE}/MD5.pm @man man/man3p/MD5.3p