freebsd-ports/x11/yelp/Makefile
Beat Gaetzi 734349b51e - Move libxul 1.9.2 to www/libxul19
- Update www/libxul to 10.0.7
- Update all dependent ports to use www/libxul19 (no functional changes)
- Bump PORTREVISION on ports where libxul is a run dependency as the
  resulting package will change.

Submitted by:	Jan Beich <jbeich@tormail.org>
With hat:	gecko
2012-09-10 19:19:32 +00:00

61 lines
1.5 KiB
Makefile

# New ports collection makefile for: yelp
# Date created: 18 May 2002
# Whom: Maxim Sobolev <sobomax@FreeBSD.org>
#
# $FreeBSD$
# $MCom: ports/x11/yelp/Makefile,v 1.164 2010/10/18 13:37:34 kwm Exp $
#
PORTNAME= yelp
PORTVERSION= 2.30.2
PORTREVISION= 4
CATEGORIES= x11 gnome
MASTER_SITES= GNOME
DIST_SUBDIR= gnome2
MAINTAINER= gnome@FreeBSD.org
COMMENT= A help browser for the GNOME 2 desktop
LIB_DEPENDS= dbus-glib-1.2:${PORTSDIR}/devel/dbus-glib \
startup-notification-1.0:${PORTSDIR}/x11/startup-notification \
rarian.0:${PORTSDIR}/textproc/rarian
CONFLICTS= yelp-2.31.*
USE_GECKO= libxul19
USE_GETTEXT= yes
USE_BZIP2= yes
USE_XORG= ice
USE_GMAKE= yes
USE_GNOME= gnomeprefix gnomehack intlhack gconf2 gnomedocutils
GNU_CONFIGURE= yes
INSTALLS_ICONS= yes
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
CONFIGURE_ARGS= --with-gecko=${GECKO:S/19//} \
--with-gecko-home=${LOCALBASE}/lib/${GECKO:S/19//}
MAKE_ENV= G_CHARSET_ALIAS="${LOCALBASE}/libdata/charset.alias"
GCONF_SCHEMAS= yelp.schemas
.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
post-extract:
${RM} -f ${WRKSRC}/data/yelp.schemas
post-patch:
@${REINPLACE_CMD} -e 's,[-/]unstable,,' \
-e 's/ --define-variable=includetype=unstable//' \
${WRKSRC}/configure
post-install:
@-update-mime-database ${PREFIX}/share/mime
.include <bsd.port.post.mk>