blob: c4bdb49c28ab3982fc4021a9c73d3711214db4fc (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
|
# Created by: Josh Paetzel <josh@tcbug.org>
# $FreeBSD$
PORTNAME= epic5
PORTVERSION= 2.1.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>
|