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

PORTNAME=   jd
PORTVERSION=    2.8.8
PORTREVISION=   1
CATEGORIES= japanese www
MASTER_SITES=   SFJP
MASTER_SITE_SUBDIR= jd4linux/61281
DISTNAME=   ${PORTNAME}-${PORTVERSION}-140601
EXTRACT_SUFX=   .tgz

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=       iconv libtool
USE_AUTOTOOLS=  autoconf automake libtoolize
USE_GNOME=  gtk20 gtkmm24 libgnomeui

CONFIGURE_ARGS= --with-sessionlib=gnomeui
LDFLAGS+=   -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

pre-configure:
    @cd ${WRKSRC} && ${AUTORECONF} -i

.include <bsd.port.mk>