aboutsummaryrefslogtreecommitdiff
path: root/net-im/pidgin-latex/Makefile
blob: c15e302f1dfd2c1f55ca670e1812dae0fed23815 (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
# Created by: Geoffrey Mainland <mainland@apeiron.net>
# $FreeBSD$

PORTNAME=	latex
PORTVERSION=	1.0
PORTREVISION=	9
CATEGORIES=	net-im
MASTER_SITES=	SF/pidgin-${PORTNAME}/pidgin-${PORTNAME}/${PORTVERSION}
PKGNAMEPREFIX=	pidgin-
DISTNAME=	${PKGNAMEPREFIX}${PORTNAME}-${PORTVERSION}

MAINTAINER=	mainland@apeiron.net
COMMENT=	Display LaTeX output in your IMs

BUILD_DEPENDS=	${LOCALBASE}/include/pidgin/pidgin.h:net-im/pidgin
RUN_DEPENDS=	pidgin:net-im/pidgin \
		convert:graphics/ImageMagick

WRKSRC=		${WRKDIR}/${PKGNAMEPREFIX}${PORTNAME}

USES=		gmake pkgconfig tar:bzip2
USE_TEX=	latex
USE_GNOME=	gtk20
MAKE_ARGS=	CC="${CC}"

PLIST_FILES=	lib/pidgin/LaTeX.so

do-install:
	${MKDIR} ${STAGEDIR}${PREFIX}/lib/pidgin
	${INSTALL_LIB} ${WRKSRC}/LaTeX.so ${STAGEDIR}${PREFIX}/lib/pidgin

.include <bsd.port.mk>