aboutsummaryrefslogtreecommitdiffstats
path: root/x11/yelp/Makefile
blob: d1819a9eaf72c63b6c16ea2c3d369221684f9e92 (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
# Created by: Maxim Sobolev <sobomax@FreeBSD.org>
# $FreeBSD$

PORTNAME=   yelp
PORTVERSION=    3.16.1
CATEGORIES= x11 gnome
MASTER_SITES=   GNOME
DIST_SUBDIR=    gnome3

MAINTAINER= gnome@FreeBSD.org
COMMENT=    Help browser for the GNOME 3 desktop

LICENSE=    GPLv2
LICENSE_FILE=   ${WRKSRC}/COPYING

BUILD_DEPENDS=  yelp-xsl>=0:${PORTSDIR}/textproc/yelp-xsl \
        itstool:${PORTSDIR}/textproc/itstool
LIB_DEPENDS=    libwebkitgtk-3.0.so:${PORTSDIR}/www/webkit-gtk3
RUN_DEPENDS=    yelp-xsl>=0:${PORTSDIR}/textproc/yelp-xsl

PORTSCOUT=  limitw:1,even

USES=       desktop-file-utils gettext gmake libtool pathfix \
        pkgconfig tar:xz
USE_XORG=   x11 ice
USE_GNOME=  gtk30 intlhack libxml2 libxslt
GNU_CONFIGURE=  yes
INSTALLS_ICONS= yes
USE_LDCONFIG=   yes
CPPFLAGS+=  -I${LOCALBASE}/include
LDFLAGS+=   -L${LOCALBASE}/lib
GLIB_SCHEMAS=   org.gnome.yelp.gschema.xml
INSTALL_TARGET= install-strip

.include <bsd.port.options.mk>

.if !exists(/usr/libdata/pkgconfig/liblzma.pc)
CONFIGURE_ENV+= YELP_LZMA_CFLAGS="-I/usr/include" \
        YELP_LZMA_LIBS="-L/usr/lib -llzma"
.endif

.include <bsd.port.mk>