2003-08-30 06:11:49 +00:00
|
|
|
# New ports collection makefile for: bitlbee
|
|
|
|
# Date created: 10 June 2003
|
|
|
|
# Whom: Peter van Dijk <peter@dataloss.nl>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= bitlbee
|
2003-12-12 14:48:05 +00:00
|
|
|
PORTVERSION= 0.82
|
2004-02-04 05:21:48 +00:00
|
|
|
PORTREVISION= 1
|
2003-08-30 06:11:49 +00:00
|
|
|
CATEGORIES= irc
|
2003-12-12 14:48:05 +00:00
|
|
|
MASTER_SITES= http://get.bitlbee.org/src/
|
2003-08-30 06:11:49 +00:00
|
|
|
|
|
|
|
MAINTAINER= peter@dataloss.nl
|
|
|
|
COMMENT= An IRC to other chat networks gateway
|
|
|
|
|
|
|
|
MAN8= bitlbee.8
|
|
|
|
|
2003-12-12 14:48:05 +00:00
|
|
|
GNU_CONFIGURE= yes
|
2003-08-30 06:11:49 +00:00
|
|
|
CONFIGURE_ARGS= --prefix=${PREFIX} --mandir=${PREFIX}/man --config=${PREFIX}/etc/bitlbee
|
|
|
|
USE_GMAKE= yes
|
2003-12-12 14:48:05 +00:00
|
|
|
USE_GNOME= glib20
|
2003-12-14 15:15:23 +00:00
|
|
|
PKGMESSAGE= ${WRKDIR}/pkg-message
|
2003-12-12 14:48:05 +00:00
|
|
|
|
|
|
|
.if defined(WITH_MSN)
|
|
|
|
LIB_DEPENDS= soup-2.0.0:${PORTSDIR}/devel/libsoup
|
|
|
|
pre-configure:
|
|
|
|
@${ECHO_CMD} "MSN support will be enabled."
|
|
|
|
.else
|
|
|
|
pre-configure:
|
|
|
|
@${ECHO_CMD} "Type \"make -DWITH_MSN\" if you want enable MSN support."
|
|
|
|
.endif
|
2003-08-30 06:11:49 +00:00
|
|
|
|
2003-12-14 15:15:23 +00:00
|
|
|
post-build:
|
|
|
|
@${CAT} pkg-message | ${SED} -e 's|%%PREFIX%%|${PREFIX}|' > ${PKGMESSAGE}
|
|
|
|
|
2003-08-30 06:11:49 +00:00
|
|
|
pre-install:
|
|
|
|
@mkdir -p -m 700 ${PREFIX}/etc/bitlbee
|
|
|
|
|
2003-12-12 14:48:05 +00:00
|
|
|
post-install:
|
|
|
|
@cp ${WRKSRC}/bitlbee.conf ${PREFIX}/etc/bitlbee/bitlbee.conf.orig
|
|
|
|
@cp ${WRKSRC}/motd.txt ${PREFIX}/etc/bitlbee/motd.txt.orig
|
|
|
|
@${CAT} ${PKGMESSAGE}
|
|
|
|
|
2003-08-30 06:11:49 +00:00
|
|
|
.include <bsd.port.mk>
|