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>
|
2007-04-30 00:57:04 +02:00
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
2009-02-02 14:54:59 +01:00
|
|
|
PORTNAME= xiphos
|
2009-08-11 14:45:31 +02:00
|
|
|
PORTVERSION= 3.1.1
|
2009-09-28 20:01:54 +02:00
|
|
|
PORTREVISION= 1
|
2007-04-30 00:57:04 +02:00
|
|
|
CATEGORIES= misc gnome
|
2009-08-27 17:04:16 +02:00
|
|
|
MASTER_SITES= SF/gnomesword/Xiphos/${PORTVERSION}
|
2007-04-30 00:57:04 +02:00
|
|
|
|
2007-08-23 06:00:04 +02:00
|
|
|
MAINTAINER= tabthorpe@FreeBSD.org
|
2007-04-30 00:57:04 +02:00
|
|
|
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
|
2007-04-30 00:57:04 +02:00
|
|
|
BUILD_DEPENDS= ${RUN_DEPENDS}
|
2009-02-11 22:25:28 +01:00
|
|
|
LIB_DEPENDS= MagickWand.2:${PORTSDIR}/graphics/ImageMagick
|
2007-04-30 00:57:04 +02:00
|
|
|
|
|
|
|
USE_GETTEXT= yes
|
|
|
|
INSTALLS_OMF= yes
|
2008-05-29 14:51:44 +02:00
|
|
|
USE_GNOME= gnomehack gnomeprefix gnometarget gal2 gtkhtml3 gnomelibs intlhack gnomedocutils
|
2007-04-30 00:57:04 +02:00
|
|
|
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
|
2007-04-30 00:57:04 +02:00
|
|
|
|
2009-09-28 20:01:54 +02:00
|
|
|
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>
|
|
|
|
|
2009-09-28 20:01:54 +02:00
|
|
|
.if defined(WITH_LIBXUL) && defined(WITH_GTKHTML)
|
|
|
|
IGNORE= choose only one of LIBXUL or GTKHTML
|
2009-02-20 14:36:51 +01:00
|
|
|
.endif
|
|
|
|
|
2009-09-28 20:01:54 +02:00
|
|
|
.if defined(WITH_GTKHTML) || defined(WITHOUT_LIBXUL)
|
2009-02-20 14:36:51 +01:00
|
|
|
CONFIGURE_ARGS+= --enable-gtkhtml --disable-gecko
|
|
|
|
.endif
|
|
|
|
|
2009-09-28 20:01:54 +02:00
|
|
|
.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
|
2009-09-28 20:01:54 +02:00
|
|
|
GTKHTML_CFLAGS+="-DXPCOM_GLUE"
|
2009-02-20 14:36:51 +01:00
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.port.post.mk>
|