aboutsummaryrefslogtreecommitdiffstats
path: root/net-im/jabber/Makefile
blob: 2dbec7608b82bc49a4589a8ffc1ef8c738d8d47e (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
# New ports collection makefile for:    jabber
# Date created:         5 February 2001
# Whom:             joe
#
# $FreeBSD$
#

PORTNAME=   jabber
PORTVERSION=    1.4.2
CATEGORIES= net
MASTER_SITES=   http://jabberd.jabberstudio.org/downloads/ \
        http://download.jabber.org/dists/1.4/final/
DISTNAME=   ${PORTNAME}-${PORTVERSION}
DIST_SUBDIR=    jabber

MAINTAINER= sean@chittenden.org

GNU_CONFIGURE=  yes
USE_GMAKE=  yes
USE_OPENSSL=    yes

CONFIGURE_ARGS+=    --enable-ssl

rc=${PREFIX}/etc/rc.d

#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-install:
    @PREFIX=${PREFIX} ${PERL5} ${PKGINSTALL} ${PKGNAME} POST-INSTALL
    ${INSTALL_SCRIPT} ${FILESDIR}/jabberd.sh ${rc}

.include <bsd.port.mk>