aboutsummaryrefslogtreecommitdiffstats
path: root/deskutils/logjam/Makefile
blob: 9d7d9549a65a051e65ef636c236fa79c70aa12d0 (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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
# Created by: alanp@unixpower.org
# $FreeBSD$

PORTNAME=   logjam
PORTVERSION=    4.6.2
PORTREVISION=   5
CATEGORIES= deskutils
MASTER_SITES=   http://andy-shev.github.com/LogJam/download/

MAINTAINER= novel@FreeBSD.org
COMMENT=    GTK2 interface to livejournals, ie www.livejournal.com

LIB_DEPENDS=    libcurl.so:ftp/curl \
        libdbus-glib-1.so:devel/dbus-glib

OPTIONS_DEFINE= GTKSPELL SQLITE XMMS GTKHTML RSVG
OPTIONS_DEFAULT=    GTKSPELL
OPTIONS_SUB=    yes

GTKSPELL_DESC=  Support spell checking
GTKHTML_DESC=   Support rendering HTML
RSVG_DESC=  Support rendering SVG
SQLITE_DESC=    Use sqlite3 as a backend
XMMS_DESC=  Enable XMMS music detection

USES=       gettext gmake pathfix pkgconfig tar:bzip2
GNU_CONFIGURE=  yes
USE_GNOME=  gnomeprefix gtk20 libxml2 intlhack
CONFIGURE_ARGS= --program-transform-name="s/$$//"
CPPFLAGS+=  -I${LOCALBASE}/include
LIBS+=      -L${LOCALBASE}/lib

GTKSPELL_LIB_DEPENDS=   libgtkspell.so:textproc/gtkspell
GTKSPELL_CONFIGURE_WITH=    gtkspell

SQLITE_CONFIGURE_WITH=  sqlite3
SQLITE_LIB_DEPENDS= libsqlite3.so:databases/sqlite3

XMMS_LIB_DEPENDS=   libxmms.so:multimedia/xmms
XMMS_CONFIGURE_WITH=    xmms

GTKHTML_USE=    GNOME=gtkhtml3
GTKHTML_CONFIGURE_WITH= gtkhtml

RSVG_USE=   GNOME=librsvg2
RSVG_CONFIGURE_WITH=    librsvg

post-patch:
    @${REINPLACE_CMD} -e 's|libgtkhtml-3.0|libgtkhtml-3.18|g' ${WRKSRC}/configure

.include <bsd.port.mk>