freebsd-ports/net/jabber-xdb_ldap/Makefile
Pav Lucistnik 843ecf33ac - Fix plist
PR:		ports/76416
Submitted by:	Florent Thoumie <flz@xbsd.org>
2005-01-19 14:51:06 +00:00

37 lines
1,003 B
Makefile

# New ports collection makefile for: jabber-xdb_ldap
# Date created: 03 January 2004
# Whom: Martijn Lina <martijn@pacno.net>
#
# $FreeBSD$
PORTNAME= xdb_ldap
PORTVERSION= 1.0
PORTREVISION= 2
CATEGORIES= net
MASTER_SITES= http://www.jabberstudio.org/files/xdb_ldap/
PKGNAMEPREFIX= jabber-
DIST_SUBDIR= jabber
MAINTAINER= martijn@pacno.net
COMMENT= Jabber xdb backend for an LDAP directory
BUILD_DEPENDS= ${NON_EXISTENT}:${PORTSDIR}/net/jabber:configure
USE_GMAKE= yes
USE_OPENLDAP= yes
WRKSRC= ${WRKDIR}/${PORTNAME}/src
.include <bsd.port.pre.mk>
JABBER_SRC!= cd ${PORTSDIR}/net/jabber && make -V WRKSRC
MAKE_ENV= JABBER_SRC=${JABBER_SRC}
do-install:
${MKDIR} ${PREFIX}/lib/jabber
${INSTALL_DATA} ${WRKSRC}/xdb_ldap.so ${PREFIX}/lib/jabber/
${INSTALL_DATA} ${WRKSRC}/../jabber-xdb.xml ${PREFIX}/etc/jabber-xdb.xml.sample
${MKDIR} ${PREFIX}/etc/openldap/schema
${INSTALL_DATA} ${WRKSRC}/../jabber.schema ${PREFIX}/etc/openldap/schema/jabber.schema.default
.include <bsd.port.post.mk>