2004-08-19 12:12:20 +02:00
|
|
|
# New ports collection makefile for: jit
|
|
|
|
# Date created: 20 July 2004
|
|
|
|
# Whom: Alexander Timoshenko <gonzo@univ.kiev.ua>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= jit
|
2005-02-18 10:35:01 +01:00
|
|
|
PORTVERSION= 1.1.7
|
2005-11-09 08:48:19 +01:00
|
|
|
CATEGORIES= net-im
|
2005-02-21 11:21:31 +01:00
|
|
|
MASTER_SITES= http://www.penza-gsm.ru/snake/xmpp/
|
2004-08-19 12:12:20 +02:00
|
|
|
DIST_SUBDIR= jabber
|
|
|
|
|
2005-02-18 10:35:01 +01:00
|
|
|
MAINTAINER= alexander.timoshenko@gmail.com
|
2004-08-19 12:12:20 +02:00
|
|
|
COMMENT= Jabber ICQ Transport
|
|
|
|
|
|
|
|
USE_GMAKE= yes
|
2005-02-18 10:35:01 +01:00
|
|
|
USE_REINPLACE= yes
|
2004-08-19 12:12:20 +02:00
|
|
|
HAS_CONFIGURE= yes
|
2005-04-25 19:52:27 +02:00
|
|
|
MAKE_ENV= PTHREAD_CFLAGS="${PTHREAD_CFLAGS}" \
|
|
|
|
PTHREAD_LIBS="${PTHREAD_LIBS}"
|
2004-08-19 12:12:20 +02:00
|
|
|
|
2004-11-18 23:17:47 +01:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
|
|
|
.if ${ARCH} == "ia64" || ${ARCH} == "amd64"
|
|
|
|
BROKEN= "Does not build on amd64 or ia64"
|
|
|
|
.endif
|
|
|
|
|
2004-08-19 12:12:20 +02:00
|
|
|
post-patch:
|
|
|
|
@${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|g' \
|
|
|
|
${WRKSRC}/jit/jabber-icq.example ${WRKSRC}/jit/jit.sh
|
|
|
|
|
|
|
|
do-install:
|
|
|
|
@${MKDIR} ${PREFIX}/lib/jabber/jit
|
|
|
|
@${INSTALL_DATA} ${WRKSRC}/jit/jit.so ${PREFIX}/lib/jabber/jit
|
|
|
|
@${INSTALL_DATA} ${WRKSRC}/xdb_file/xdb_file.so ${PREFIX}/lib/jabber/jit
|
2005-02-18 10:35:01 +01:00
|
|
|
@${INSTALL_PROGRAM} ${WRKSRC}/jabberd/jabberd-jit ${PREFIX}/sbin/jit
|
2004-08-19 12:12:20 +02:00
|
|
|
@${INSTALL_DATA} ${WRKSRC}/jit/jabber-icq.example ${PREFIX}/etc
|
|
|
|
@${INSTALL_SCRIPT} ${WRKSRC}/jit/jit.sh ${PREFIX}/etc/rc.d
|
|
|
|
|
|
|
|
post-install:
|
|
|
|
@PKG_PREFIX=${PREFIX} ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL
|
|
|
|
|
2004-11-18 23:17:47 +01:00
|
|
|
.include <bsd.port.post.mk>
|