aboutsummaryrefslogtreecommitdiffstats
path: root/net-im/jabber-aim/Makefile
blob: bd4a81611573490e30790c92da5a35451f0dd6e0 (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
# New ports collection makefile for:    jabber-aim
# Date created:         14 Apr 2002
# Whom:             Sean Chittenden <seanc@FreeBSD.org>
#
# $FreeBSD$

PORTNAME=   aim
PORTVERSION=    20040131.b
CATEGORIES= net-im
MASTER_SITES=   http://aim-transport.jabberstudio.org/
PKGNAMEPREFIX=  jabber-
PKGNAMESUFFIX=  -transport
DISTNAME=   ${PORTNAME}${PKGNAMESUFFIX}-stable-${PORTVERSION:R}${PORTVERSION:E}
DIST_SUBDIR=    jabber

MAINTAINER= seanc@FreeBSD.org
COMMENT=    Jabber AIM Transport module

BUILD_DEPENDS=  ${LOCALBASE}/sbin/jabberd:${PORTSDIR}/net-im/jabber

WRKSRC=     ${WRKDIR}/${PORTNAME}${PKGNAMESUFFIX}-stable-${PORTVERSION:R}
PLIST_FILES=    lib/jabber/aimtrans.so
USE_GMAKE=  yes
USE_AUTOTOOLS=  autoconf:259
USE_ICONV=  yes

CONFIGURE_ARGS+=--with-jabberd=${LOCALBASE}/include/jabber
CONFIGURE_ENV=  LDFLAGS="-liconv" LIBS="-L${LOCALBASE}/lib" \
        CPPFLAGS="-I${LOCALBASE}/include/pth -I${LOCALBASE}/include"

do-install:
    @${MKDIR} ${PREFIX}/lib/jabber
    ${INSTALL_DATA} ${WRKSRC}/src/aimtrans.so ${PREFIX}/lib/jabber

post-install:
    @${CAT} pkg-message

.include <bsd.port.mk>