mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-04 01:48:54 +00:00
f935a609c5
supports them. This is determined by running ``configure --help'' in do-configure target and set the shell variable _LATE_CONFIGURE_ARGS which is then passed to CONFIGURE_ARGS. - Remove --mandir and --infodir in ports' Makefile where applicable Few ports use REINPLACE_CMD to achieve the same effect, remove them too. - Correct some manual pages location from PREFIX/man to MANPREFIX/man - Define INFO_PATH where necessary - Document that .info files are installed in a subdirectory relative to PREFIX/INFO_PATH and slightly change add-plist-info to use INFO_PATH and subdirectory detection. PR: ports/111470 Approved by: portmgr Discussed with: stas (Mk/*), gerald (info related stuffs) Tested by: pointyhat exp run
84 lines
1.8 KiB
Makefile
84 lines
1.8 KiB
Makefile
# New ports collection makefile for: bitlbee
|
|
# Date created: 10 June 2003
|
|
# Whom: Peter van Dijk <peter@dataloss.nl>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= bitlbee
|
|
PORTVERSION= 1.0.3
|
|
PORTREVISION= 4
|
|
CATEGORIES= irc
|
|
MASTER_SITES= http://get.bitlbee.org/src/
|
|
|
|
PATCH_SITES= http://get.bitlbee.org/patches/
|
|
|
|
MAINTAINER= lasg@lasg.dk
|
|
COMMENT= An IRC to other chat networks gateway
|
|
|
|
SUB_FILES= pkg-message
|
|
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 \
|
|
LDAP "Enable LDAP authentication support" Off \
|
|
RECODE "Enable oscar_recode_charset" Off \
|
|
DEBUG "Create debuggable binary" Off \
|
|
OPENSSL "Use openssl rather than gnutls" Off \
|
|
IPV6 "Compile IPV6 support" On
|
|
|
|
CONFIGURE_ARGS= --config=${PREFIX}/etc/bitlbee
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.if defined(WITH_LDAP)
|
|
PATCHFILES+= ${PORTNAME}-1.0-ldap.diff
|
|
.endif
|
|
|
|
.if !defined(WITHOUT_MSN)
|
|
CONFIGURE_ARGS+=--msn=1
|
|
.else
|
|
CONFIGURE_ARGS+=--msn=0 --ssl=bogus
|
|
.endif
|
|
|
|
.if defined(WITH_OPENSSL)
|
|
CONFIGURE_ARGS+=--ssl=openssl
|
|
.else
|
|
LIB_DEPENDS+= gnutls.13:${PORTSDIR}/security/gnutls
|
|
.endif
|
|
|
|
.if defined(WITH_LDAP)
|
|
USE_OPENLDAP= yes
|
|
CONFIGURE_ARGS+=--ldap=${LOCALBASE}
|
|
.endif
|
|
|
|
.if defined(WITH_RECODE)
|
|
post-patch::
|
|
@cd ${WRKDIR} && \
|
|
${PATCH} ${PATCH_ARGS} < ${FILESDIR}/oscar-recode-patch
|
|
.endif
|
|
|
|
.if defined(WITH_DEBUG)
|
|
CONFIGURE_ARGS+=--debug=1
|
|
.endif
|
|
|
|
.if defined(WITHOUT_IPV6)
|
|
CONFIGURE_ARGS+=--ipv6=0
|
|
.endif
|
|
|
|
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>
|