aboutsummaryrefslogtreecommitdiffstats
path: root/japanese/jd/Makefile
blob: f0e80e60722df0cefd5d9d14e62cdfbcfab24da3 (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
# New ports collection makefile for:    jd
# Date created:                 10 May 2009
# Whom:                         Takashi Kato <townwear@gmail.com>
#
# $FreeBSD$
#

PORTNAME=       jd
PORTVERSION=        2.8.5
CATEGORIES=     japanese www
MASTER_SITES=       SFJP
MASTER_SITE_SUBDIR= jd4linux/56721
DISTNAME=   ${PORTNAME}-${PORTVERSION}-120826
EXTRACT_SUFX=   .tgz

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

LICENSE=    GPLv2
LICENSE_FILE=   ${WRKSRC}/COPYING

LIB_DEPENDS=    gnutls:${PORTSDIR}/security/gnutls \
        gcrypt:${PORTSDIR}/security/libgcrypt \
        gtkmm:${PORTSDIR}/x11-toolkits/gtkmm24

MAKE_JOBS_SAFE= yes
USE_GMAKE=  yes
USE_AUTOTOOLS=  autoconf automake libtool
USE_GNOME=  gtk20 libgnomeui
GNU_CONFIGURE=  yes

CONFIGURE_ARGS+=    --with-sessionlib=gnomeui

OPTIONS=    ONIGURUMA "Build with oniguruma regular expressions lib" off \
        PANGOLAYOUT "Use PANGOLayout instead of PangoGlyphString" off

.include <bsd.port.pre.mk>

.if defined(WITH_ONIGURUMA)
CONFIGURE_ARGS+=    --with-oniguruma
LIB_DEPENDS+=       onig:${PORTSDIR}/devel/oniguruma5
.endif

.if defined(WITH_PANGOLAYOUT)
CONFIGURE_ARGS+=    --with-pangolayout
.endif

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

.include <bsd.port.post.mk>