aboutsummaryrefslogtreecommitdiffstats
path: root/net-im/pidgin-latex/Makefile
blob: f01ff954655d4f8a913659f09630800a365cd9d5 (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:    Gaim-LaTeX
# Date created:             2005-06-22
# Whom:                 Geoffrey Mainland <mainland@apeiron.net>
#
# $FreeBSD$
#

PORTNAME=   latex
PORTVERSION=    0.3
PORTREVISION=   4
CATEGORIES= net-im
MASTER_SITES=   ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PKGNAMEPREFIX}${PORTNAME}
PKGNAMEPREFIX=  gaim-
DISTNAME=   ${PKGNAMEPREFIX}${PORTNAME}-${PORTVERSION}

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

BUILD_DEPENDS=  ${X11BASE}/include/gaim/config.h:${PORTSDIR}/net-im/gaim
RUN_DEPENDS=    gaim:${PORTSDIR}/net-im/gaim \
        latex:${PORTSDIR}/print/teTeX \
        convert:${PORTSDIR}/graphics/ImageMagick

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

PLIST_FILES=    lib/gaim/LaTeX.so

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

.include <bsd.port.mk>