aboutsummaryrefslogtreecommitdiff
path: root/net-im/pidgin-latex/Makefile
blob: 20700138343492aec59f6600056515f7d8c631c0 (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
# New ports collection makefile for:	Pidgin-LaTeX
# Date created:				2005-06-22
# Whom:					Geoffrey Mainland <mainland@apeiron.net>
#
# $FreeBSD$
#

PORTNAME=	latex
PORTVERSION=	1.0
PORTREVISION=	4
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:${PORTSDIR}/net-im/pidgin
RUN_DEPENDS=	pidgin:${PORTSDIR}/net-im/pidgin \
		latex:${PORTSDIR}/print/teTeX \
		convert:${PORTSDIR}/graphics/ImageMagick

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

CFLAGS+=	"-fPIC"
USE_GMAKE=	yes
USE_GNOME=	gtk20
USE_BZIP2=	yes

PLIST_FILES=	lib/pidgin/LaTeX.so

do-install:
	${INSTALL_DATA} ${WRKSRC}/LaTeX.so ${PREFIX}/lib/pidgin

.include <bsd.port.mk>