1 # Created by: Maxim Sobolev <sobomax@FreeBSD.org>
3 # $MCom: ports/x11/yelp/Makefile,v 1.171 2012/10/01 16:19:07 kwm Exp $
9 MASTER_SITES= LOCAL/kwm
10 DISTNAME= ${PORTNAME}-webkit-${PORTVERSION}
13 MAINTAINER= gnome@FreeBSD.org
14 COMMENT= A help browser for the GNOME 2 desktop
16 LIB_DEPENDS= dbus-glib-1:${PORTSDIR}/devel/dbus-glib \
17 startup-notification-1:${PORTSDIR}/x11/startup-notification \
18 webkitgtk-1.0:${PORTSDIR}/www/webkit-gtk2 \
19 rarian:${PORTSDIR}/textproc/rarian
21 CONFLICTS= yelp-3.[0-9]*
23 USES= desktop-file-utils gettext gmake pkgconfig
26 USE_GNOME= gnomeprefix gnomehack intlhack gconf2 gnomedocutils
29 CPPFLAGS+= -I${LOCALBASE}/include
30 LDFLAGS+= -L${LOCALBASE}/lib
32 GCONF_SCHEMAS= yelp.schemas
35 .include <bsd.port.pre.mk>
37 # Around the time GCC stack protection (aka Propolice) for userland
38 # was enabled on src/share/mk/bsd.sys.mk
39 # SVN rev 180012 on 2008-06-25 21:33:28Z by ru
40 .if ${OSVERSION} >= 800040
41 LDFLAGS+= -fstack-protector
45 ${RM} -f ${WRKSRC}/data/yelp.schemas
48 @${REINPLACE_CMD} -e 's,[-/]unstable,,' \
49 -e 's/ --define-variable=includetype=unstable//' \
53 @-update-mime-database ${PREFIX}/share/mime
55 .include <bsd.port.post.mk>