ajacoutot c89ef704dd - nothing should have to run_depends on rarian anymore
- explicitely add build_depends on rarian where gnome-doc-utils is also a
build dependency as it does not itself run_depends on rarian anymore

This was the 2nd and hopefully last pass of rarian/scrollkeeper cleaning.

discussed with jasper@
2009-03-14 11:36:24 +00:00

48 lines
1011 B
Makefile

# $OpenBSD: Makefile,v 1.12 2009/03/14 11:36:25 ajacoutot Exp $
COMMENT= GTK C code documentation system
GNOME_VERSION= 1.11
GNOME_PROJECT= gtk-doc
PKGNAME= ${DISTNAME}p2
CATEGORIES= textproc devel
HOMEPAGE= http://www.gtk.org/gtk-doc/
# GPLv2
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
MODULES= x11/gnome
CONFIGURE_STYLE= gnu
CONFIGURE_ARGS= --with-xml-catalog=${WRKDIR}/catalog.xml
PKG_ARCH= *
BUILD_DEPENDS= ::x11/gnome/doc-utils \
::textproc/rarian \
${RUN_DEPENDS}
RUN_DEPENDS= ::textproc/openjade \
::textproc/docbook \
::textproc/docbook-xsl \
::textproc/libxslt \
::x11/gnome/yelp
NO_REGRESS= Yes
post-extract:
cp ${LOCALBASE}/share/xml/docbook/catalog.xml \
${WRKDIR}/catalog.xml
xmlcatalog --add nextCatalog \
--id ${LOCALBASE}/share/xsl/docbook/catalog.xml \
--noout ${WRKDIR}/catalog.xml ${WRKDIR}/catalog.xml
ln -s /usr/bin/true ${WRKDIR}/bin/scrollkeeper-update
.include <bsd.port.mk>