2008-10-16 12:26:44 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.28 2008/10/16 16:26:44 martynas Exp $
|
2003-10-08 18:16:49 -04:00
|
|
|
|
2007-09-15 18:36:51 -04:00
|
|
|
COMMENT= IRC proxy to connect to AIM, ICQ, Jabber, MSN and Yahoo
|
2003-04-16 14:51:08 -04:00
|
|
|
|
2008-10-16 12:26:44 -04:00
|
|
|
DISTNAME= bitlbee-1.2.3
|
2003-04-16 14:51:08 -04:00
|
|
|
CATEGORIES= net
|
|
|
|
|
2003-10-08 18:16:49 -04:00
|
|
|
HOMEPAGE= http://bitlbee.org
|
2003-04-16 14:51:08 -04:00
|
|
|
|
2004-02-01 02:09:47 -05:00
|
|
|
MAINTAINER= Andrew Dalgleish <openbsd@ajd.net.au>
|
2003-04-16 14:51:08 -04:00
|
|
|
|
2003-10-16 11:00:17 -04:00
|
|
|
# GPL
|
2003-04-16 14:51:08 -04:00
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
2008-07-10 21:13:05 -04:00
|
|
|
WANTLIB= c iconv intl
|
2003-10-08 18:16:49 -04:00
|
|
|
|
|
|
|
MASTER_SITES= http://get.bitlbee.org/src/
|
2003-04-16 14:51:08 -04:00
|
|
|
|
|
|
|
DB_DIR?= /var/bitlbee
|
2003-12-31 11:03:30 -05:00
|
|
|
ETCDIR= ${SYSCONFDIR}/bitlbee
|
|
|
|
EXAMPLEDIR= ${PREFIX}/share/examples/bitlbee
|
2006-04-11 11:11:32 -04:00
|
|
|
DOCS= ${WRKSRC}/doc/user-guide/user-guide.html
|
2003-04-16 14:51:08 -04:00
|
|
|
DOCDIR= ${PREFIX}/share/doc/bitlbee/
|
2003-10-11 10:48:02 -04:00
|
|
|
|
2008-04-09 18:13:11 -04:00
|
|
|
LIB_DEPENDS= glib-2.0::devel/glib2 \
|
|
|
|
gmodule-2.0::devel/glib2 \
|
|
|
|
gnutls.>=13::security/gnutls
|
2004-06-20 12:27:49 -04:00
|
|
|
|
2003-04-16 14:51:08 -04:00
|
|
|
CONFIGURE_STYLE= simple
|
|
|
|
CONFIGURE_ARGS+= --bindir=${PREFIX}/libexec \
|
|
|
|
--mandir=${PREFIX}/man \
|
2003-06-28 03:38:29 -04:00
|
|
|
--config=${DB_DIR} \
|
2003-12-31 11:03:30 -05:00
|
|
|
--etcdir=${ETCDIR} \
|
2008-04-09 18:13:11 -04:00
|
|
|
--ssl=gnutls
|
2003-04-16 14:51:08 -04:00
|
|
|
|
2003-11-18 16:19:22 -05:00
|
|
|
USE_GMAKE= Yes
|
2006-04-11 11:11:32 -04:00
|
|
|
MAKE_ENV= "CC=${CC}" "CFLAGS=${CFLAGS}"
|
2008-01-04 12:48:33 -05:00
|
|
|
FAKE_FLAGS= ETCDIR=${EXAMPLEDIR}
|
2003-12-31 11:03:30 -05:00
|
|
|
FAKE_TARGET= install install-etc
|
2006-04-11 11:11:32 -04:00
|
|
|
SUBST_VARS= DB_DIR
|
2003-04-16 14:51:08 -04:00
|
|
|
|
|
|
|
NO_REGRESS= Yes
|
|
|
|
|
|
|
|
post-install:
|
|
|
|
${INSTALL_DATA_DIR} ${DOCDIR}
|
|
|
|
${INSTALL_DATA} ${DOCS} ${DOCDIR}
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|