1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-18 03:46:03 +00:00
freebsd-ports/misc/xiphos/Makefile

58 lines
1.4 KiB
Makefile
Raw Normal View History

# $FreeBSD$
2009-02-02 13:54:59 +00:00
PORTNAME= xiphos
2012-02-22 18:36:32 +00:00
PORTVERSION= 3.1.5
PORTREVISION= 4
CATEGORIES= misc gnome
MASTER_SITES= SF/gnomesword/Xiphos/${PORTVERSION}
MAINTAINER= tabthorpe@FreeBSD.org
COMMENT= A bible interface utilizing the sword framework
2010-10-21 17:36:18 +00:00
LICENSE= GPLv2
RUN_DEPENDS= ${LOCALBASE}/lib/libsword-1.6.2.so:${PORTSDIR}/misc/sword \
yelp:${PORTSDIR}/x11/yelp
BUILD_DEPENDS:= ${RUN_DEPENDS} \
2010-10-21 17:36:18 +00:00
docbook2html:${PORTSDIR}/textproc/docbook-utils \
gnome-doc-tool:${PORTSDIR}/textproc/gnome-doc-utils \
2010-03-24 16:27:47 +00:00
nspr>=4.8:${PORTSDIR}/devel/nspr
2010-10-21 17:36:18 +00:00
USE_PYTHON_BUILD= yes
USES= gettext pkgconfig
INSTALLS_OMF= yes
2010-01-04 21:23:40 +00:00
INSTALLS_ICONS= yes
2012-02-22 18:36:32 +00:00
USE_GNOME= gnomehack gnomeprefix gtkhtml3 intlhack libgsf
2010-10-21 17:36:18 +00:00
OPTIONS_SINGLE= BACKEND
OPTIONS_SINGLE_BACKEND= GTKHTML WEBKIT
GTKHTML_DESC= Use gtkhtml for rendering
WEBKIT_DESC= Use webkit for rendering (preferred)
OPTIONS_DEFAULT= WEBKIT
NO_STAGE= yes
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MWEBKIT}
WAF_CONFIGURE_ARGS= --backend=webkit
LIB_DEPENDS= webkitgtk:${PORTSDIR}/www/webkit-gtk2
.endif
.if ${PORT_OPTIONS:MGTKHTML}
WAF_CONFIGURE_ARGS= --backend=gtkhtml
.endif
2010-10-21 17:36:18 +00:00
do-configure:
@cd ${WRKSRC} && ${SETENV} ${CONFIGURE_ENV} ./waf configure \
2012-02-22 18:36:32 +00:00
--prefix=${PREFIX} --destdir=${PREFIX} \
${WAF_CONFIGURE_ARGS} --gtk=2
2010-10-21 17:36:18 +00:00
do-build:
@cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ./waf build
do-install:
@cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ./waf install
.include <bsd.port.mk>