mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-22 00:35:15 +00:00
b95d127471
- Update to 1.6.1 - Remove some unneeded patches - Fix pkg-plist - report configure bug upstream https://bugs.g10code.com/gnupg/issue1668 - report API breakage downstream and find that MacPorts had the same issue https://rt.cpan.org/Ticket/Display.html?id=97201 - bump PORTREVISION for dependent ports (approx. 100 ports) - Thanks to exp-run by antoine@ to find ports that break - patch ports that would otherwise break security/shishi with PR 192164 is already committed [1] devel/ccrtp [2] editors/abiword [3] security/p5-Crypt-GCrypt PR: 191256, 192162 [1], 192163 [2], 192166 [3] Submitted by: Carlos Jacobo Puga Medina <cjpugmed@gmail.com> Approved by: maintainer timeout, antoine (exp-run), portmgr (implicit)
57 lines
1.7 KiB
Makefile
57 lines
1.7 KiB
Makefile
# Created by: vsevolod
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= mcabber
|
|
PORTVERSION= 0.10.2
|
|
PORTREVISION= 4
|
|
CATEGORIES= net-im
|
|
MASTER_SITES= http://www.lilotux.net/~mikael/mcabber/files/ CENKES
|
|
|
|
MAINTAINER= dhn@FreeBSD.org
|
|
COMMENT= Small Jabber console client
|
|
|
|
LIB_DEPENDS= libloudmouth-1.so:${PORTSDIR}/net-im/loudmouth
|
|
|
|
LICENSE= GPLv2
|
|
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_ARGS= --enable-sigwinch --libdir=${PREFIX}/lib
|
|
CPPFLAGS+= -I${LOCALBASE}/include
|
|
LDFLAGS+= -L${LOCALBASE}/lib
|
|
USES= pkgconfig gettext iconv ncurses tar:bzip2 libtool
|
|
USE_LDCONFIG= yes
|
|
USE_GNOME= glib20
|
|
|
|
OPTIONS_DEFINE= GPGME OTR
|
|
OPTIONS_RADIO= SPELL
|
|
OPTIONS_RADIO_SPELL= ASPELL ENCHANT
|
|
OPTIONS_SUB= yes
|
|
|
|
GPGME_DESC= Use security/gpgme for PGP support
|
|
OTR_DESC= Off-the-record messaging support
|
|
ENCHANT_DESC= Spell checking via enchant
|
|
|
|
GPGME_LIB_DEPENDS= libgpgme.so:${PORTSDIR}/security/gpgme
|
|
GPGME_CONFIGURE_ENABLE= gpgme
|
|
ASPELL_LIB_DEPENDS= libaspell.so:${PORTSDIR}/textproc/aspell
|
|
ASPELL_CONFIGURE_ENABLE=aspell
|
|
ENCHANT_LIB_DEPENDS= libenchant.so:${PORTSDIR}/textproc/enchant
|
|
ENCHANT_CONFIGURE_ENABLE=enchant
|
|
OTR_LIB_DEPENDS= libotr.so.2:${PORTSDIR}/security/libotr3 \
|
|
libgcrypt.so:${PORTSDIR}/security/libgcrypt
|
|
OTR_CONFIGURE_ENABLE= otr
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e 's|$$"$${datadir}"|"$${datadir}"|;s|-O2||'\
|
|
-e 's|$$"$${libdir}|"$${libdir}|g' ${WRKSRC}/configure
|
|
@${REINPLACE_CMD} -e 's|$$(libdir)/pkgconfig|${PREFIX}/libdata/pkgconfig|g' \
|
|
${WRKSRC}/Makefile.*
|
|
|
|
post-install:
|
|
@${INSTALL} -d ${STAGEDIR}${EXAMPLESDIR}/
|
|
@${INSTALL} ${WRKSRC}/${PORTNAME}.desktop ${STAGEDIR}${PREFIX}/share/applications/
|
|
@${CP} -R ${WRKSRC}/contrib ${STAGEDIR}${DATADIR}/
|
|
${INSTALL_DATA} ${WRKSRC}/mcabberrc.example ${STAGEDIR}${EXAMPLESDIR}/mcabberrc
|
|
|
|
.include <bsd.port.mk>
|