1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-30 10:38:37 +00:00
freebsd-ports/irc/ircproxy/Makefile
Rene Ladan 620968a43a cleanup: drop support for EOL FreeBSD 11.X
Search criteria used:
- 11.4
- OSREL*
- OSVER*
- *_FreeBSD_11

Input from:
- adridg: devel/qca-legacy
- jbeich: _WITH_DPRINTF, _WITH_GETLINE, GNU bfd workarounds
- sunpoet: security/p5-*OpenSSL*

Reviewed by:	doceng, kde, multimedia, perl, python, ruby, rust
Differential Revision: https://reviews.freebsd.org/D32008
Test Plan: make index
2021-09-30 23:23:30 +02:00

51 lines
1.3 KiB
Makefile

# Created by: Jonas Kvinge <jonas@night-light.net>
PORTNAME= ircproxy
PORTVERSION= 1.3.6
PORTREVISION= 3
CATEGORIES= irc
MASTER_SITES= https://BSDforge.com/projects/source/irc/ircproxy/
MAINTAINER= portmaster@BSDforge.com
COMMENT= IRC proxy/bouncer daemon
LICENSE= GPLv3+
LICENSE_FILE= ${WRKSRC}/COPYING
LIB_DEPENDS= libcares.so:dns/c-ares
USES= autoreconf tar:bzip2
GNU_CONFIGURE= yes
LDFLAGS+= -L${LOCALBASE}/lib -lcrypto
CFLAGS+= -I${LOCALBASE}/include
USERS= ircproxyd
GROUPS= ircproxyd
SUB_LIST= IRC_USR=${USERS} IRC_GRP=${GROUPS}
SUB_FILES= pkg-deinstall
OPTIONS_DEFINE= SSL IPV6 MEMDEBUG FDDEBUG
OPTIONS_DEFAULT= SSL MEMDEBUG FDDEBUG
MEMDEBUG_DESC= Enable memory debugging
FDDEBUG_DESC= Enable file descriptor debugging
MEMDEBUG_CONFIGURE_ENABLE= memdebug
FDDEBUG_CONFIGURE_ENABLE= fddebug
IPV6_CONFIGURE_ENABLE= ipv6
SSL_CONFIGURE_ENABLE= ssl
SSL_USES= ssl
.include <bsd.port.pre.mk>
post-patch:
@${REINPLACE_CMD} -e 's|EUSER="ircproxy"|EUSER="ircproxyd"|g; \
s|EGROUP="users"|EGROUP="ircproxyd"|g' ${WRKSRC}/data/${PORTNAME}d.conf
@${REINPLACE_CMD} -e '/gnutls/!s,SSL_library_init,OPENSSL_init_ssl,' \
${WRKSRC}/configure.in
post-install:
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/imkpasswd ${STAGEDIR}${PREFIX}/bin/ircproxyd
.include <bsd.port.post.mk>