2001-02-12 19:44:39 +00:00
|
|
|
# New ports collection makefile for: jabber
|
|
|
|
# Date created: 5 February 2001
|
|
|
|
# Whom: joe
|
2000-05-01 03:25:19 +00:00
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
2001-02-12 19:44:39 +00:00
|
|
|
PORTNAME= jabber
|
2001-06-16 14:03:04 +00:00
|
|
|
PORTVERSION= 1.4.1
|
2001-09-11 14:51:14 +00:00
|
|
|
PORTREVISION= 1
|
2000-05-01 03:25:19 +00:00
|
|
|
CATEGORIES= net
|
2001-02-12 19:44:39 +00:00
|
|
|
MASTER_SITES= http://download.jabber.org/dists/1.4/final/
|
2001-06-16 14:03:04 +00:00
|
|
|
DISTFILES+= jabber-1.4.1.tar.gz \
|
|
|
|
aim-transport-0.9.0.tar.gz \
|
|
|
|
conference-0.4.1.tar.gz \
|
|
|
|
icq-transport-0.9.tar.gz \
|
|
|
|
irc-transport-0.1b-1.40.linux.tar.gz \
|
|
|
|
jud-0.4.tar.gz \
|
|
|
|
msn-transport-1.1.tar.gz \
|
|
|
|
yahoo-transport-0.8-1.4.linux.tar.gz
|
2000-05-01 03:25:19 +00:00
|
|
|
|
2001-02-12 19:44:39 +00:00
|
|
|
MAINTAINER= joe@FreeBSD.org
|
2000-05-01 03:25:19 +00:00
|
|
|
|
2001-06-18 12:31:55 +00:00
|
|
|
LIB_DEPENDS= pth:${PORTSDIR}/devel/pth
|
2000-05-01 03:25:19 +00:00
|
|
|
|
2001-02-12 19:44:39 +00:00
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
USE_GMAKE= yes
|
2000-05-01 03:25:19 +00:00
|
|
|
|
2000-05-16 14:18:46 +00:00
|
|
|
rc=${PREFIX}/etc/rc.d
|
|
|
|
|
2001-06-16 14:03:04 +00:00
|
|
|
JABDIR= ${PORTNAME}-${PORTVERSION}
|
|
|
|
post-extract:
|
|
|
|
@mv ${WRKDIR}/aim-transport-0.9.0 ${WRKDIR}/${JABDIR}/aim-transport
|
|
|
|
@mv ${WRKDIR}/conference-0.4.1 ${WRKDIR}/${JABDIR}/conference
|
|
|
|
@mv ${WRKDIR}/icq-transport-0.9 ${WRKDIR}/${JABDIR}/icq-transport
|
|
|
|
@mv ${WRKDIR}/irc-transport-0.1b-1.40 ${WRKDIR}/${JABDIR}/irc-transport
|
|
|
|
@mv ${WRKDIR}/jud-0.4 ${WRKDIR}/${JABDIR}/jud
|
|
|
|
@mv ${WRKDIR}/msn-transport-1.1 ${WRKDIR}/${JABDIR}/msn-transport
|
|
|
|
@mv ${WRKDIR}/yahoo-transport-0.8-1.4 ${WRKDIR}/${JABDIR}/yahoo-transport
|
|
|
|
|
|
|
|
post-configure:
|
2001-09-11 14:51:14 +00:00
|
|
|
${SETENV} CC="${CC}" CFLAGS="${CFLAGS}" \
|
|
|
|
CPPFLAGS=`pth-config --cflags` \
|
|
|
|
LDFLAGS=`pth-config --ldflags` \
|
|
|
|
LIBS=`pth-config --libs` ${SHELL} -c \
|
|
|
|
"cd ${WRKDIR}/${JABDIR}/aim-transport; ./configure; \
|
|
|
|
cd ${WRKDIR}/${JABDIR}/irc-transport; \
|
|
|
|
./configure --includedir=${WRKDIR}/${JABDIR}/jabberd; \
|
|
|
|
cd ${WRKDIR}/${JABDIR}/yahoo-transport; \
|
|
|
|
./configure --includedir=${WRKDIR}/${JABDIR}/jabberd"
|
2001-06-16 14:03:04 +00:00
|
|
|
|
2000-05-16 14:18:46 +00:00
|
|
|
post-install:
|
2000-10-08 10:23:48 +00:00
|
|
|
@PREFIX=${PREFIX} ${PERL5} ${PKGINSTALL} ${PKGNAME} POST-INSTALL
|
2001-02-12 19:44:39 +00:00
|
|
|
@${INSTALL_SCRIPT} ${FILESDIR}/jabberd.sh ${rc}
|
2000-05-16 14:18:46 +00:00
|
|
|
|
2000-05-01 03:25:19 +00:00
|
|
|
.include <bsd.port.mk>
|