summaryrefslogtreecommitdiff
path: root/net-im/mbpurple/Makefile
blob: e259c586066896fc0dbdadb376a0096d66557ce6 (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
PORTNAME=	mbpurple
PORTVERSION=	0.3.0
PORTREVISION=	5
CATEGORIES=	net-im
MASTER_SITES=	https://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>