freebsd-ports/net-im/jabber-conference/Makefile
Gabor Kovesdan 42542fb076 - Remove the DESTDIR modifications from individual ports as we have a new,
fully chrooted DESTDIR, which does not need such any more.

Sponsored by:	Google Summer of Code 2007
Approved by:	portmgr (pav)
2007-08-04 11:41:30 +00:00

55 lines
1.2 KiB
Makefile

# New ports collection makefile for: jabber-conference
# Date created: 15 Apr 2002
# Whom: Sean Chittenden <seanc@FreeBSD.org>
#
# $FreeBSD$
PORTNAME= conference
PORTVERSION= 0.4.1
PORTREVISION= 2
CATEGORIES= net-im
MASTER_SITES= http://freebsd.unixfreunde.de/sources/
PKGNAMEPREFIX= jabber-
DIST_SUBDIR= jabber
MAINTAINER= mm@FreeBSD.org
COMMENT= Jabber Conferencing module
LIB_DEPENDS= jabberd.1:${PORTSDIR}/net-im/jabber
BROKEN= old jabber API (net-im/jabber switched to c++)
DEPRECATED= Development stalled
EXPIRATION_DATE= 2007-10-20
USE_GMAKE= yes
CFLAGS+= -I${LOCALBASE}/include -I${LOCALBASE}/include/jabber \
-I${LOCALBASE}/include/pth
MAKE_ARGS+= MCFLAGS="-shared" \
LDFLAGS="-L${LOCALBASE}/lib/pth -L${LOCALBASE}/lib/jabber"
SUB_FILES+= pkg-message README.jabberd14
DOCSDIR= ${PREFIX}/share/examples/${PKGNAMEPREFIX}${PORTNAME}
.if !defined(NOPORTDOCS)
PKGMESSAGE= ${WRKDIR}/pkg-message
.endif
.include <bsd.port.pre.mk>
.if ${ARCH} == "amd64" || ${ARCH} == "ia64"
CFLAGS+= -fPIC
.endif
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/conference.so ${PREFIX}/lib/jabber/
post-install:
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
@${INSTALL_DATA} ${WRKDIR}/README.jabberd14 ${DOCSDIR}
@${CAT} ${PKGMESSAGE}
.endif
.include <bsd.port.post.mk>