openbsd-ports/net/bitlbee/Makefile
merdely 632b1dc391 Update to 1.2.
V1.2 adds nice "account set #" feature to manage accounts.
Remove a lot of string handling patches.
Remove patches to rename bitlbee "root" user to "bitlbee".

tested by Andrew Dalgleish (MAINTAINER), James Turner and Wiktor Izdebski
ok martynas@, simon@, okan@, wcmaier@
2008-04-09 22:13:11 +00:00

51 lines
1.1 KiB
Makefile

# $OpenBSD: Makefile,v 1.26 2008/04/09 22:13:11 merdely Exp $
COMMENT= IRC proxy to connect to AIM, ICQ, Jabber, MSN and Yahoo
DISTNAME= bitlbee-1.2
CATEGORIES= net
HOMEPAGE= http://bitlbee.org
MAINTAINER= Andrew Dalgleish <openbsd@ajd.net.au>
# GPL
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
WANTLIB= c iconv intl gcrypt gpg-error
MASTER_SITES= http://get.bitlbee.org/src/
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::devel/glib2 \
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
post-install:
${INSTALL_DATA_DIR} ${DOCDIR}
${INSTALL_DATA} ${DOCS} ${DOCDIR}
.include <bsd.port.mk>