openbsd-ports/net/bitlbee/Makefile
sthen aad20716cf Update to 1.2.7, fixing MSN chat following changes to Passport
logins.  Similar diff from Abel Abraham Camarillo Ojeda.

While there, sync WANTLIB (glib2 pthread) and stop hiding compiler
command lines. No response from MAINTAINER for a previous update
(1.2.6+patch) - I didn't wait very long but committing now to
get the MSN fix in.
2010-05-16 08:31:28 +00:00

58 lines
1.3 KiB
Makefile

# $OpenBSD: Makefile,v 1.31 2010/05/16 08:31:28 sthen Exp $
COMMENT= IRC proxy to connect to AIM, ICQ, Jabber, MSN and Yahoo
DISTNAME= bitlbee-1.2.7
CATEGORIES= net
HOMEPAGE= http://bitlbee.org/
MAINTAINER= Andrew Dalgleish <openbsd@ajd.net.au>
# GPLv2
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
WANTLIB= c pthread
MASTER_SITES= http://get.bitlbee.org/src/
MODULES= devel/gettext
DB_DIR?= /var/bitlbee
ETCDIR= ${SYSCONFDIR}/bitlbee
EXAMPLEDIR= ${PREFIX}/share/examples/bitlbee
DOCS= ${WRKSRC}/doc/user-guide/user-guide.html
DOCDIR= ${PREFIX}/share/doc/bitlbee/
LIB_DEPENDS= glib-2.0,gmodule-2.0::devel/glib2 \
gnutls.>=13::security/gnutls
CONFIGURE_STYLE= simple
CONFIGURE_ARGS+= --bindir=${PREFIX}/libexec \
--mandir=${PREFIX}/man \
--config=${DB_DIR} \
--etcdir=${ETCDIR} \
--ssl=gnutls
USE_GMAKE= Yes
MAKE_ENV= "CC=${CC}" "CFLAGS=${CFLAGS}"
FAKE_FLAGS= ETCDIR=${EXAMPLEDIR}
FAKE_TARGET= install install-etc
SUBST_VARS= DB_DIR
NO_REGRESS= Yes
# don't hide compile command lines
pre-configure:
find ${WRKSRC} -name Makefile | \
xargs perl -pi -e 's,@\$$\(CC\),\$$(CC),g'
post-install:
${INSTALL_DATA_DIR} ${DOCDIR}
${INSTALL_DATA} ${DOCS} ${DOCDIR}
.include <bsd.port.mk>