aboutsummaryrefslogtreecommitdiffstats
path: root/irc/bitlbee/Makefile
blob: 172b72ff4bd65a5086e14d03d72d532ae3cee06c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
# New ports collection makefile for:    bitlbee
# Date created:                         10 June 2003
# Whom:                                 Peter van Dijk <peter@dataloss.nl>
#
# $FreeBSD$
#

PORTNAME=   bitlbee
PORTVERSION=    1.0.1
CATEGORIES= irc
MASTER_SITES=   http://get.bitlbee.org/src/

PATCH_SITES=    http://get.bitlbee.org/patches/

MAINTAINER= peter@dataloss.nl
COMMENT=    An IRC to other chat networks gateway

MAN5=       bitlbee.conf.5
MAN8=       bitlbee.8

GNU_CONFIGURE=  yes
USE_GMAKE=  yes
USE_GNOME=  glib20
USE_GETOPT_LONG=yes
PKGMESSAGE= ${WRKDIR}/pkg-message

OPTIONS=    MSN "Enable MSN protocol support" On \
        MSN6_FEATURES "Enable MSN6 features (icons, etc)" Off \
        LDAP "Enable LDAP authentication support" Off

CONFIGURE_ARGS= --mandir=${PREFIX}/man --config=${PREFIX}/etc/bitlbee

.include <bsd.port.pre.mk>

.if defined(WITH_MSN6_FEATURES)
PATCHFILES+=    ${DISTNAME}-msn6.akke.diff
.endif

.if defined(WITH_LDAP)
PATCHFILES+=    ${PORTNAME}-1.0-ldap.diff
.endif

.if !defined(WITHOUT_MSN) || defined(WITH_MSN6_FEATURES)
LIB_DEPENDS+=   gnutls.15:${PORTSDIR}/security/gnutls
CONFIGURE_ARGS+=--msn=1
.else
CONFIGURE_ARGS+=--msn=0 --ssl=bogus
.endif

.if defined(WITH_LDAP)
USE_OPENLDAP=   yes
CONFIGURE_ARGS+=--ldap=${LOCALBASE}
.endif

post-build:
    @${CAT} pkg-message | ${SED} -e 's|%%PREFIX%%|${PREFIX}|' > ${PKGMESSAGE}

pre-install:
    @${MKDIR} -m 700 ${PREFIX}/etc/bitlbee

post-install:
    @${CP} ${WRKSRC}/bitlbee.conf ${PREFIX}/etc/bitlbee/bitlbee.conf.orig
    @${CP} ${WRKSRC}/motd.txt ${PREFIX}/etc/bitlbee/motd.txt.orig
    @${CAT} ${PKGMESSAGE}

.include <bsd.port.post.mk>
11443f79fcf7e8a1df2'>- take MAINTAINERSHIPdinoex2006-10-311-1/+1 * -Fix the dependency. (chase the X11BASE -> LOCALBASE move)mezz2006-10-201-3/+3 * Chase the GNOME X11BASE to LOCALBASE move, and fix the build with themarcus2006-10-143-7/+6 * This little application displays the time of the day (analog)dinoex2006-10-085-0/+45 * - Update to 6.0.b6.0 (6.0 Beta 6.0)rafan2006-10-049-74/+155 * Change my MAINTAINER email to be my @FreeBSD emailxride2006-09-302-2/+2 * KDE 3.5.4 / KOffice 1.5.2lofi2006-09-132-6/+6 * Debian patch is updated to 8.itetcu2006-09-092-5/+5 * Reset inactive maintainer who has not responded to email.linimon2006-09-051-1/+1 * - Update maintainer addressesmiwi2006-08-201-1/+1 * - s,INSTALLS_SHLIB,USE_LDCONFIG,gclsung2006-08-151-1/+1 * Transfer maintainership to beech@alaskaparadise.comadamw2006-08-091-1/+1 * Fix -y option to display the correct yeararved2006-08-073-0/+33 * - Update to 0.3.1miwi2006-08-053-20/+13 * - Update to 0.4.5rafan2006-07-205-18/+10 * Fix Internet time calculation.shaun2006-07-192-1/+34 * - Assign maintainership to submittershaun2006-07-172-74/+74 * Update WWW and assign maintainership to submitter.erwin2006-07-172-1/+3 * - Update to 1.0dpav2006-06-102-4/+4 * - Update to 0.2pav2006-06-063-4/+6 * Update to KDE 3.5.3lofi2006-06-062-6/+6 * Add an additional mirror.ehaupt2006-06-011-1/+3 * - Update maintainer's email addresspav2006-05-301-1/+1 * - Replace MASTER_SITESpav2006-05-271-1/+3 * Remove USE_REINPLACE from categories starting with Xedwin2006-05-1311-11/+0 * tktz will help you to guess the current time in another country. Itvs2006-05-135-0/+44 * Update to 1.3, which adds a man page.naddy2006-04-243-10/+14 * Reset pat due to no response to email about his status.linimon2006-04-153-3/+3 * - Update to 2.23pav2006-04-052-4/+4 * Update to KDE 3.5.2lofi2006-03-314-10/+8 * Bump PORTREVISION on glib12/gtk12 consumer ports to ease the upgrade path.ade2006-03-077-4/+7 * Conversion to a single libtool environment.ade2006-02-238-6/+27 * Remove expired port x11-clocks/gdesklets-praytimegarga2006-02-157-104/+0 * Update to KDE 3.5.1.lofi2006-02-014-594/+6 * Don't remove system symlinkskris2006-01-261-2/+0 * SHA256ifyedwin2006-01-2421-0/+21 * Revert last commit. It is not possible (yet) to have the dirrmtry usagelinimon2006-01-231-1/+2 * Replace ugly "@unexec rmdir %D... 2>/dev/null || true" with @dirrmtryedwin2006-01-221-2/+1 * Replace ugly "@unexec rmdir %D... 2>/dev/null || true" with @dirrmtryedwin2006-01-222-6/+6 * - Update graphics/libglut to 6.4.1.sem2006-01-121-2/+2 * Update to KDE 3.5.0lofi2006-01-096-64/+72 * [UPDATE]: x11-clocks/xdaliclockedwin2006-01-071-1/+1 * Update to 2.22edwin2006-01-062-4/+4 * - Update to 2.1.2.7 and take maintainershippav2005-12-1810-73/+131 * - Unbreakehaupt2005-12-114-37/+16 * Add SHA256 hashes to my portsehaupt2005-11-301-0/+1 * None of the XCONTRIB sites have recent versions of this distfile.linimon2005-11-271-2/+1 * Original mastersite disappeared; use a backup.linimon2005-11-272-3/+1 * Remove dead mastersites.linimon2005-11-27