summaryrefslogtreecommitdiff
path: root/x11/yelp/Makefile
blob: 4fe6d5c05f2e1ab76b1d487d09a9dd9f93442896 (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
# Created by: Maxim Sobolev <sobomax@FreeBSD.org>
# $FreeBSD$
#   $MCom: ports/x11/yelp/Makefile,v 1.171 2012/10/01 16:19:07 kwm Exp $

PORTNAME=	yelp
PORTVERSION=	2.30.2
PORTREVISION=	10
CATEGORIES=	x11 gnome
MASTER_SITES=	LOCAL/kwm
DISTNAME=	${PORTNAME}-webkit-${PORTVERSION}
DIST_SUBDIR=	gnome2

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

LIB_DEPENDS=	libdbus-glib-1.so:${PORTSDIR}/devel/dbus-glib \
		libstartup-notification-1.so:${PORTSDIR}/x11/startup-notification \
		libwebkitgtk-1.0.so:${PORTSDIR}/www/webkit-gtk2 \
		librarian.so:${PORTSDIR}/textproc/rarian

CONFLICTS=	yelp-3.[0-9]*

USES=		desktop-file-utils gettext gmake pathfix pkgconfig tar:bzip2
USE_XORG=	ice
USE_GNOME=	gnomeprefix intlhack gconf2 gnomedocutils
GNU_CONFIGURE=	yes
INSTALLS_ICONS=	yes
CPPFLAGS+=	-I${LOCALBASE}/include
LDFLAGS+=	-L${LOCALBASE}/lib \
		-fstack-protector

GCONF_SCHEMAS=	yelp.schemas

post-extract:
	${RM} -f ${WRKSRC}/data/yelp.schemas

post-patch:
	@${REINPLACE_CMD} -e 's,[-/]unstable,,' \
		-e 's/ --define-variable=includetype=unstable//' \
		${WRKSRC}/configure
	@${REINPLACE_CMD} '/g_thread_init/d' ${WRKSRC}/src/yelp-main.c

.include <bsd.port.mk>