aboutsummaryrefslogtreecommitdiffstats
path: root/misc/xiphos/Makefile
blob: dbf3ed0d34cbff8bb4f5e844c2051747f79f8136 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
# New ports collection makefile for: xiphos
# Date created:   February 2, 2009
# Whom:           Thomas Abthorpe <tabthorpe@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=   xiphos
PORTVERSION=    3.1.4
PORTREVISION=   2
CATEGORIES= misc gnome
MASTER_SITES=   SF/gnomesword/Xiphos/${PORTVERSION}

MAINTAINER= tabthorpe@FreeBSD.org
COMMENT=    A bible interface utilizing the sword framework

LICENSE=    GPLv2

RUN_DEPENDS=    ${LOCALBASE}/lib/libsword-1.6.2.so:${PORTSDIR}/misc/sword
BUILD_DEPENDS=  ${RUN_DEPENDS} \
        docbook2html:${PORTSDIR}/textproc/docbook-utils \
        gnome-doc-tool:${PORTSDIR}/textproc/gnome-doc-utils \
        nspr>=4.8:${PORTSDIR}/devel/nspr

USE_PYTHON_BUILD=   yes
USE_GETTEXT=    yes
INSTALLS_OMF=   yes
INSTALLS_ICONS= yes
USE_GNOME=  gnomehack gnomeprefix gnometarget gtkhtml3 \
        intlhack libgsf

do-configure:
    @cd ${WRKSRC} && ${SETENV} ${CONFIGURE_ENV} ./waf configure \
        --prefix=${PREFIX} --enable-gtkhtml --debug-level=optimized

do-build:
    @cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ./waf build

do-install:
    @cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ./waf install

.include <bsd.port.mk>