1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-18 08:02:48 +00:00
freebsd-ports/net-im/jit/Makefile
Pav Lucistnik e631983a89 - Use rc_subr startup script
- Unbreak on amd64/ia64

PR:		ports/92060, ports/92064
Submitted by:	Denis Shaposhnikov <dsh@vlink.ru>,
		Lapo Luchini <lapo@lapo.it>
Approved by:	maintainer timeout (2 months)
2006-03-26 20:24:00 +00:00

40 lines
1.1 KiB
Makefile

# New ports collection makefile for: jit
# Date created: 20 July 2004
# Whom: Alexander Timoshenko <gonzo@univ.kiev.ua>
#
# $FreeBSD$
#
PORTNAME= jit
PORTVERSION= 1.1.7
PORTREVISION= 1
CATEGORIES= net-im
MASTER_SITES= http://www.penza-gsm.ru/snake/xmpp/
DIST_SUBDIR= jabber
MAINTAINER= alexander.timoshenko@gmail.com
COMMENT= Jabber ICQ Transport
USE_GMAKE= yes
USE_RC_SUBR= jabber_jit.sh
HAS_CONFIGURE= yes
CFLAGS+= -fPIC
MAKE_ENV= PTHREAD_CFLAGS="${PTHREAD_CFLAGS}" \
PTHREAD_LIBS="${PTHREAD_LIBS}"
post-patch:
@${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|g' \
${WRKSRC}/jit/jabber-icq.example
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
@${INSTALL_PROGRAM} ${WRKSRC}/jabberd/jabberd-jit ${PREFIX}/sbin/jit
@${INSTALL_DATA} ${WRKSRC}/jit/jabber-icq.example ${PREFIX}/etc
post-install:
@PKG_PREFIX=${PREFIX} ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL
.include <bsd.port.mk>