2006-04-28 10:12:11 +02:00
|
|
|
# New ports collection makefile for: gloox
|
|
|
|
# Date created: 24 April 2006
|
|
|
|
# Whom: trasz
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= gloox
|
2009-11-11 14:57:56 +01:00
|
|
|
PORTVERSION= 1.0
|
2006-04-28 10:12:11 +02:00
|
|
|
CATEGORIES= net-im
|
|
|
|
MASTER_SITES= http://camaya.net/download/
|
|
|
|
|
2007-07-12 00:06:16 +02:00
|
|
|
MAINTAINER= trasz@FreeBSD.org
|
2006-04-28 10:12:11 +02:00
|
|
|
COMMENT= Jabber/XMPP client library
|
|
|
|
|
2007-07-04 13:15:24 +02:00
|
|
|
LIB_DEPENDS= idn.16:${PORTSDIR}/dns/libidn \
|
2009-08-16 20:04:40 +02:00
|
|
|
gnutls.40:${PORTSDIR}/security/gnutls
|
2006-04-28 10:12:11 +02:00
|
|
|
|
2009-08-02 21:36:34 +02:00
|
|
|
USE_AUTOTOOLS= libtool:22
|
2006-04-28 10:12:11 +02:00
|
|
|
USE_BZIP2= yes
|
|
|
|
USE_GNOME= gnomehack
|
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
CONFIGURE_ENV= CPPFLAGS="${CXXFLAGS} -I${LOCALBASE}/include" \
|
|
|
|
LDFLAGS="-L${LOCALBASE}/lib"
|
2006-11-12 20:15:55 +01:00
|
|
|
USE_LDCONFIG= yes
|
2006-04-28 10:12:11 +02:00
|
|
|
|
2009-08-19 18:24:49 +02:00
|
|
|
post-patch:
|
|
|
|
@${REINPLACE_CMD} -e 's|libgnutls-config|pkg-config gnutls|' ${WRKSRC}/configure
|
2006-04-28 10:12:11 +02:00
|
|
|
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}
|
|
|
|
|
2007-04-24 13:54:00 +02:00
|
|
|
.include <bsd.port.mk>
|