44d71ae09f
PR: 156250 Submitted by: maintainer
54 lines
1.2 KiB
Makefile
54 lines
1.2 KiB
Makefile
# New ports collection makefile for: jd
|
|
# Date created: 10 May 2009
|
|
# Whom: Takashi Kato <townwear@gmail.com>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= jd
|
|
PORTVERSION= 2.8.1
|
|
CATEGORIES= japanese www
|
|
MASTER_SITES= SFJP
|
|
MASTER_SITE_SUBDIR= jd4linux/51244
|
|
DISTNAME= ${PORTNAME}-${PORTVERSION}-110312
|
|
EXTRACT_SUFX= .tgz
|
|
|
|
MAINTAINER= townwear@gmail.com
|
|
COMMENT= A 2ch browser
|
|
|
|
LIB_DEPENDS= gnutls:${PORTSDIR}/security/gnutls \
|
|
gtkmm:${PORTSDIR}/x11-toolkits/gtkmm24
|
|
|
|
LICENSE= GPLv2
|
|
LICENSE_FILE= ${WRKSRC}/COPYING
|
|
|
|
MAKE_JOBS_SAFE= yes
|
|
USE_GMAKE= yes
|
|
USE_AUTOTOOLS= autoconf automake libtool
|
|
USE_GNOME= gtk20
|
|
GNU_CONFIGURE= yes
|
|
|
|
OPTIONS= ONIGURUMA "Build with oniguruma regular expressions lib" off \
|
|
GNOMEUI "Enable LibGnomeUI support" 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_GNOMEUI)
|
|
CONFIGURE_ARGS+= --with-sessionlib=gnomeui
|
|
USE_GNOME+= libgnomeui
|
|
.endif
|
|
|
|
.if defined(WITH_PANGOLAYOUT)
|
|
CONFIGURE_ARGS+= --with-pangolayout
|
|
.endif
|
|
|
|
pre-configure:
|
|
@cd ${WRKSRC} && ${AUTORECONF} -i
|
|
|
|
.include <bsd.port.post.mk>
|