blob: dec0ccaa661c1c8aa9c80a54c416c1300a99bc6b (
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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
|
# New ports collection makefile for: yelp
# Date created: 18 May 2002
# Whom: Maxim Sobolev <sobomax@FreeBSD.org>
#
# $FreeBSD$
# $MCom: ports/x11/yelp3/Makefile,v 1.12 2011/04/16 07:37:59 kwm Exp $
#
PORTNAME= yelp
PORTVERSION= 3.0.2
CATEGORIES= x11 gnome
MASTER_SITES= GNOME
DIST_SUBDIR= gnome3
MAINTAINER= gnome@FreeBSD.org
COMMENT= A help browser for the GNOME 3 desktop
BUILD_DEPENDS= ${LOCALBASE}/libdata/pkgconfig/yelp-xsl.pc:${PORTSDIR}/textproc/yelp-xsl
LIB_DEPENDS= webkitgtk-3.0.0:${PORTSDIR}/www/webkit-gtk3
RUN_DEPENDS= ${LOCALBASE}/libdata/pkgconfig/yelp-xsl.pc:${PORTSDIR}/textproc/yelp-xsl
CONFLICTS= yelp-2.[0-9]*
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/COPYING
USE_GETTEXT= yes
USE_BZIP2= yes
USE_XORG= x11 ice
USE_GMAKE= yes
USE_GNOME= gnomeprefix gnomehack intlhack gtk30 libxslt libxml2
GNU_CONFIGURE= yes
INSTALLS_ICONS= yes
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="${LDFLAGS} -L${LOCALBASE}/lib"
MAKE_ENV= G_CHARSET_ALIAS="${LOCALBASE}/libdata/charset.alias"
GLIB_SCHEMAS= org.gnome.yelp.gschema.xml
.include <bsd.port.pre.mk>
# Around the time GCC stack protection (aka Propolice) for userland
# was enabled on src/share/mk/bsd.sys.mk
# SVN rev 180012 on 2008-06-25 21:33:28Z by ru
.if ${OSVERSION} >= 800040
LDFLAGS+= -fstack-protector
.endif
.if ${OSVERSION} >= 900012 || (${OSVERSION} >= 800505 && ${OSVERSION} < 900000)
CONFIGURE_ENV+= YELP_LZMA_CFLAGS="-I/usr/include" \
YELP_LZMA_LIBS="-L/usr/lib -llzma"
.else
LIB_DEPENDS+= lzma.0:${PORTSDIR}/archivers/xz
.endif
post-patch:
@${REINPLACE_CMD} -e 's|/home/shaunm/Projects/yelp/data/dtd|${PREFIX}/share/yelp/dtd|g' \
${WRKSRC}/data/dtd/catalog
.include <bsd.port.post.mk>
|