freebsd-ports/net-im/jabber-users-agent/Makefile
Pav Lucistnik dc33aa59f5 Move instant messaging related ports to newly created net-im category:
net/gaim -> net-im/gaim
  net/gaim-latex -> net-im/gaim-latex
  net/gaim-openq -> net-im/gaim-openq
  net/gaim-rss-reader -> net-im/gaim-rss-reader
  net/gicq -> net-im/gicq
  net/gnomeicu2 -> net-im/gnomeicu2
  net/gossip -> net-im/gossip
  net/ickle -> net-im/ickle
  net/jabber -> net-im/jabber
  net/jabber-aim -> net-im/jabber-aim
  net/jabber-conference -> net-im/jabber-conference
  net/jabber-jud -> net-im/jabber-jud
  net/jabber-msn -> net-im/jabber-msn
  net/jabber-users-agent -> net-im/jabber-users-agent
  net/jabber-yahoo -> net-im/jabber-yahoo
  net/jarl -> net-im/jarl
  net/kf -> net-im/kf
  net/libicq -> net-im/libicq
  net/libicq2000 -> net-im/libicq2000
  net/loudmouth -> net-im/loudmouth
  net/meanwhile -> net-im/meanwhile
  net/meanwhile-gaim -> net-im/meanwhile-gaim
  net/newsbot -> net-im/newsbot
  net/ocaml-jabbr -> net-im/ocaml-jabbr
  net/psi -> net-im/psi
  net/py-jabber -> net-im/py-jabber
  net/py-twistedWords -> net-im/py-twistedWords
  net/p5-Net-Jabber -> net-im/p5-Net-Jabber

Repocopied by:	marcus
2005-11-09 08:21:21 +00:00

51 lines
1.4 KiB
Makefile

# New ports collection makefile for: jabber-users-agent
# Date created: 2005-06-07
# Whom: Renato Botelho <freebsd@galle.com.br>
#
# $FreeBSD$
#
PORTNAME= users-agent
PORTVERSION= 1.2
CATEGORIES= net-im
MASTER_SITES= http://files.jabberstudio.org/users-agent/
PKGNAMEPREFIX= jabber-
DISTNAME= Users-Agent-${PORTVERSION}
MAINTAINER= garga@FreeBSD.org
COMMENT= A Perl based Jabber User Directory
NO_BUILD= yes
STRIP=
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
INST_DIR= ${PREFIX}/lib/jabber/${PORTNAME}
PORTDOCS= README INSTALL
USE_PERL5= yes
USE_RC_SUBR= jabber-users-agent.sh
SUB_LIST+= PERL=${PERL}
BUILD_DEPENDS+= ${SITE_PERL}/Net/Jabber.pm:${PORTSDIR}/net-im/p5-Net-Jabber \
${SITE_PERL}/${PERL_ARCH}/DBD/mysql.pm:${PORTSDIR}/databases/p5-DBD-mysql
.include <bsd.port.pre.mk>
post-patch:
@${PERL} -pi -e 's|config.xml|${PREFIX}/etc/jabber-users-agent.xml|g' \
${WRKSRC}/users-agent
@${PERL} -pi -e 's|%%PERL%%|${PERL}|g' ${WRKSRC}/users-agent
do-install:
${MKDIR} ${INST_DIR}
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${WRKSRC}/createDB ${INST_DIR}
.if !exists(${PREFIX}/etc/jabber-users-agent.xml)
${INSTALL_DATA} ${WRKSRC}/config.xml ${PREFIX}/etc/jabber-users-agent.xml
.endif
${INSTALL_DATA} ${WRKSRC}/config.xml ${PREFIX}/etc/jabber-users-agent.xml.sample
.if !defined(NOPORTDOCS)
${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S!^!${WRKSRC}/!} ${DOCSDIR}
.endif
.include <bsd.port.post.mk>