freebsd-ports/irc/epic5/Makefile
Fernando Apesteguía 74560b37e7 irc/epic5: Update to 2.1.12
* Update to 2.1.12
 * Removes TCL option as it was removed upstream
 * Uses COMMITID instead of PORTVERSION for executable

PR:		272239
Reported by:	epic@dsllsn.net (maintainer)
2023-06-29 08:39:03 +02:00

45 lines
1.2 KiB
Makefile

PORTNAME= epic5
PORTVERSION= 2.1.12
CATEGORIES= irc
MASTER_SITES= http://ftp.epicsol.org/pub/epic/EPIC5-PRODUCTION/
MAINTAINER= epic@dsllsn.net
COMMENT= Enhanced Programmable IRC-II Client
WWW= http://www.epicsol.org/
LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/COPYRIGHT
USES= iconv libarchive ncurses ssl tar:xz
GNU_CONFIGURE= yes
COMMITID= 2078
PLIST_SUB+= COMMITID=${COMMITID}
CFLAGS:= ${CFLAGS:C/-O2/-O/g}
OPTIONS_DEFINE= DOCS PERL PYTHON RUBY
OPTIONS_DEFAULT= PYTHON
CONFIGURE_ARGS+=--with-iconv=${ICONV_PREFIX}
PERL_USES= perl5
PERL_CONFIGURE_WITH= perl
PYTHON_USES= python gettext-runtime
PYTHON_CONFIGURE_ON= --with-python=${PYTHON_CMD}-config
PYTHON_CONFIGURE_OFF= --without-python
RUBY_USES= ruby
RUBY_CONFIGURE_WITH= ruby
post-patch:
@${REINPLACE_CMD} -e 's|-lcurses|-lncurses|' ${WRKSRC}/configure
post-install:
${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/epic5-${COMMITID}
${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>