2005-03-13 21:07:54 +01:00
|
|
|
# New ports collection makefile for: epic5
|
|
|
|
# Date created: 24 February 2005
|
|
|
|
# Whom: Josh Paetzel <josh@tcbug.org>
|
1997-07-29 11:22:41 +02:00
|
|
|
#
|
1999-08-25 08:16:32 +02:00
|
|
|
# $FreeBSD$
|
1997-07-29 11:22:41 +02:00
|
|
|
#
|
|
|
|
|
2005-03-13 21:07:54 +01:00
|
|
|
PORTNAME= epic5
|
|
|
|
PORTVERSION= 0.0.3
|
2003-11-18 09:43:30 +01:00
|
|
|
CATEGORIES= irc ipv6
|
2005-03-13 21:07:54 +01:00
|
|
|
MASTER_SITES= http://www.tcbug.org/ \
|
|
|
|
ftp://ftp.epicsol.org/pub/epic/EPIC5-BETA/
|
2003-11-18 09:43:30 +01:00
|
|
|
|
2005-02-25 05:23:43 +01:00
|
|
|
MAINTAINER= josh@tcbug.org
|
2003-11-18 09:43:30 +01:00
|
|
|
COMMENT= The (E)nhanced (P)rogrammable (I)RC-II (C)lient
|
|
|
|
|
2005-03-13 21:07:54 +01:00
|
|
|
CONFLICTS= epic4-*
|
|
|
|
|
2003-11-18 09:43:30 +01:00
|
|
|
GNU_CONFIGURE= yes
|
2005-03-13 21:07:54 +01:00
|
|
|
MAN1= epic5.1
|
2005-02-18 13:55:21 +01:00
|
|
|
USE_OPENSSL= yes
|
|
|
|
|
|
|
|
.include <bsd.port.pre.mk>
|
2004-03-23 10:21:25 +01:00
|
|
|
|
2005-02-18 13:55:21 +01:00
|
|
|
## WITHOUT_IPV6: disable IPv6 support
|
|
|
|
#
|
|
|
|
.if defined(WITHOUT_IPV6)
|
|
|
|
CONFIGURE_ARGS+= --without-ipv6
|
|
|
|
.endif
|
|
|
|
|
|
|
|
## WITH_TCL: enable Tcl support
|
|
|
|
#
|
2004-03-23 10:21:25 +01:00
|
|
|
.if defined(WITH_TCL)
|
2005-02-18 13:55:21 +01:00
|
|
|
LIB_DEPENDS+= tcl84:${PORTSDIR}/lang/tcl84
|
2004-03-23 10:21:25 +01:00
|
|
|
CONFIGURE_ARGS+= --with-tcl
|
|
|
|
.endif
|
1997-07-29 11:22:41 +02:00
|
|
|
|
2005-02-18 13:55:21 +01:00
|
|
|
## WITH_SOCKS5: enable SOCKS5 support
|
|
|
|
#
|
|
|
|
.if defined(WITH_SOCKS5)
|
|
|
|
LIB_DEPENDS+= socks5:${PORTSDIR}/net/socks5
|
|
|
|
CONFIGURE_ARGS+= --with-socks5
|
|
|
|
.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= "Perl 5.6.1 or newer is required; we recommend perl 5.8.5"
|
|
|
|
.endif
|
|
|
|
USE_PERL5= yes
|
|
|
|
CONFIGURE_ARGS+= --with-perl=${SITE_PERL}/../../${PERL_VER}/mach/CORE
|
|
|
|
.endif
|
2003-11-18 09:43:30 +01:00
|
|
|
|
2003-12-08 16:06:31 +01:00
|
|
|
post-extract:
|
2004-03-23 10:21:25 +01:00
|
|
|
@${FIND} ${WRKDIR} -type d -name CVS | ${XARGS} ${RM} -rf
|
2003-12-08 16:06:31 +01:00
|
|
|
|
1997-07-29 11:22:41 +02:00
|
|
|
post-install:
|
2003-12-08 16:06:31 +01:00
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
${MKDIR} ${DOCSDIR}
|
2005-02-18 13:55:21 +01:00
|
|
|
.for i in BUG_FORM COPYRIGHT KNOWNBUGS README UPDATES VOTES
|
2003-12-08 16:06:31 +01:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR}
|
|
|
|
.endfor
|
|
|
|
.endif
|
1997-07-29 11:22:41 +02:00
|
|
|
|
2005-02-18 13:55:21 +01:00
|
|
|
.include <bsd.port.post.mk>
|