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

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

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

LICENSE=	GPLv2
LICENSE_FILE=	${WRKSRC}/COPYING

BROKEN=		fails to build

LIB_DEPENDS=	libgnutls.so:security/gnutls \
		libgcrypt.so: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:devel/oniguruma5

PANGOLAYOUT_CONFIGURE_WITH=	pangolayout

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

.include <bsd.port.mk>
OpenPOWER on IntegriCloud