Following the release of CPAN::Mini, the CPAN::Mini::Inject module
was created to add additional distributions into a minicpan mirror. While it was created for use with a minicpan mirror, similar functionality can be reused in other situations. CPAN::Inject replicates the basics of this functionality. Specifically, it takes an arbitrary tarball and adds it to the CPAN sources directory for a particular author, and then add the new file to the CHECKSUMS file. WWW: http://search.cpan.org/dist/CPAN-Inject/ PR: ports/139033 Submitted by: Cezary Morga <cm@therek.net> Feature safe: yes
This commit is contained in:
parent
2b3bee31ec
commit
9bad26da59
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=242029
5 changed files with 50 additions and 0 deletions
|
@ -1043,6 +1043,7 @@
|
|||
SUBDIR += p5-CLASS
|
||||
SUBDIR += p5-CPAN-Checksums
|
||||
SUBDIR += p5-CPAN-DistnameInfo
|
||||
SUBDIR += p5-CPAN-Inject
|
||||
SUBDIR += p5-CPAN-Mini
|
||||
SUBDIR += p5-CPAN-SQLite
|
||||
SUBDIR += p5-CPAN-YACSmoke
|
||||
|
|
27
devel/p5-CPAN-Inject/Makefile
Normal file
27
devel/p5-CPAN-Inject/Makefile
Normal file
|
@ -0,0 +1,27 @@
|
|||
# New ports collection makefile for: p5-CPAN-Inject
|
||||
# Date created: September 21st 2009
|
||||
# Whom: Cezary Morga <cm@therek.net>
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= CPAN-Inject
|
||||
PORTVERSION= 0.11
|
||||
CATEGORIES= devel perl5
|
||||
MASTER_SITES= CPAN
|
||||
PKGNAMEPREFIX= p5-
|
||||
|
||||
MAINTAINER= cm@therek.net
|
||||
COMMENT= Base class for injecting distributions into CPAN sources
|
||||
|
||||
BUILD_DEPENDS= p5-File-chmod>=0.30:${PORTSDIR}/devel/p5-File-chmod \
|
||||
p5-Params-Util>=0.21:${PORTSDIR}/devel/p5-Params-Util \
|
||||
p5-CPAN-Checksums>=1.05:${PORTSDIR}/devel/p5-CPAN-Checksums
|
||||
RUN_DEPENDS:= ${BUILD_DEPENDS}
|
||||
|
||||
PERL_CONFIGURE= YES
|
||||
|
||||
MAN1= cpaninject.1
|
||||
MAN3= CPAN::Inject.3
|
||||
|
||||
.include <bsd.port.mk>
|
3
devel/p5-CPAN-Inject/distinfo
Normal file
3
devel/p5-CPAN-Inject/distinfo
Normal file
|
@ -0,0 +1,3 @@
|
|||
MD5 (CPAN-Inject-0.11.tar.gz) = 505d71440ddd20c6eb0175c49a145f20
|
||||
SHA256 (CPAN-Inject-0.11.tar.gz) = 7607f4060d7ab22329c4b4069ce45115d5d39e0376c06c92acb2211d094f93be
|
||||
SIZE (CPAN-Inject-0.11.tar.gz) = 54564
|
13
devel/p5-CPAN-Inject/pkg-descr
Normal file
13
devel/p5-CPAN-Inject/pkg-descr
Normal file
|
@ -0,0 +1,13 @@
|
|||
Following the release of CPAN::Mini, the CPAN::Mini::Inject module
|
||||
was created to add additional distributions into a minicpan mirror.
|
||||
|
||||
While it was created for use with a minicpan mirror, similar
|
||||
functionality can be reused in other situations.
|
||||
|
||||
CPAN::Inject replicates the basics of this functionality.
|
||||
|
||||
Specifically, it takes an arbitrary tarball and adds it to the CPAN
|
||||
sources directory for a particular author, and then add the new
|
||||
file to the CHECKSUMS file.
|
||||
|
||||
WWW: http://search.cpan.org/dist/CPAN-Inject/
|
6
devel/p5-CPAN-Inject/pkg-plist
Normal file
6
devel/p5-CPAN-Inject/pkg-plist
Normal file
|
@ -0,0 +1,6 @@
|
|||
bin/cpaninject
|
||||
%%SITE_PERL%%/CPAN/Inject.pm
|
||||
%%SITE_PERL%%/%%PERL_ARCH%%/auto/CPAN/Inject/.packlist
|
||||
@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/CPAN/Inject
|
||||
@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/CPAN
|
||||
@dirrmtry %%SITE_PERL%%/CPAN
|
Loading…
Reference in a new issue