aboutsummaryrefslogtreecommitdiff
path: root/net-im/mbpurple/Makefile
blob: 482908567c16cfa49a05e3000f64283e629c4008 (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
# $FreeBSD$

PORTNAME=	mbpurple
PORTVERSION=	0.3.0
PORTREVISION=	5
CATEGORIES=	net-im
MASTER_SITES=	http://BSDforge.com/projects/source/net-im/mbpurple/

MAINTAINER=	portmaster@bsdforge.com
COMMENT=	Integrate Twitter with Pidgin (AKA microblog-purple)

BUILD_DEPENDS=	${LOCALBASE}/bin/pidgin:net-im/pidgin
RUN_DEPENDS=	${LOCALBASE}/bin/pidgin:net-im/pidgin

LICENSE=	GPLv3+
LICENSE_FILE=	${WRKSRC}/COPYING

USES=		dos2unix gmake pkgconfig
DOS2UNIX_GLOB=	*.c
MAKE_ARGS=	PREFIX="${PREFIX}" LIBDIR="${PREFIX}/lib" \
		PURPLE_DATAROOT_DIR="${PREFIX}/share"

post-patch:
	@${REINPLACE_CMD} 's/make -C/$$(MAKE) -C/' ${WRKSRC}/Makefile

post-install:
	${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/purple-2/*.so

.include <bsd.port.mk>