Tweak x11/xbanner version 1.31_1
[dports.git] / x11 / yelp / Makefile
1 # Created by: Maxim Sobolev <sobomax@FreeBSD.org>
2 # $FreeBSD$
3 #   $MCom: ports/x11/yelp/Makefile,v 1.171 2012/10/01 16:19:07 kwm Exp $
4
5 PORTNAME=       yelp
6 PORTVERSION=    2.30.2
7 PORTREVISION=   7
8 CATEGORIES=     x11 gnome
9 MASTER_SITES=   LOCAL/kwm
10 DISTNAME=       ${PORTNAME}-webkit-${PORTVERSION}
11 DIST_SUBDIR=    gnome2
12
13 MAINTAINER=     gnome@FreeBSD.org
14 COMMENT=        A help browser for the GNOME 2 desktop
15
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
20
21 CONFLICTS=      yelp-3.[0-9]*
22
23 USES=           desktop-file-utils gettext gmake pkgconfig
24 USE_BZIP2=      yes
25 USE_XORG=       ice
26 USE_GNOME=      gnomeprefix gnomehack intlhack gconf2 gnomedocutils
27 GNU_CONFIGURE=  yes
28 INSTALLS_ICONS= yes
29 CPPFLAGS+=      -I${LOCALBASE}/include
30 LDFLAGS+=       -L${LOCALBASE}/lib
31
32 GCONF_SCHEMAS=  yelp.schemas
33
34 NO_STAGE=       yes
35 .include <bsd.port.pre.mk>
36
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
42 .endif
43
44 post-extract:
45         ${RM} -f ${WRKSRC}/data/yelp.schemas
46
47 post-patch:
48         @${REINPLACE_CMD} -e 's,[-/]unstable,,' \
49                 -e 's/ --define-variable=includetype=unstable//' \
50                 ${WRKSRC}/configure
51
52 post-install:
53         @-update-mime-database ${PREFIX}/share/mime
54
55 .include <bsd.port.post.mk>