2013-03-26 13:36:21 +01:00
|
|
|
# Created by: Josh Paetzel <josh@tcbug.org>
|
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
|
2016-08-19 16:02:24 +02:00
|
|
|
PORTVERSION= 2.0.1
|
2003-11-18 09:43:30 +01:00
|
|
|
CATEGORIES= irc ipv6
|
2015-07-13 18:36:42 +02:00
|
|
|
MASTER_SITES= http://ftp.epicsol.org/pub/epic/EPIC5-PRODUCTION/
|
2006-10-03 01:23:14 +02:00
|
|
|
|
2014-04-09 19:11:39 +02:00
|
|
|
MAINTAINER= mp39590@gmail.com
|
2015-07-13 18:36:42 +02:00
|
|
|
COMMENT= Enhanced Programmable IRC-II Client
|
2003-11-18 09:43:30 +01:00
|
|
|
|
2014-02-22 05:21:21 +01:00
|
|
|
LICENSE= BSD3CLAUSE
|
2010-10-12 18:26:52 +02:00
|
|
|
LICENSE_FILE= ${WRKSRC}/COPYRIGHT
|
|
|
|
|
2003-11-18 09:43:30 +01:00
|
|
|
GNU_CONFIGURE= yes
|
2008-04-15 03:08:23 +02:00
|
|
|
PLIST_SUB+= PORTVERSION=${PORTVERSION}
|
2015-07-13 18:36:42 +02:00
|
|
|
CFLAGS:= ${CFLAGS:C/-O2/-O/g}
|
2005-02-18 13:55:21 +01:00
|
|
|
|
2016-02-05 11:24:59 +01:00
|
|
|
OPTIONS_DEFINE= DOCS PERL RUBY TCL
|
2006-02-11 03:35:14 +01:00
|
|
|
|
2013-09-07 21:49:41 +02:00
|
|
|
CONFIGURE_ARGS+=--with-iconv=${ICONV_PREFIX}
|
2016-08-19 16:02:24 +02:00
|
|
|
USES= iconv libarchive ncurses ssl tar:xz
|
2013-09-07 21:49:41 +02:00
|
|
|
|
2015-07-13 18:36:42 +02:00
|
|
|
PERL_USES= perl5
|
|
|
|
PERL_CONFIGURE_WITH= perl
|
|
|
|
RUBY_USE= ruby=yes
|
|
|
|
RUBY_CONFIGURE_WITH= ruby
|
|
|
|
TCL_USES= tcl
|
|
|
|
TCL_CONFIGURE_ON= --with-tcl=${TCL_LIBDIR}/tclConfig.sh
|
2016-02-05 11:24:59 +01:00
|
|
|
|
|
|
|
post-patch:
|
|
|
|
@${REINPLACE_CMD} -e 's|-lcurses|-lncurses|' ${WRKSRC}/configure
|
2003-12-08 16:06:31 +01:00
|
|
|
|
1997-07-29 11:22:41 +02:00
|
|
|
post-install:
|
2015-07-13 18:36:42 +02:00
|
|
|
${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/epic5-${PORTVERSION}
|
|
|
|
${STRIP_CMD} ${STAGEDIR}${PREFIX}/libexec/epic5-wserv4
|
2014-02-22 05:21:21 +01:00
|
|
|
${MKDIR} ${STAGEDIR}${DOCSDIR}
|
2015-07-13 18:36:42 +02:00
|
|
|
.for i in BUG_FORM EPIC4-USERS-README FILES KNOWNBUGS README README-CRYPTO UPDATES WISHLIST
|
2014-02-22 05:21:21 +01:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/${i} ${STAGEDIR}${DOCSDIR}
|
2003-12-08 16:06:31 +01:00
|
|
|
.endfor
|
2015-07-13 18:36:42 +02:00
|
|
|
(cd ${WRKSRC}/doc && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR})
|
2014-06-04 07:57:21 +02:00
|
|
|
|
2015-07-13 18:36:42 +02:00
|
|
|
.include <bsd.port.mk>
|