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

PORTNAME=   latex
PORTVERSION=    1.0
PORTREVISION=   6
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 \
        convert:${PORTSDIR}/graphics/ImageMagick

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

CFLAGS+=    "-fPIC"
USES=       gmake pkgconfig
USE_TEX=    latex
USE_GNOME=  gtk20
USE_BZIP2=  yes

PLIST_FILES=    lib/pidgin/LaTeX.so

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

.include <bsd.port.mk>