aboutsummaryrefslogtreecommitdiffstats
path: root/japanese/jd/Makefile
blob: f643362d9517a9675aa09623759646f31e015693 (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
# Created by: Takashi Kato <townwear@gmail.com>
# $FreeBSD$

PORTNAME=   jd
PORTVERSION=    2.8.9
DISTVERSIONSUFFIX=  -150226
CATEGORIES= japanese www
MASTER_SITES=   SFJP/jd4linux/62877

MAINTAINER= townwear@gmail.com
COMMENT=    2ch browser

LICENSE=    GPLv2
LICENSE_FILE=   ${WRKSRC}/COPYING

LIB_DEPENDS=    libgnutls.so:${PORTSDIR}/security/gnutls \
        libgcrypt.so:${PORTSDIR}/security/libgcrypt

USES=       autoreconf iconv:translit libtool tar:tgz
USE_GNOME=  gtk20 gtkmm24 libgnomeui

GNU_CONFIGURE=  yes
CONFIGURE_ARGS= --with-sessionlib=gnomeui
LIBS+=      -L${LOCALBASE}/lib ${ICONV_LIB}

OPTIONS_DEFINE= ONIGURUMA PANGOLAYOUT
ONIGURUMA_DESC= Use oniguruma regular expressions library
PANGOLAYOUT_DESC=   Use PANGOLayout instead of PangoGlyphString

ONIGURUMA_CONFIGURE_WITH=   oniguruma
ONIGURUMA_LIB_DEPENDS=      libonig.so:${PORTSDIR}/devel/oniguruma5

PANGOLAYOUT_CONFIGURE_WITH= pangolayout

PLIST_FILES=    bin/jd \
        share/applications/jd.desktop \
        share/pixmaps/jd.png

.include <bsd.port.mk>