1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-30 01:15:52 +00:00
freebsd-ports/irc/epic4/Makefile
epic 05f24e0726 irc/epic4: Update to 2.10.11
- Converts to DISTVERSION
- Syncs MASTER_SITES with irc/epic5
- Strips binaries
- Includes upstream patches to minimize build warnings

ChangeLog:

From the KNOWNBUGS file:

* Quality of life improvements...
* - Reduce compiler warnings with modern gcc/clangs
* - Include patch from https://sources.debian.org/patches/epic4/1:2.10.10-1/man.patch/
* - Include patch from https://sources.debian.org/patches/epic4/1:2.10.10-1/status_mschulze.patch/
*   (I reviewed all of the debian patches - some of them are debian-specific customizations)
* - Include patch from https://src.fedoraproject.org/rpms/epic/blob/rawhide/f/epic4-2.10.10-c99.patch
* - Include patch from https://src.fedoraproject.org/rpms/epic/blob/rawhide/f/epic4-2.10.1-sighandling.patch
* EPIC4-2.10.11 released here (Recrudescence) (commit 793)

PR:		278102
2024-04-04 18:25:22 +01:00

59 lines
1.4 KiB
Makefile

PORTNAME= epic4
DISTVERSION= 2.10.11
CATEGORIES= irc
MASTER_SITES= https://ftp.epicsol.org/pub/epic/EPIC4-PRODUCTION/
DISTFILES= ${DISTNAME}${EXTRACT_SUFX} \
${PORTNAME}-help-20050315.tar.bz2
MAINTAINER= epic@dsllsn.net
COMMENT= (E)nhanced (P)rogrammable (I)RC-II (C)lient
WWW= http://www.epicsol.org/
LICENSE= BSD3CLAUSE
USES= ncurses tar:xz
CONFLICTS= epic5-0.[0-2]*
GNU_CONFIGURE= yes
GNU_CONFIGURE_MANPREFIX=${PREFIX}/share
PLIST_SUB+= PORTVERSION=${PORTVERSION}
CFLAGS:= ${CFLAGS:C/-O2/-O/g}
CFLAGS+= -Wno-pointer-sign
OPTIONS_DEFINE= IPV6 TCL PERL SSL DOCS
OPTIONS_DEFAULT= TCL PERL SSL
IPV6_CONFIGURE_WITH= ipv6
SSL_CONFIGURE_WITH= ssl="${OPENSSLBASE}"
SSL_USES= ssl
TCL_CONFIGURE_WITH= tcl="${TCL_LIBDIR}"
TCL_USES= tcl
PERL_CONFIGURE_WITH= perl
PERL_USES= perl5
.include <bsd.port.options.mk>
post-extract:
@${FIND} ${WRKDIR} -type d -name CVS -delete
post-patch:
@${RM} ${WRKDIR}/help/Makefile
@${REINPLACE_CMD} -e 's|-lcurses|-lncurses|' ${WRKSRC}/configure
post-install:
${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/epic-EPIC4-${DISTVERSION}
${STRIP_CMD} ${STAGEDIR}${PREFIX}/libexec/wserv4
@${CP} -R ${WRKDIR}/help/* ${STAGEDIR}${PREFIX}/share/epic/help
.if ${PORT_OPTIONS:MDOCS}
${MKDIR} ${STAGEDIR}${DOCSDIR}
.for i in BUG_FORM COPYRIGHT KNOWNBUGS README UPDATES VOTES
${INSTALL_DATA} ${WRKSRC}/${i} ${STAGEDIR}${DOCSDIR}
.endfor
.endif
.include <bsd.port.mk>