aboutsummaryrefslogtreecommitdiffstats
path: root/net/jud/Makefile
blob: 945e1980102bf4118a10c709a2ffa04197295879 (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
# New ports collection makefile for:    jud
# Date created:             04 December 2000
# Whom:                     Yen-Ming Lee <leeym@cae.ce.ntu.edu.tw>
#
# $FreeBSD$
#

PORTNAME=   jud
PORTVERSION=    0.4
CATEGORIES= net
MASTER_SITES=   http://download.jabber.org/dists/1.4/final/

MAINTAINER= leeym@cae.ce.ntu.edu.tw

BUILD_DEPENDS=  ${NONEXISTENT}:${JABBER_PORT}:configure
RUN_DEPENDS=    jabberd:${JABBER_PORT}

.include <bsd.port.pre.mk>

JABBER_PORT=    ${PORTSDIR}/net/jabber
JABBER_WRKSRC!= cd ${JABBER_PORT} && ${MAKE} -V WRKSRC
MAKE_ENV=   JABBER_WRKSRC=${JABBER_WRKSRC}

do-install:
    @${MKDIR} ${PREFIX}/lib/jabber/${PORTNAME}
    @${INSTALL_PROGRAM} ${WRKSRC}/jud.so ${PREFIX}/lib/jabber/${PORTNAME}
    @${ECHO} ""
    @${ECHO} "============================================================================="
    @${ECHO} "Please read ${WRKSRC}/README first"
    @${ECHO} "and add \"./${PORTNAME}/jud.so\" into ${PREFIX}/etc/jabber.xml"
    @${ECHO} "then restart jabberd to enable ${PORTNAME}"
    @${ECHO} "============================================================================="
    @${ECHO} ""

.include <bsd.port.post.mk>