blob: 86e3880ab96a8c704d58947031597f1c11b8a1fd (
plain)
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
|
# New ports collection makefile for: jabber
# Date created: 5 February 2001
# Whom: joe
#
# $FreeBSD$
#
PORTNAME= jabber
PORTVERSION= 1.4.3.1
PORTREVISION= 1
CATEGORIES= net
MASTER_SITES= http://devel.amessage.info/jabberd14/
DISTNAME= ${PORTNAME}d-${PORTVERSION}
DIST_SUBDIR= jabber
MAINTAINER= garga@FreeBSD.org
COMMENT= Online presence and instant messaging server
LIB_DEPENDS= pth.20:${PORTSDIR}/devel/pth \
expat.5:${PORTSDIR}/textproc/expat2
USE_RC_SUBR= jabberd.sh
USE_BZIP2= yes
GNU_CONFIGURE= yes
USE_GMAKE= yes
USE_OPENSSL= yes
USE_REINPLACE= yes
CONFIGURE_ARGS+= --enable-ssl
.if defined(WITH_IPV6)
CONFIGURE_ARGS+= --enable-ipv6
.endif
#JABDIR= ${PORTNAME}-${PORTVERSION}
# Save this data for use later: jabber doesn't have an install target
# or a sane set of defaults.
post-patch:
${ECHO} "${WRKSRC}" > ${WRKSRC}/.wrksrc-freebsd
${ECHO} "${PREFIX}" > ${WRKSRC}/.prefix-freebsd
${ECHO} "${INSTALL_DATA}" > ${WRKSRC}/.install_data-freebsd
${ECHO} "${INSTALL_SCRIPT}" > ${WRKSRC}/.install_script-freebsd
${ECHO} "${INSTALL_PROGRAM}" > ${WRKSRC}/.install_program-freebsd
post-configure:
${REINPLACE_CMD} -e "s#-I\. -I\.\. #-I\. -I\.\. -I${LOCALBASE}/include #" -e "s#-L/usr/lib#-L/usr/lib -L${LOCALBASE}/lib#" ${WRKSRC}/platform-settings
post-install:
PKG_PREFIX=${PREFIX} ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL
${INSTALL_SCRIPT} ${WRKDIR}/jabberd.sh ${PREFIX}/etc/rc.d/
.include <bsd.port.mk>
|