aboutsummaryrefslogtreecommitdiffstats
path: root/shells/zoidberg/Makefile
blob: ac5622d1f92d537a928c37446a25e02f5f9ff503 (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
# ex:ts=8
# Ports collection makefile for:    zoidberg
# Date created:         Sep 24, 2004
# Whom:             ijliao
#
# $FreeBSD$
#

PORTNAME=   zoidberg
PORTVERSION=    0.96
CATEGORIES= shells perl5
MASTER_SITES=   ${MASTER_SITE_PERL_CPAN} \
        http://zoidberg.student.utwente.nl/downloads/Zoidberg/
MASTER_SITE_SUBDIR= Bundle
DISTNAME=   Zoidberg-${PORTVERSION}

MAINTAINER= ports@FreeBSD.org
COMMENT=    A modular PERL shell

BUILD_DEPENDS=  ${SITE_PERL}/Exporter/Tidy.pm:${PORTSDIR}/devel/p5-Exporter-Tidy \
        ${SITE_PERL}/Term/ReadLine/Zoid.pm:${PORTSDIR}/devel/p5-Term-ReadLine-Zoid \
        ${SITE_PERL}/Env/PS1.pm:${PORTSDIR}/devel/p5-Env-PS1
RUN_DEPENDS=    ${SITE_PERL}/Exporter/Tidy.pm:${PORTSDIR}/devel/p5-Exporter-Tidy \
        ${SITE_PERL}/Term/ReadLine/Zoid.pm:${PORTSDIR}/devel/p5-Term-ReadLine-Zoid \
        ${SITE_PERL}/Env/PS1.pm:${PORTSDIR}/devel/p5-Env-PS1

PERL_MODBUILD=  yes
CONFIGURE_ARGS= install_path=doc="${DOCSDIR}" \
        install_path=share="${DATADIR}"

PORTDOCS=   *

MAN1=   zoid.1 zoiddevel.1 zoidfaq.1 zoiduser.1 zoidbuiltins.1
MAN3=   Bundle::Zoidberg.3 \
    Zoidberg.3 \
    Zoidberg::Contractor.3 \
    Zoidberg::DispatchTable.3 \
    Zoidberg::Fish.3 \
    Zoidberg::Fish::Commands.3 \
    Zoidberg::Fish::Intel.3 \
    Zoidberg::Fish::Log.3 \
    Zoidberg::Fish::ReadLine.3 \
    Zoidberg::PluginHash.3 \
    Zoidberg::Shell.3 \
    Zoidberg::StringParser.3 \
    Zoidberg::Utils.3 \
    Zoidberg::Utils::Error.3 \
    Zoidberg::Utils::FileSystem.3 \
    Zoidberg::Utils::GetOpt.3 \
    Zoidberg::Utils::Output.3

post-install:
    @${ECHO_CMD} ${PREFIX}/bin/zoid >> /etc/shells

.include <bsd.port.pre.mk>

.if ${PERL_LEVEL} < 500600
IGNORE= requires perl 5.6+, install lang/perl5.8 and try again.
.endif

.include <bsd.port.post.mk>