1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-17 03:25:46 +00:00
freebsd-ports/irc/epic5/Makefile
Dmitry Marakasov b16aab0fa2 - Update to 2.0.1
- Switch to USES=ssl

PR:		211628
Submitted by:	mp39590@gmail.com (maintainer)
2016-08-19 14:02:24 +00:00

44 lines
1.1 KiB
Makefile

# Created by: Josh Paetzel <josh@tcbug.org>
# $FreeBSD$
PORTNAME= epic5
PORTVERSION= 2.0.1
CATEGORIES= irc ipv6
MASTER_SITES= http://ftp.epicsol.org/pub/epic/EPIC5-PRODUCTION/
MAINTAINER= mp39590@gmail.com
COMMENT= Enhanced Programmable IRC-II Client
LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/COPYRIGHT
GNU_CONFIGURE= yes
PLIST_SUB+= PORTVERSION=${PORTVERSION}
CFLAGS:= ${CFLAGS:C/-O2/-O/g}
OPTIONS_DEFINE= DOCS PERL RUBY TCL
CONFIGURE_ARGS+=--with-iconv=${ICONV_PREFIX}
USES= iconv libarchive ncurses ssl tar:xz
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
post-patch:
@${REINPLACE_CMD} -e 's|-lcurses|-lncurses|' ${WRKSRC}/configure
post-install:
${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/epic5-${PORTVERSION}
${STRIP_CMD} ${STAGEDIR}${PREFIX}/libexec/epic5-wserv4
${MKDIR} ${STAGEDIR}${DOCSDIR}
.for i in BUG_FORM EPIC4-USERS-README FILES KNOWNBUGS README README-CRYPTO UPDATES WISHLIST
${INSTALL_DATA} ${WRKSRC}/${i} ${STAGEDIR}${DOCSDIR}
.endfor
(cd ${WRKSRC}/doc && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR})
.include <bsd.port.mk>