freebsd-ports/net-im/gloox/Makefile
Dmitry Marakasov 6f6fbe4bdf - Add LDFLAGS to CONFIGURE_ENV and MAKE_ENV (as it was done with LDFLAGS)
- Fix all ports that add {CPP,LD}FLAGS to *_ENV to modify flags instead

PR:		157936
Submitted by:	myself
Exp-runs by:	pav
Approved by:	pav
2011-09-23 22:26:39 +00:00

36 lines
873 B
Makefile

# New ports collection makefile for: gloox
# Date created: 24 April 2006
# Whom: trasz
#
# $FreeBSD$
#
PORTNAME= gloox
PORTVERSION= 1.0
PORTREVISION= 2
CATEGORIES= net-im
MASTER_SITES= http://camaya.net/download/
MAINTAINER= ports@FreeBSD.org
COMMENT= Jabber/XMPP client library
LIB_DEPENDS= idn.17:${PORTSDIR}/dns/libidn \
gnutls.47:${PORTSDIR}/security/gnutls
USE_AUTOTOOLS= libtool
USE_BZIP2= yes
USE_GNOME= gnomehack
GNU_CONFIGURE= yes
CPPFLAGS+= ${CXXFLAGS} -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
USE_LDCONFIG= yes
post-patch:
@${REINPLACE_CMD} -e 's|libgnutls-config|pkg-config gnutls|' ${WRKSRC}/configure
post-install:
@${FIND} ${PREFIX}/include/gloox ! -type d | \
${SED} "s,${PREFIX}/,," >> ${TMPPLIST}
@${FIND} ${PREFIX}/include/gloox -type d | ${SORT} -r | \
${SED} "s,${PREFIX}/,@dirrm ," >> ${TMPPLIST}
.include <bsd.port.mk>