freebsd-ports/misc/xiphos/Makefile
Mathieu Arnold f6d56007b9 Remove all := from BUILD_DEPENDS, here are never needed.
While there, cleanup, and sort depends.

When build and run dependencies are the same, there are three ways to
avoid duplicating the list while not adding the framework added
BUILD_DEPENDS to the RUN_DEPENDS.  In order of preference, they are:

1) use RUN_DEPENDS to set BUILD_DEPENDS:

BUILD_DEPENDS=	${RUN_DEPENDS}
RUN_DEPENDS=	foo:bar/baz

2) create another variable and use it:

MY_DEPENDS= foo:bar/baz
BUILD_DEPENDS=	${MY_DEPENDS}
RUN_DEPENDS=	${MY_DEPENDS}

3) use BUILD_DEPENDS to set RUN_DEPENDS and force evaluation:

BUILD_DEPENDS=	foo:bar/baz
RUN_DEPENDS:=	${BUILD_DEPENDS}

Sponsored by:	Absolight
2018-07-09 08:40:17 +00:00

36 lines
933 B
Makefile

# $FreeBSD$
PORTNAME= xiphos
PORTVERSION= 3.1.6
PORTREVISION= 6
CATEGORIES= misc gnome
MASTER_SITES= SF/gnomesword/Xiphos/${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= Bible interface utilizing the sword framework
LICENSE= GPLv2
BROKEN_FreeBSD_12= fails to compile: /usr/include/c++/v1/type_traits:1116:29: recursive template instantiation exceeded maximum depth of 25
BUILD_DEPENDS= ${RUN_DEPENDS} \
docbook2html:textproc/docbook-utils \
gnome-doc-tool:textproc/gnome-doc-utils \
nspr>=4.8:devel/nspr
LIB_DEPENDS= libwebkitgtk-3.0.so:www/webkit-gtk3 \
libdbus-glib-1.so:devel/dbus-glib \
libsword.so:misc/sword
RUN_DEPENDS= yelp:x11/yelp
USES= gettext pkgconfig waf
INSTALLS_OMF= yes
INSTALLS_ICONS= yes
USE_GNOME= gtkhtml4 intlhack gtk30 gconf2 libgsf \
gtk-update-icon-cache
OPTIONS_DEFINE= DOCS
post-install:
@${RM} ${STAGEDIR}${PREFIX}/share/icons/hicolor/icon-theme.cache
.include <bsd.port.mk>