summaryrefslogtreecommitdiffstats
path: root/x11/yelp/Makefile
blob: f7da8e8892958f20305e0e624ac7bc1694860ce8 (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:    yelp
# Date created:             18 May 2002
# Whom:                 Maxim Sobolev <sobomax@FreeBSD.org>
#
# $FreeBSD$
#   $MCom: ports/x11/yelp/Makefile,v 1.92 2006/05/16 18:30:32 ahze Exp $
#

PORTNAME=   yelp
PORTVERSION=    2.15.2
CATEGORIES= x11 gnome
MASTER_SITES=   ${MASTER_SITE_GNOME}
MASTER_SITE_SUBDIR= sources/${PORTNAME}/${PORTVERSION:C/^([0-9]+\.[0-9]+).*/\1/}
DIST_SUBDIR=    gnome2

MAINTAINER= gnome@FreeBSD.org
COMMENT=    A help browser for the GNOME 2 desktop

USE_GECKO=  firefox seamonkey xulrunner firefox-devel
USE_GETTEXT=    yes
USE_BZIP2=  yes
USE_X_PREFIX=   yes
USE_GMAKE=  yes
USE_GNOME=  gnomeprefix gnomehack intlhack libgnomeui gnomedocutils \
        libgnomeprintui
GNU_CONFIGURE=  yes
INSTALLS_ICONS= yes
CONFIGURE_ENV=  CPPFLAGS="-I${LOCALBASE}/include" \
        LDFLAGS="-L${LOCALBASE}/lib"
CONFIGURE_ARGS= --with-mozilla=${GECKO}
MAKE_ENV=   G_CHARSET_ALIAS="${LOCALBASE}/libdata/charset.alias"

GCONF_SCHEMAS=  yelp.schemas

.include <bsd.port.pre.mk>
.include "${.CURDIR}/../../www/mozilla/bsd.gecko.mk"

post-patch:
    @${REINPLACE_CMD} -e 's|firefox|${GECKO}|' \
        ${WRKSRC}/configure

.include <bsd.port.post.mk>