aboutsummaryrefslogtreecommitdiffstats
path: root/devel/p5-CPANPLUS/Makefile
blob: 65157463a9b2397f7434bc155c0d7e23101dab48 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
# New ports collection makefile for:    devel/p5-CPANPLUS
# Date created:             2 February 2005
# Whom:                 Alex Kapranoff <kappa@rambler-co.ru>
#
# $FreeBSD$
#

PORTNAME=   CPANPLUS
PORTVERSION=    0.053
CATEGORIES= devel perl5
MASTER_SITES=   ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= ../../authors/id/K/KA/KANE
PKGNAMEPREFIX=  p5-

MAINTAINER= kappa@freebsd.org.ua
COMMENT=    Ameliorated interface to the CPAN

PERL_CONFIGURE= yes
CONFIGURE_ARGS= AUTOINSTALL=1
INSTALL_TARGET= pure_install
USE_REINPLACE=  yes

MAN1=   cpanp.1 cpan2dist.1
MAN3=   CPANPLUS.3 \
    CPANPLUS::Backend.3 \
    CPANPLUS::Backend::RV.3 \
    CPANPLUS::Config.3 \
    CPANPLUS::Configure.3 \
    CPANPLUS::Dist.3 \
    CPANPLUS::Dist::Build.3 \
    CPANPLUS::Dist::MM.3 \
    CPANPLUS::Dist::Sample.3 \
    CPANPLUS::Error.3 \
    CPANPLUS::FAQ.3 \
    CPANPLUS::Hacking.3 \
    CPANPLUS::Internals.3 \
    CPANPLUS::Internals::Extract.3 \
    CPANPLUS::Internals::Fetch.3 \
    CPANPLUS::Internals::Search.3 \
    CPANPLUS::Internals::Source.3 \
    CPANPLUS::Internals::Utils.3 \
    CPANPLUS::Module.3 \
    CPANPLUS::Module::Author.3 \
    CPANPLUS::Module::Author::Fake.3 \
    CPANPLUS::Module::Checksums.3 \
    CPANPLUS::Module::Fake.3 \
    CPANPLUS::Shell.3 \
    CPANPLUS::Shell::Classic.3 \
    CPANPLUS::Shell::Default.3 \
    CPANPLUS::inc.3 \
    CPANPLUS::inc::Archive::Extract.3 \
    CPANPLUS::inc::Archive::Tar.3 \
    CPANPLUS::inc::Archive::Tar::File.3 \
    CPANPLUS::inc::Config::Auto.3 \
    CPANPLUS::inc::File::Fetch.3 \
    CPANPLUS::inc::File::Spec.3 \
    CPANPLUS::inc::File::Spec::Cygwin.3 \
    CPANPLUS::inc::File::Spec::Epoc.3 \
    CPANPLUS::inc::File::Spec::Functions.3 \
    CPANPLUS::inc::File::Spec::Mac.3 \
    CPANPLUS::inc::File::Spec::OS2.3 \
    CPANPLUS::inc::File::Spec::Unix.3 \
    CPANPLUS::inc::File::Spec::VMS.3 \
    CPANPLUS::inc::File::Spec::Win32.3 \
    CPANPLUS::inc::IO::String.3 \
    CPANPLUS::inc::IO::Zlib.3 \
    CPANPLUS::inc::IPC::Cmd.3 \
    CPANPLUS::inc::IPC::Run.3 \
    CPANPLUS::inc::IPC::Run::Debug.3 \
    CPANPLUS::inc::IPC::Run::IO.3 \
    CPANPLUS::inc::IPC::Run::Timer.3 \
    CPANPLUS::inc::IPC::Run::Win32Helper.3 \
    CPANPLUS::inc::IPC::Run::Win32IO.3 \
    CPANPLUS::inc::IPC::Run::Win32Pump.3 \
    CPANPLUS::inc::Locale::Maketext::Simple.3 \
    CPANPLUS::inc::Log::Message.3 \
    CPANPLUS::inc::Log::Message::Config.3 \
    CPANPLUS::inc::Log::Message::Handlers.3 \
    CPANPLUS::inc::Log::Message::Item.3 \
    CPANPLUS::inc::Module::CoreList.3 \
    CPANPLUS::inc::Module::Load.3 \
    CPANPLUS::inc::Module::Load::Conditional.3 \
    CPANPLUS::inc::Module::Pluggable.3 \
    CPANPLUS::inc::Object::Accessor.3 \
    CPANPLUS::inc::Params::Check.3 \
    CPANPLUS::inc::Term::UI.3 \
    CPANPLUS::inc::installers::Module::Build.3 \
    CPANPLUS::inc::installers::Module::Build::Base.3 \
    CPANPLUS::inc::installers::Module::Build::Compat.3 \
    CPANPLUS::inc::installers::Module::Build::Cookbook.3 \
    CPANPLUS::inc::installers::Module::Build::PPMMaker.3 \
    CPANPLUS::inc::installers::Module::Build::Platform::Amiga.3 \
    CPANPLUS::inc::installers::Module::Build::Platform::Default.3 \
    CPANPLUS::inc::installers::Module::Build::Platform::EBCDIC.3 \
    CPANPLUS::inc::installers::Module::Build::Platform::MPEiX.3 \
    CPANPLUS::inc::installers::Module::Build::Platform::MacOS.3 \
    CPANPLUS::inc::installers::Module::Build::Platform::RiscOS.3 \
    CPANPLUS::inc::installers::Module::Build::Platform::Unix.3 \
    CPANPLUS::inc::installers::Module::Build::Platform::VMS.3 \
    CPANPLUS::inc::installers::Module::Build::Platform::VOS.3 \
    CPANPLUS::inc::installers::Module::Build::Platform::Windows.3 \
    CPANPLUS::inc::installers::Module::Build::Platform::aix.3 \
    CPANPLUS::inc::installers::Module::Build::Platform::cygwin.3 \
    CPANPLUS::inc::installers::Module::Build::Platform::darwin.3 \
    CPANPLUS::inc::installers::Module::Build::Platform::os2.3

post-patch:
    @${FIND} ${WRKSRC} -name "*\.orig" -delete

post-configure:
    @${REINPLACE_CMD} -Ee \
        "s|('base' => )'.*(/.cpanplus)',|\1\"\$$ENV{'HOME'}\2\",|" \
        ${WRKSRC}/lib/CPANPLUS/Config.pm

.include <bsd.port.mk>