1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-12 03:00:28 +00:00
freebsd-ports/net-im/mcabber/Makefile
Dmitry Marakasov 88ce98ad80 - Update to 1.1.1
- Drop maintainership
2020-09-07 15:40:19 +00:00

72 lines
1.8 KiB
Makefile

# Created by: vsevolod
# $FreeBSD$
PORTNAME= mcabber
PORTVERSION= 1.1.1
CATEGORIES= net-im
MASTER_SITES= http://www.lilotux.net/~mikael/mcabber/files/
MAINTAINER= ports@FreeBSD.org
COMMENT= Small Jabber console client
LICENSE= GPLv2+
LICENSE_FILE= ${WRKSRC}/COPYING
# it picks libcharset from converters/libiconv installed by glib,
# so provide an explicit dependency
LIB_DEPENDS= libloudmouth-1.so:net-im/loudmouth \
libcharset.so:converters/libiconv
USES= gettext gnome iconv:wchar_t libtool localbase ncurses pathfix \
pkgconfig tar:bzip2
USE_GNOME= glib20
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --disable-hgcset
INSTALL_TARGET= install-strip
PORTDATA= *
PORTEXAMPLES= *
OPTIONS_DEFINE= EXAMPLES GPGME OTR IDN
OPTIONS_DEFAULT= IDN
OPTIONS_RADIO= SPELL
OPTIONS_RADIO_SPELL= ASPELL ENCHANT
OPTIONS_SUB= yes
ENCHANT_DESC= Spell checking support via Enchant
GPGME_DESC= OpenPGP support via GPGME
OTR_DESC= Off-the-record messaging support
ASPELL_LIB_DEPENDS= libaspell.so:textproc/aspell
ASPELL_CONFIGURE_ENABLE=aspell
ENCHANT_LIB_DEPENDS= libenchant.so:textproc/enchant
ENCHANT_CONFIGURE_ENABLE=enchant
GPGME_LIB_DEPENDS= libgpgme.so:security/gpgme
GPGME_CONFIGURE_ENABLE= gpgme
OTR_LIB_DEPENDS= libgcrypt.so:security/libgcrypt \
libotr.so.5:security/libotr
OTR_CONFIGURE_ENABLE= otr
IDN_LIB_DEPENDS= libidn.so:dns/libidn
IDN_CONFIGURE_OFF= --without-libidn
post-patch:
@${REINPLACE_CMD} -e 's|$$"$${libdir}|"$${libdir}|' \
-e 's|-O2 $$CFLAGS|$$CFLAGS|' ${WRKSRC}/configure
post-install:
${INSTALL_DATA} ${WRKSRC}/mcabber.desktop \
${STAGEDIR}${PREFIX}/share/applications
post-install-EXAMPLES-on:
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/mcabberrc.example \
${STAGEDIR}${EXAMPLESDIR}/mcabberrc
@(cd ${WRKSRC} && ${COPYTREE_SHARE} contrib \
${STAGEDIR}${EXAMPLESDIR})
.include <bsd.port.mk>