summaryrefslogtreecommitdiffstats
path: root/net-im/jabber-aim/Makefile
blob: 849ce2c625682e23366f480b8656a9ea49a3c990 (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
# 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/ \
		http://freebsd.unixfreunde.de/sources/
PKGNAMEPREFIX=	jabber-
PKGNAMESUFFIX=	-transport
DISTNAME=	${PORTNAME}${PKGNAMESUFFIX}-stable-${PORTVERSION:R}${PORTVERSION:E}
DIST_SUBDIR=	jabber

MAINTAINER=	ports@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} ${PKGMESSAGE}

.include <bsd.port.mk>
OpenPOWER on IntegriCloud