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

PORTNAME=	zoidberg
PORTVERSION=	0.96
PORTREVISION=	3
CATEGORIES=	shells perl5
MASTER_SITES=	CPAN
MASTER_SITE_SUBDIR=	CPAN:PARDUS
DISTNAME=	Zoidberg-${PORTVERSION}

MAINTAINER=	perl@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=share="${DATADIR}" \
		install_path=share="${ETCDIR}"

.if !defined(NOPORTDOCS)
PORTDOCS=	Changes	README
.endif

.if !defined(NOPORTEXAMPLES)
PORTEXAMPLES=	Menu.pl	cpan.pl	word_expansion.pl
.endif

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

.if !defined(NOPORTDOCS)
	@${MKDIR} ${DOCSDIR}
.for file in ${PORTDOCS}
	${INSTALL_SCRIPT} ${WRKSRC}/${file} ${DOCSDIR}
.endfor
.endif

.if !defined(NOPORTEXAMPLES)
	@${MKDIR} ${EXAMPLESDIR}
.for file in ${PORTEXAMPLES}
	${INSTALL_SCRIPT} ${WRKSRC}/doc/examples/${file} ${EXAMPLESDIR}
.endfor
.endif

.include <bsd.port.mk>