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

PORTNAME=   latex
PORTVERSION=    1.0
PORTREVISION=   10
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/ImageMagick6

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

USES=       gmake gnome 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>