blob: cc2796d9e5b9d17131baa8b9e6a4b033fdae3747 (
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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
|
# Created by: Josh Paetzel <josh@tcbug.org>
# $FreeBSD$
PORTNAME= epic5
PORTVERSION= 1.1.6
CATEGORIES= irc ipv6
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/ \
http://ftp.freenet.de/pub/ftp.prbh.org/pub/epic/EPIC5-PRODUCTION/
MAINTAINER= jpaetzel@FreeBSD.org
COMMENT= The (E)nhanced (P)rogrammable (I)RC-II (C)lient
LICENSE= BSD
LICENSE_FILE= ${WRKSRC}/COPYRIGHT
SUB_FILES= pkg-message
GNU_CONFIGURE= yes
MAN1= epic5.1
USE_OPENSSL= yes
PLIST_SUB+= PORTVERSION=${PORTVERSION}
USE_BZIP2= yes
CFLAGS:= ${CFLAGS:C/-O2/-g -O/g}
OPTIONS_DEFINE= IPV6 TCL PERL SSL TERMCAP DOCS RUBY
OPTIONS_DEFAULT= TCL PERL SSL RUBY
TERMCAP_DESC= Refuse to use terminfo/ncurses
CONFIGURE_ARGS+=--with-iconv=${ICONV_PREFIX}
USES= iconv
.include <bsd.port.options.mk>
.if ! ${PORT_OPTIONS:MIPV6}
CONFIGURE_ARGS+= --without-ipv6
.endif
.if ${PORT_OPTIONS:MTCL}
LIB_DEPENDS+= tcl84:${PORTSDIR}/lang/tcl84
CONFIGURE_ARGS+= --with-tcl
.else
CONFIGURE_ARGS+= --without-tcl
.endif
# enable perl5 support (requires perl 5.6.1 or newer)
#
.if ${PORT_OPTIONS:MPERL}
USES+= perl5
CONFIGURE_ARGS+= --with-perl
.else
CONFIGURE_ARGS+= --without-perl
.endif
.if ${PORT_OPTIONS:MRUBY}
USE_RUBY= yes
CONFIGURE_ARGS+= --with-ruby
LDFLAGS+= ${PTHREAD_LIBS}
.else
CONFIGURE_ARGS+= --without-ruby
.endif
.if ${PORT_OPTIONS:MTERMCAP}
CONFIGURE_ARGS+= --with-termcap
.endif
post-extract:
@${FIND} ${WRKDIR} -type d -name CVS | ${XARGS} ${RM} -rf
post-install:
.if ${PORT_OPTIONS:MDOCS}
${MKDIR} ${DOCSDIR}
.for i in BUG_FORM COPYRIGHT KNOWNBUGS README UPDATES VOTES
${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR}
.endfor
@${CAT} ${PKGMESSAGE}
.endif
.include <bsd.port.mk>
|