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
|
2010-05-05 15:16:01 +02:00
|
|
|
PORTVERSION= 1.1.2
|
2003-11-18 09:43:30 +01:00
|
|
|
CATEGORIES= irc ipv6
|
2008-12-28 00:58:18 +01:00
|
|
|
MASTER_SITES= http://ftp.epicsol.org/pub/epic/EPIC5-PRODUCTION/ \
|
|
|
|
http://tehran.lain.pl/epic-mirror/EPIC5-PRODUCTION/ \
|
|
|
|
ftp://ftp.irc.org/irc/clients/unix/epic/EPIC5-PRODUCTION/ \
|
|
|
|
ftp://ftp.parodius.com/pub/epic/EPIC5-PRODUCTION/ \
|
|
|
|
http://ftp.freenet.de/pub/ftp.prbh.org/pub/epic/EPIC5-PRODUCTION/
|
2006-10-03 01:23:14 +02:00
|
|
|
|
2008-09-06 22:16:45 +02:00
|
|
|
MAINTAINER= jpaetzel@FreeBSD.org
|
2003-11-18 09:43:30 +01:00
|
|
|
COMMENT= The (E)nhanced (P)rogrammable (I)RC-II (C)lient
|
|
|
|
|
2010-10-12 18:26:52 +02:00
|
|
|
LICENSE= BSD
|
|
|
|
LICENSE_FILE= ${WRKSRC}/COPYRIGHT
|
|
|
|
|
2007-09-26 20:18:34 +02:00
|
|
|
SUB_FILES= pkg-message
|
2005-03-13 21:07:54 +01:00
|
|
|
|
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
|
2008-04-15 03:08:23 +02:00
|
|
|
PLIST_SUB+= PORTVERSION=${PORTVERSION}
|
|
|
|
USE_BZIP2= yes
|
2009-08-30 12:41:41 +02:00
|
|
|
WANT_PERL= yes
|
2008-04-15 03:08:23 +02:00
|
|
|
CFLAGS:= ${CFLAGS:C/-O2/-g -O/g}
|
2005-02-18 13:55:21 +01:00
|
|
|
|
2006-02-11 03:35:14 +01:00
|
|
|
OPTIONS= IPV6 "IPv6 support" on \
|
|
|
|
TCL "TCL support" on \
|
2008-04-15 03:08:23 +02:00
|
|
|
PERL "Perl scripting support" on \
|
|
|
|
RUBY "Ruby scripting support" on \
|
2010-03-21 21:11:53 +01:00
|
|
|
TERMCAP "Refuse to use terminfo/ncurses" off
|
2006-02-11 03:35:14 +01:00
|
|
|
|
2005-02-18 13:55:21 +01:00
|
|
|
.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
|
|
|
|
|
2005-09-09 07:01:08 +02:00
|
|
|
## WITHOUT_TCL: disable Tcl support
|
2005-02-18 13:55:21 +01:00
|
|
|
#
|
2005-09-09 07:01:08 +02:00
|
|
|
.if !defined(WITHOUT_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
|
2005-09-09 07:01:08 +02:00
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+= --without-tcl
|
2005-02-18 13:55:21 +01:00
|
|
|
.endif
|
|
|
|
|
|
|
|
## WITH_PERL: enable perl5 support (requires perl 5.6.1 or newer)
|
|
|
|
#
|
|
|
|
.if defined(WITH_PERL)
|
|
|
|
USE_PERL5= yes
|
2008-12-17 04:22:22 +01:00
|
|
|
CONFIGURE_ARGS+= --with-perl
|
2008-04-15 03:08:23 +02:00
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+= --without-perl
|
|
|
|
.endif
|
|
|
|
|
|
|
|
## WITH_RUBY: enable ruby scripting support
|
|
|
|
#
|
|
|
|
.if defined(WITH_RUBY)
|
|
|
|
USE_RUBY= yes
|
|
|
|
.include "${PORTSDIR}/Mk/bsd.ruby.mk"
|
|
|
|
CONFIGURE_ARGS+= --with-ruby
|
2009-07-12 16:47:48 +02:00
|
|
|
LDFLAGS+= ${PTHREAD_LIBS}
|
2008-04-15 03:08:23 +02:00
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+= --without-ruby
|
2005-02-18 13:55:21 +01:00
|
|
|
.endif
|
2003-11-18 09:43:30 +01:00
|
|
|
|
2008-04-15 03:08:23 +02:00
|
|
|
## WITH_TERMCAP forecably refuse to use terminfo/ncurses
|
|
|
|
#
|
|
|
|
.if defined(WITH_TERMCAP)
|
|
|
|
CONFIGURE_ARGS+= --with-termcap
|
|
|
|
.endif
|
|
|
|
|
2010-03-21 21:11:53 +01:00
|
|
|
CONFIGURE_ARGS+= --with-iconv=${LOCALBASE}
|
2010-03-22 00:56:13 +01:00
|
|
|
LIB_DEPENDS+= iconv:${PORTSDIR}/converters/libiconv
|
2008-12-09 21:59:04 +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
|
2007-09-26 20:18:34 +02:00
|
|
|
@${CAT} ${PKGMESSAGE}
|
2003-12-08 16:06:31 +01:00
|
|
|
.endif
|
1997-07-29 11:22:41 +02:00
|
|
|
|
2005-02-18 13:55:21 +01:00
|
|
|
.include <bsd.port.post.mk>
|