Lines 2-15
Link Here
|
2 |
# $FreeBSD: head/irc/epic4/Makefile 436247 2017-03-15 14:45:30Z mat $ |
2 |
# $FreeBSD: head/irc/epic4/Makefile 436247 2017-03-15 14:45:30Z mat $ |
3 |
|
3 |
|
4 |
PORTNAME= epic4 |
4 |
PORTNAME= epic4 |
5 |
PORTVERSION= 2.10.5 |
5 |
PORTVERSION= 2.10.6 |
6 |
PORTREVISION= 3 |
6 |
PORTREVISION= 0 |
7 |
CATEGORIES= irc ipv6 |
7 |
CATEGORIES= irc ipv6 |
8 |
MASTER_SITES= http://ftp.epicsol.org/pub/epic/EPIC4-PRODUCTION/ \ |
8 |
MASTER_SITES= http://ftp.epicsol.org/pub/epic/EPIC4-PRODUCTION/ \ |
9 |
http://tehran.lain.pl/epic-mirror/EPIC4-PRODUCTION/ \ |
9 |
http://ftp.cc.uoc.gr/mirrors/irc/epic/EPIC4-PRODUCTION/ |
10 |
ftp://ftp.irc.org/irc/clients/unix/epic/EPIC4-PRODUCTION/ \ |
|
|
11 |
http://ftp.freenet.de/pub/ftp.prbh.org/pub/epic/EPIC4-PRODUCTION/ \ |
12 |
ftp://ftp.eu.uu.net/pub/unix/irc/epic/EPIC4-PRODUCTION/ |
13 |
DISTFILES= ${DISTNAME}${EXTRACT_SUFX} \ |
10 |
DISTFILES= ${DISTNAME}${EXTRACT_SUFX} \ |
14 |
${PORTNAME}-help-20050315.tar.bz2 |
11 |
${PORTNAME}-help-20050315.tar.bz2 |
15 |
|
12 |
|
Lines 22-45
Link Here
|
22 |
|
19 |
|
23 |
GNU_CONFIGURE= yes |
20 |
GNU_CONFIGURE= yes |
24 |
PLIST_SUB+= PORTVERSION=${PORTVERSION} |
21 |
PLIST_SUB+= PORTVERSION=${PORTVERSION} |
25 |
USES= ncurses tar:bzip2 ssl |
22 |
USES= ncurses tar:xz |
26 |
CFLAGS:= ${CFLAGS:C/-O2/-g -O/g} |
23 |
CFLAGS:= ${CFLAGS:C/-O2/-g -O/g} |
27 |
|
24 |
|
28 |
OPTIONS_DEFINE= IPV6 TCL PERL SSL DOCS |
25 |
OPTIONS_DEFINE= IPV6 TCL PERL SSL DOCS |
29 |
OPTIONS_DEFAULT= TCL PERL SSL |
26 |
OPTIONS_DEFAULT= TCL PERL SSL |
30 |
|
27 |
|
31 |
.include <bsd.port.options.mk> |
28 |
IPV6_CONFIGURE_WITH= ipv6 |
32 |
|
29 |
|
33 |
.if ! ${PORT_OPTIONS:MIPV6} |
30 |
SSL_CONFIGURE_WITH= ssl="${OPENSSLBASE}" |
34 |
CONFIGURE_ARGS+= --without-ipv6 |
31 |
SSL_USES= ssl |
35 |
.endif |
|
|
36 |
|
32 |
|
37 |
.if ${PORT_OPTIONS:MTCL} |
33 |
TCL_CONFIGURE_WITH= tcl |
38 |
USES+= tcl |
34 |
TCL_USES= tcl |
39 |
CONFIGURE_ARGS+= --with-tcl |
|
|
40 |
.else |
41 |
CONFIGURE_ARGS+= --without-tcl |
42 |
.endif |
43 |
|
35 |
|
44 |
# enable perl5 support (requires perl 5.6.1 or newer) |
36 |
# enable perl5 support (requires perl 5.6.1 or newer) |
45 |
# |
37 |
# |
Lines 48-65
Link Here
|
48 |
# patch to configure would be a better idea, but we need to rely on |
40 |
# patch to configure would be a better idea, but we need to rely on |
49 |
# SITE_PERL and PERL_VERSION to create the path. |
41 |
# SITE_PERL and PERL_VERSION to create the path. |
50 |
# |
42 |
# |
51 |
.if ${PORT_OPTIONS:MPERL} |
|
|
52 |
USES+= perl5 |
53 |
CONFIGURE_ARGS+= --with-perl=${LOCALBASE}/lib/perl5/${PERL_VERSION}/${PERL_ARCH}/CORE |
54 |
.else |
55 |
CONFIGURE_ARGS+= --without-perl |
56 |
.endif |
57 |
|
43 |
|
58 |
.if ${PORT_OPTIONS:MSSL} |
44 |
PERL_CONFIGURE_WITH= perl="${LOCALBASE}/lib/perl5/${PERL_VER}/${PERL_ARCH}/CORE" |
59 |
CONFIGURE_ARGS+= --with-ssl |
45 |
PERL_USES= perl5 |
60 |
.else |
46 |
|
61 |
CONFIGURE_ARGS+= --without-ssl |
47 |
.include <bsd.port.options.mk> |
62 |
.endif |
|
|
63 |
|
48 |
|
64 |
post-extract: |
49 |
post-extract: |
65 |
@${FIND} ${WRKDIR} -type d -name CVS | ${XARGS} ${RM} -r |
50 |
@${FIND} ${WRKDIR} -type d -name CVS | ${XARGS} ${RM} -r |