1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-25 09:34:11 +00:00
freebsd-ports/shells/zoidberg/Makefile

73 lines
1.7 KiB
Makefile

# Created by: 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= Modular PERL shell
BUILD_DEPENDS= p5-Exporter-Tidy>=0:${PORTSDIR}/devel/p5-Exporter-Tidy \
p5-Term-ReadLine-Zoid>=0:${PORTSDIR}/devel/p5-Term-ReadLine-Zoid \
p5-Env-PS1>=0:${PORTSDIR}/devel/p5-Env-PS1
RUN_DEPENDS= p5-Exporter-Tidy>=0:${PORTSDIR}/devel/p5-Exporter-Tidy \
p5-Term-ReadLine-Zoid>=0:${PORTSDIR}/devel/p5-Term-ReadLine-Zoid \
p5-Env-PS1>=0:${PORTSDIR}/devel/p5-Env-PS1
USES= perl5
USE_PERL5= modbuild
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
NO_STAGE= yes
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>