1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-23 09:10:43 +00:00
freebsd-ports/net-im/gloox/Makefile
Guido Falsi a54b9bae02 - Fix build on head/10
- Support staging
- Use new LIB_DEPENDS format
- Unsilence post-install commands
2014-01-17 12:27:30 +00:00

34 lines
849 B
Makefile

# Created by: trasz
# $FreeBSD$
PORTNAME= gloox
PORTVERSION= 1.0
PORTREVISION= 3
CATEGORIES= net-im
MASTER_SITES= http://camaya.net/download/
MAINTAINER= ports@FreeBSD.org
COMMENT= Jabber/XMPP client library
LIB_DEPENDS= libidn.so:${PORTSDIR}/dns/libidn \
libgnutls.so:${PORTSDIR}/security/gnutls
USE_AUTOTOOLS= libtool
USE_BZIP2= yes
USES= pathfix pkgconfig
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} ${STAGEDIR}${PREFIX}/include/gloox ! -type d | \
${SED} "s,${STAGEDIR}${PREFIX}/,," >> ${TMPPLIST}
${FIND} ${STAGEDIR}${PREFIX}/include/gloox -type d | ${SORT} -r | \
${SED} "s,${STAGEDIR}${PREFIX}/,@dirrm ," >> ${TMPPLIST}
.include <bsd.port.mk>