summaryrefslogtreecommitdiffstats
path: root/textproc/yelp-tools/Makefile
blob: 50f5a1064a8f1f6d1c3ff72db2f23081ca478efc (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
# New ports collection makefile for:    yelp-tools
# Date created:             17 Sep 2011
# Whom:                 Koop Mast <kwm@FreeBSD.org>
#
# $FreeBSD$
#   $MCom$
#

PORTNAME=   yelp-tools
PORTVERSION=    3.1.5
CATEGORIES= textproc gnome
MASTER_SITES=   GNOME
DIST_SUBDIR=    gnome3

MAINTAINER= gnome@FreeBSD.org
COMMENT=    utilities to help manage documentation for Yelp and the web

BUILD_DEPENDS=  yelp-xsl>=3.1.5:${PORTSDIR}/textproc/yelp-xsl \
        itstool:${PORTSDIR}/textproc/itstool
LIB_DEPENDS=    xslt.2:${PORTSDIR}/textproc/libxslt

USE_GETTEXT=    yes
USE_XZ=     yes
USE_GMAKE=  yes
USE_GNOME=  gnomeprefix gnomehack intlhack pkgconfig libxml2
GNU_CONFIGURE=  yes
CONFIGURE_ENV=  CPPFLAGS="-I${LOCALBASE}/include" \
        LDFLAGS="${LDFLAGS} -L${LOCALBASE}/lib"

.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

.include <bsd.port.post.mk>