summaryrefslogtreecommitdiffstats
path: root/misc/gnomesword/Makefile
blob: 93cac6eea74a8f6f9236df0bbe2abd718c094699 (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
43
44
45
46
# New ports collection makefile for: gnomesword
# Date created:   Oct 26, 2002
# Whom:           J Shoemaker <shoemaker@softhome.net>
#
# $FreeBSD$
#

PORTNAME=   gnomesword
PORTVERSION=    2.1.1
PORTREVISION=   6
CATEGORIES= misc gnome
MASTER_SITES=   ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}

MAINTAINER= dboudrot@yahoo.com
COMMENT=    A bible interface utilizing the sword framework

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

BROKEN=     Configure fails
DEPRECATED= ${BROKEN}
EXPIRATION_DATE=2006-12-01

USE_XLIB=   yes
INSTALLS_OMF=   yes
USE_GNOME=  gnomehack gnomeprefix gnometarget gal2 gtkhtml3 intlhack
USE_GMAKE=  yes
GNU_CONFIGURE=  yes
CONFIGURE_ENV=  CPPFLAGS="-I${LOCALBASE}/include" \
        LDFLAGS="-L${LOCALBASE}/lib"

post-patch:
    @${REINPLACE_CMD} -e 's|=share/pix|=share/gnome/pix|g ; \
         s|=share/app|=share/gnome/app|g' ${WRKSRC}/configure

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>