mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-29 10:18:30 +00:00
- Depend on x11/yelp
- Add options to build rendering engine PR: ports/169514 Submitted by: John Marshall <john.marshall riverwillow.com.au>
This commit is contained in:
parent
b214d01a65
commit
dc5587764f
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=300298
@ -7,7 +7,7 @@
|
||||
|
||||
PORTNAME= xiphos
|
||||
PORTVERSION= 3.1.5
|
||||
PORTREVISION= 2
|
||||
PORTREVISION= 3
|
||||
CATEGORIES= misc gnome
|
||||
MASTER_SITES= SF/gnomesword/Xiphos/${PORTVERSION}
|
||||
|
||||
@ -16,7 +16,8 @@ COMMENT= A bible interface utilizing the sword framework
|
||||
|
||||
LICENSE= GPLv2
|
||||
|
||||
RUN_DEPENDS= ${LOCALBASE}/lib/libsword-1.6.2.so:${PORTSDIR}/misc/sword
|
||||
RUN_DEPENDS= ${LOCALBASE}/lib/libsword-1.6.2.so:${PORTSDIR}/misc/sword \
|
||||
yelp:${PORTSDIR}/x11/yelp
|
||||
BUILD_DEPENDS:= ${RUN_DEPENDS} \
|
||||
docbook2html:${PORTSDIR}/textproc/docbook-utils \
|
||||
gnome-doc-tool:${PORTSDIR}/textproc/gnome-doc-utils \
|
||||
@ -28,10 +29,34 @@ INSTALLS_OMF= yes
|
||||
INSTALLS_ICONS= yes
|
||||
USE_GNOME= gnomehack gnomeprefix gtkhtml3 intlhack libgsf
|
||||
|
||||
OPTIONS_SINGLE= BACKEND
|
||||
OPTIONS_SINGLE_BACKEND= GTKHTML LIBXUL WEBKIT
|
||||
GTKHTML_DESC= Use gtkhtml for rendering
|
||||
LIBXUL_DESC= Use xulrunner for rendering
|
||||
WEBKIT_DESC= Use webkit for rendering (preferred)
|
||||
|
||||
OPTIONS_DEFAULT= WEBKIT
|
||||
|
||||
.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:MLIBXUL}
|
||||
WAF_CONFIGURE_ARGS= --backend=xulrunner
|
||||
USE_GECKO= libxul
|
||||
.endif
|
||||
|
||||
.if ${PORT_OPTIONS:MGTKHTML}
|
||||
WAF_CONFIGURE_ARGS= --backend=gtkhtml
|
||||
.endif
|
||||
|
||||
do-configure:
|
||||
@cd ${WRKSRC} && ${SETENV} ${CONFIGURE_ENV} ./waf configure \
|
||||
--prefix=${PREFIX} --destdir=${PREFIX} \
|
||||
--backend gtkhtml --gtk=2
|
||||
${WAF_CONFIGURE_ARGS} --gtk=2
|
||||
|
||||
do-build:
|
||||
@cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ./waf build
|
||||
|
Loading…
Reference in New Issue
Block a user