1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-02 01:20:54 +00:00
freebsd-ports/irc/epic5/Makefile
Sam Lawrance 2edb4e18ac Convert to OPTIONS framework.
Fix misformatted IGNORE message.

PR:		ports/92911
Submitted by:	Ion-Mihai "IOnut" Tetcu <itetcu@people.tecnik93.com>
Approved by:	Josh Paetzel <josh@tcbug.org> (maintainer)
2006-02-11 02:35:14 +00:00

72 lines
1.7 KiB
Makefile

# New ports collection makefile for: epic5
# Date created: 24 February 2005
# Whom: Josh Paetzel <josh@tcbug.org>
#
# $FreeBSD$
#
PORTNAME= epic5
PORTVERSION= 0.0.5
PORTREVISION= 1
CATEGORIES= irc ipv6
MASTER_SITES= http://www.tcbug.org/ \
ftp://ftp.epicsol.org/pub/epic/EPIC5-BETA/
MAINTAINER= josh@tcbug.org
COMMENT= The (E)nhanced (P)rogrammable (I)RC-II (C)lient
CONFLICTS= epic4-[0-9]*
GNU_CONFIGURE= yes
MAN1= epic5.1
USE_OPENSSL= yes
OPTIONS= IPV6 "IPv6 support" on \
TCL "TCL support" on \
PERL "Perl scripting support" off
.include <bsd.port.pre.mk>
## WITHOUT_IPV6: disable IPv6 support
#
.if defined(WITHOUT_IPV6)
CONFIGURE_ARGS+= --without-ipv6
.endif
## WITHOUT_TCL: disable Tcl support
#
.if !defined(WITHOUT_TCL)
LIB_DEPENDS+= tcl84:${PORTSDIR}/lang/tcl84
CONFIGURE_ARGS+= --with-tcl
.else
CONFIGURE_ARGS+= --without-tcl
.endif
## WITH_PERL: enable perl5 support (requires perl 5.6.1 or newer)
#
# The path provided to --with-perl is needed, since the configure script
# looks for libperl.so in places very specific to Linux. Possibly a
# patch to configure would be a better idea, but we need to rely on
# SITE_PERL and PERL_VER to create the path.
#
.if defined(WITH_PERL)
.if ${PERL_LEVEL} < 500601
IGNORE= requires Perl 5.6.1 or newer; we recommend perl 5.8.5
.endif
USE_PERL5= yes
CONFIGURE_ARGS+= --with-perl=${SITE_PERL}/../../${PERL_VER}/mach/CORE
.endif
post-extract:
@${FIND} ${WRKDIR} -type d -name CVS | ${XARGS} ${RM} -rf
post-install:
.if !defined(NOPORTDOCS)
${MKDIR} ${DOCSDIR}
.for i in BUG_FORM COPYRIGHT KNOWNBUGS README UPDATES VOTES
${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR}
.endfor
.endif
.include <bsd.port.post.mk>