aboutsummaryrefslogtreecommitdiffstats
path: root/misc/gnomesword/Makefile
blob: 291342a3e0af783a2aa24cb1374cdba28a9dc5a0 (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.2.3
CATEGORIES= misc gnome
MASTER_SITES=   ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}

MAINTAINER= thomas@goodking.ca
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.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"

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>