aboutsummaryrefslogtreecommitdiffstats
path: root/misc/xiphos/Makefile
blob: c35c9dffbf87017572d8f3e3b2d7d36ba4956cb4 (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
# New ports collection makefile for: gnomesword
# Date created:   April 27, 2007
# Whom:           Thomas Abthorpe <thomas@goodking.ca>
#
# $FreeBSD$
#

PORTNAME=   gnomesword
PORTVERSION=    2.3.3
CATEGORIES= misc gnome
MASTER_SITES=   SF

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

RUN_DEPENDS=    ${LOCALBASE}/lib/gnome-spell/libgnome-spell-component-0.3.so:${PORTSDIR}/textproc/gnome-spell \
        ${LOCALBASE}/lib/libsword-1.5.10.so:${PORTSDIR}/misc/sword
BUILD_DEPENDS=  ${RUN_DEPENDS}

USE_GETTEXT=    yes
USE_X_PREFIX=   yes
INSTALLS_OMF=   yes
USE_GNOME=  gnomehack gnomeprefix gnometarget gal2 gtkhtml3 intlhack gnomedocutils
USE_GMAKE=  yes
GNU_CONFIGURE=  yes
CONFIGURE_ENV=  CPPFLAGS="-I${LOCALBASE}/include" \
        LDFLAGS="-L${LOCALBASE}/lib"
CONFIGURE_ARGS+=    --enable-gtkhtml

post-install:
.if !defined(NOPORTDOCS)
    @${MKDIR} ${DOCSDIR}
.for file in AUTHORS ChangeLog INSTALL NEWS README TODO
    ${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}
.endfor
.endif

.include <bsd.port.mk>