aboutsummaryrefslogtreecommitdiff
path: root/irc/bitlbee-otr
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2006-01-23 15:34:44 +0000
committerPav Lucistnik <pav@FreeBSD.org>2006-01-23 15:34:44 +0000
commite586a6662ac18bb066b5ab3988481bb9ab794de6 (patch)
tree76baecce1e916309b45dd5895dfcc1d6667788bc /irc/bitlbee-otr
parent7c0d12165fdc8d74530844c70fa6d58053a117f9 (diff)
downloadports-e586a6662ac18bb066b5ab3988481bb9ab794de6.tar.gz
ports-e586a6662ac18bb066b5ab3988481bb9ab794de6.zip
Notes
Diffstat (limited to 'irc/bitlbee-otr')
-rw-r--r--irc/bitlbee-otr/Makefile59
-rw-r--r--irc/bitlbee-otr/distinfo12
-rw-r--r--irc/bitlbee-otr/pkg-plist2
3 files changed, 25 insertions, 48 deletions
diff --git a/irc/bitlbee-otr/Makefile b/irc/bitlbee-otr/Makefile
index 4362f511a4da..172b72ff4bd6 100644
--- a/irc/bitlbee-otr/Makefile
+++ b/irc/bitlbee-otr/Makefile
@@ -6,28 +6,15 @@
#
PORTNAME= bitlbee
-PORTVERSION= 1.0
-PORTREVISION= 1
+PORTVERSION= 1.0.1
CATEGORIES= irc
-MASTER_SITES= http://get.bitlbee.org/src/:bitlbee \
- http://get.bitlbee.org/patches/:patches
-DISTFILES= ${DISTNAME}${EXTRACT_SUFX}:bitlbee
-EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX}
+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
-.if defined(WITH_MSN) && defined(WITH_MSN6_FEATURES)
-# don't use DISTNAME as old patch applies fine to new release
-DISTFILES+= ${PORTNAME}-1.0-msn6.akke.patch:patches
-.endif
-
-.if defined(WITH_LDAP)
-PATCHFILES+= ${DISTNAME}-ldap.diff
-.endif
-
MAN5= bitlbee.conf.5
MAN8= bitlbee.8
@@ -37,9 +24,23 @@ 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
-.if defined(WITH_MSN)
+.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
@@ -51,30 +52,6 @@ USE_OPENLDAP= yes
CONFIGURE_ARGS+=--ldap=${LOCALBASE}
.endif
-pre-configure:
-.if !defined(WITH_MSN)
- @${ECHO_CMD} "Type \"make -DWITH_MSN\" if you want to enable MSN and Jabber/SSL support."
-.else
- @${ECHO_CMD} "MSN and Jabber/SSL support will be enabled."
-
-. if !defined(WITH_MSN6_FEATURES)
- @${ECHO_CMD} "Type \"make -DWITH_MSN6_FEATURES\" if you want to enable MSN 6 features, like buddy icons"
-. else
- @${ECHO_CMD} "MSN 6 features will be enabled."
-. endif
-.endif
-
-.if !defined(WITH_LDAP)
- @${ECHO_CMD} "Type \"make -DWITH_LDAP\" if you want to enable LDAP authentication."
-.else
- @${ECHO_CMD} "LDAP authentication will be enabled."
-.endif
-
-post-patch:
-.if defined(WITH_MSN) && defined(WITH_MSN6_FEATURES)
- @${PATCH} ${PATCH_ARGS} -p1 < ${DISTDIR}/${PORTNAME}-1.0-msn6.akke.patch
-.endif
-
post-build:
@${CAT} pkg-message | ${SED} -e 's|%%PREFIX%%|${PREFIX}|' > ${PKGMESSAGE}
@@ -86,4 +63,4 @@ post-install:
@${CP} ${WRKSRC}/motd.txt ${PREFIX}/etc/bitlbee/motd.txt.orig
@${CAT} ${PKGMESSAGE}
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
diff --git a/irc/bitlbee-otr/distinfo b/irc/bitlbee-otr/distinfo
index 787e15c5b675..b3f648a35e84 100644
--- a/irc/bitlbee-otr/distinfo
+++ b/irc/bitlbee-otr/distinfo
@@ -1,9 +1,9 @@
-MD5 (bitlbee-1.0.tar.gz) = f3ae3beda45e6f7d3fdd77e377f0876d
-SHA256 (bitlbee-1.0.tar.gz) = 90e845c46b953e62a3991b331ad7755131c6701f5fc265212a02392e35bff030
-SIZE (bitlbee-1.0.tar.gz) = 453937
+MD5 (bitlbee-1.0.1.tar.gz) = a4d7daa9b64898dd41a3a6d104692d9a
+SHA256 (bitlbee-1.0.1.tar.gz) = 5f8e82717195c0e51353b93a20826f2ea38fd2be28094cfef48bd489a040e58a
+SIZE (bitlbee-1.0.1.tar.gz) = 458676
+MD5 (bitlbee-1.0.1-msn6.akke.diff) = 7b36e8d50d7d7a7c11619d7729b61e76
+SHA256 (bitlbee-1.0.1-msn6.akke.diff) = 72c532c2c49b4cf1e99ce46a0c2f59c15cb2851aac8185acf78d0ecad5061a2c
+SIZE (bitlbee-1.0.1-msn6.akke.diff) = 83568
MD5 (bitlbee-1.0-ldap.diff) = f6641ed9b36ca2ceae292370200452fb
SHA256 (bitlbee-1.0-ldap.diff) = 2da18c740b1c1ff6851f3a52ab0100cec251d9e1683c281a306cbbc21e6847f5
SIZE (bitlbee-1.0-ldap.diff) = 7240
-MD5 (bitlbee-1.0-msn6.akke.patch) = 5964b15b9982ddaf923346e83737c6af
-SHA256 (bitlbee-1.0-msn6.akke.patch) = bbab3e5a0c0be255b55a60d44d19356f1dcae9556768dcc2ea82dd123edd19eb
-SIZE (bitlbee-1.0-msn6.akke.patch) = 85638
diff --git a/irc/bitlbee-otr/pkg-plist b/irc/bitlbee-otr/pkg-plist
index 91750513f2a4..5c971aa85e51 100644
--- a/irc/bitlbee-otr/pkg-plist
+++ b/irc/bitlbee-otr/pkg-plist
@@ -4,4 +4,4 @@ sbin/bitlbee
etc/bitlbee/bitlbee.conf.orig
etc/bitlbee/motd.txt.orig
@dirrm %%DATADIR%%
-@dirrm etc/bitlbee
+@dirrmtry etc/bitlbee