freebsd-ports/net/msn-transport/Makefile
Will Andrews 2b0873f979 Add msn-transport 1.1, MSN-Transport for Jabber server.
PR:		25090
Submitted by:	Yen-Ming Lee <leeym@cae.ce.ntu.edu.tw>
2001-03-31 03:34:45 +00:00

39 lines
1.2 KiB
Makefile

# New ports collection makefile for: msn-transport
# Date created: 14 February 2000
# Whom: Yen-Ming Lee <leeym@cae.ce.ntu.edu.tw>
#
# $FreeBSD$
#
PORTNAME= msn-transport
PORTVERSION= 1.1
CATEGORIES= net
MASTER_SITES= http://download.jabber.org/dists/1.4/final/
MAINTAINER= leeym@cae.ce.ntu.edu.tw
BUILD_DEPENDS= ${NONEXISTENT}:${JABBER_PORT}:configure
RUN_DEPENDS= jabberd:${JABBER_PORT}
.include <bsd.port.pre.mk>
JABBER_PORT= ${PORTSDIR}/net/jabber
JABBER_WRKSRC!= cd ${JABBER_PORT} && ${MAKE} -V WRKSRC
MAKE_ENV= JABBER_WRKSRC=${JABBER_WRKSRC}
pre-build:
${PERL} -pi.org -e "s@-g@${CFLAGS}@g; s@-O2@${CFLAGS}@g; s@gcc@${CC}@g" ${WRKSRC}/Makefile
do-install:
@${MKDIR} ${PREFIX}/lib/jabber/${PORTNAME}
@${INSTALL_PROGRAM} ${BUILD_WRKSRC}/msntrans.so ${PREFIX}/lib/jabber/${PORTNAME}
@${ECHO} ""
@${ECHO} "============================================================================="
@${ECHO} "Please read ${WRKSRC}/README first"
@${ECHO} "and add \"./${PORTNAME}/msntrans.so\" into ${PREFIX}/etc/jabber.xml"
@${ECHO} "then restart jabberd to enable ${PORTNAME}"
@${ECHO} "============================================================================="
@${ECHO} ""
.include <bsd.port.post.mk>