2006-04-11 11:11:32 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.18 2006/04/11 15:11:32 naddy Exp $
|
2003-10-08 18:16:49 -04:00
|
|
|
|
2004-06-20 12:27:49 -04:00
|
|
|
COMMENT= "IRC proxy to connect to AIM, ICQ, Jabber, MSN and Yahoo"
|
2003-04-16 14:51:08 -04:00
|
|
|
|
2006-04-11 11:11:32 -04:00
|
|
|
DISTNAME= bitlbee-1.0.2
|
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
|
2006-04-11 11:11:32 -04:00
|
|
|
WANTLIB= c iconv intl crypto ssl
|
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
|
|
|
|
2004-07-01 12:11:59 -04:00
|
|
|
BUILD_DEPENDS= :pkgconfig-*:devel/pkgconfig
|
2004-06-20 12:27:49 -04:00
|
|
|
LIB_DEPENDS= glib-2.0.0.0::devel/glib2
|
|
|
|
|
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} \
|
2006-04-11 11:11:32 -04:00
|
|
|
--ssl=openssl
|
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}"
|
2003-12-31 11:03:30 -05:00
|
|
|
FAKE_FLAGS= ${DESTDIRNAME}=${WRKINST} ETCDIR=${EXAMPLEDIR}
|
|
|
|
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>
|