freebsd-ports/misc/xiphos/Makefile

51 lines
1.4 KiB
Makefile
Raw Normal View History

2009-02-02 14:54:59 +01:00
# New ports collection makefile for: xiphos
2009-02-11 22:25:28 +01:00
# Date created: February 2, 2009
2009-02-02 14:54:59 +01:00
# Whom: Thomas Abthorpe <tabthorpe@FreeBSD.org>
#
# $FreeBSD$
#
2009-02-02 14:54:59 +01:00
PORTNAME= xiphos
2009-08-11 14:45:31 +02:00
PORTVERSION= 3.1.1
PORTREVISION= 1
CATEGORIES= misc gnome
MASTER_SITES= SF/gnomesword/Xiphos/${PORTVERSION}
MAINTAINER= tabthorpe@FreeBSD.org
COMMENT= A bible interface utilizing the sword framework
RUN_DEPENDS= ${LOCALBASE}/lib/gnome-spell/libgnome-spell-component-0.3.so:${PORTSDIR}/textproc/gnome-spell \
2009-08-11 14:45:31 +02:00
${LOCALBASE}/lib/libsword-1.6.0.so:${PORTSDIR}/misc/sword
BUILD_DEPENDS= ${RUN_DEPENDS}
2009-02-11 22:25:28 +01:00
LIB_DEPENDS= MagickWand.2:${PORTSDIR}/graphics/ImageMagick
USE_GETTEXT= yes
INSTALLS_OMF= yes
USE_GNOME= gnomehack gnomeprefix gnometarget gal2 gtkhtml3 gnomelibs intlhack gnomedocutils
USE_GMAKE= yes
GNU_CONFIGURE= yes
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
2009-02-20 14:36:51 +01:00
CONFIGURE_ARGS+= --disable-maintainer-mode --enable-paratab
OPTIONS= LIBXUL "Build with libxul (default)" off \
2009-02-20 14:36:51 +01:00
GTKHTML "Build with gtkhtml" off
.include <bsd.port.pre.mk>
.if defined(WITH_LIBXUL) && defined(WITH_GTKHTML)
IGNORE= choose only one of LIBXUL or GTKHTML
2009-02-20 14:36:51 +01:00
.endif
.if defined(WITH_GTKHTML) || defined(WITHOUT_LIBXUL)
2009-02-20 14:36:51 +01:00
CONFIGURE_ARGS+= --enable-gtkhtml --disable-gecko
.endif
.if !defined(WITHOUT_LIBXUL) || !defined(WITH_GTKHTML)
USE_GECKO= libxul
2009-02-20 14:36:51 +01:00
CONFIGURE_ARGS+= --with-gecko=${GECKO} --disable-gtkhtml
GTKHTML_CFLAGS+="-DXPCOM_GLUE"
2009-02-20 14:36:51 +01:00
.endif
.include <bsd.port.post.mk>