summaryrefslogtreecommitdiff
path: root/irc/epic4/Makefile
diff options
context:
space:
mode:
authorEdwin Groothuis <edwin@FreeBSD.org>2006-11-30 11:53:33 +0000
committerEdwin Groothuis <edwin@FreeBSD.org>2006-11-30 11:53:33 +0000
commit07a9459ade3f683cd269b7fb8e5d03ac007d43d6 (patch)
tree085f8473ac896f972baa7540c342f154cd050d45 /irc/epic4/Makefile
parent- Respect X11BASE (diff)
[PATCH] Update irc/epic4 from 2.4 to 2.6
A new version of epic4 has been released which now will build against the net/socks5 port. Added support for this and some other optional configure args to the port Stolen from itetcu@ after nagging by email. PR: ports/105638 Submitted by: "Josh Paetzel <josh@tcbug.org>" <josh@tcbug.org>
Notes
Notes: svn path=/head/; revision=178329
Diffstat (limited to 'irc/epic4/Makefile')
-rw-r--r--irc/epic4/Makefile32
1 files changed, 28 insertions, 4 deletions
diff --git a/irc/epic4/Makefile b/irc/epic4/Makefile
index 3435a018fe3f..df6cf1e9c024 100644
--- a/irc/epic4/Makefile
+++ b/irc/epic4/Makefile
@@ -6,15 +6,14 @@
#
PORTNAME= epic4
-PORTVERSION= 2.4
+PORTVERSION= 2.6
PORTREVISION= 1
CATEGORIES= irc ipv6
MASTER_SITES= ftp://ftp.prbh.org/pub/epic/EPIC4-PRODUCTION/ \
ftp://ftp.irc.org/irc/clients/unix/epic/EPIC4-PRODUCTION/ \
ftp://ftp.parodius.com/pub/epic/EPIC4-PRODUCTION/ \
http://ftp.freenet.de/pub/ftp.prbh.org/pub/epic/EPIC4-PRODUCTION/ \
- ftp://ftp.eu.uu.net/pub/unix/irc/epic/EPIC4-PRODUCTION/ \
- ftp://totem.fix.no/pub/mirrors/epic/EPIC4-PRODUCTION/
+ ftp://ftp.eu.uu.net/pub/unix/irc/epic/EPIC4-PRODUCTION/
DISTFILES= ${DISTNAME}${EXTRACT_SUFX} \
${PORTNAME}-help-20050315.tar.gz
@@ -29,7 +28,10 @@ USE_OPENSSL= yes
OPTIONS= IPV6 "IPv6 support" on \
TCL "TCL support" on \
- PERL "Perl scripting support" off
+ PERL "Perl scripting support" off \
+ SOCKS5 "Enable SOCKS5 proxy support" off \
+ SSL "Enable SSL support" off \
+ TERMCAP "Refuse to use terminfo/ncurses" off
.include <bsd.port.pre.mk>
@@ -61,6 +63,28 @@ USE_PERL5= yes
CONFIGURE_ARGS+= --with-perl=${SITE_PERL}/../../${PERL_VER}/mach/CORE
.endif
+## WITH_SOCKS5: enable SOCKS5 support
+#
+.if defined(WITH_SOCKS5)
+.if exists(${LOCALBASE}/lib/libdsocks.so)
+BROKEN= Optional socks5 support will only build against net/socks5 which conflicts with net/dante
+.endif
+BUILD_DEPENDS+= ${LOCALBASE}/lib/libsocks5.a:${PORTSDIR}/net/socks5
+CONFIGURE_ARGS+= --with-socks5=${LOCALBASE}/include
+.endif
+
+## WITH_SSL enable SSL support
+#
+.if defined(WITH_SSL)
+CONFIGURE_ARGS+= --with-ssl
+.endif
+
+## WITH_TERMCAP forceably refuse to use terminfo/ncurses
+#
+.if defined(WITH_TERMCAP)
+CONFIGURE_ARGS+= --with-termcap
+.endif
+
post-extract:
@${FIND} ${WRKDIR} -type d -name CVS | ${XARGS} ${RM} -rf