# New ports collection makefile for: mcabber # Date created: 2005-10-05 # Whom: vsevolod # # $FreeBSD$ # PORTNAME= mcabber PORTVERSION= 0.9.1 CATEGORIES= net-im MASTER_SITES= http://www.lilotux.net/~mikael/mcabber/files/ CSME MAINTAINER= infofarmer@FreeBSD.org COMMENT= Small Jabber console client LIB_DEPENDS= ncursesw.5:${PORTSDIR}/devel/ncurses \ gpgme.17:${PORTSDIR}/security/gpgme USE_BZIP2= yes GNU_CONFIGURE= yes CONFIGURE_ARGS= --mandir=${MANPREFIX}/man --with-ssl CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}" USE_OPENSSL= yes USE_ICONV= yes USE_GETTEXT= yes USE_GNOME= glib20 USE_GETOPT_LONG=yes CPPFLAGS= -I${LOCALBASE}/include LDFLAGS= -L${LOCALBASE}/lib MAN1= mcabber.1 .include .if ${OSVERSION} < 503000 BROKEN= Unicoded ncurses require 5.3 .endif post-patch: @${REINPLACE_CMD} -e 's#$$"$${datadir}"#"$${datadir}"#' ${WRKSRC}/configure post-install: @${INSTALL} -d ${EXAMPLESDIR}/ @${CP} -R ${WRKSRC}/contrib ${DATADIR}/ ${INSTALL_DATA} ${WRKSRC}/mcabberrc.example ${EXAMPLESDIR}/mcabberrc .include