openbsd-ports/x11/gnome/doc-utils/Makefile
ajacoutot 205c226bb2 Rework the way we handle build_depends with the gnome MODULE when
MODGNOME_HELP_FILES is set to yes.

* add a build_depends on gnome-doc-utils if MODGNOME_HELP_FILES is set
to yes
* add rarian as a run_depends for gnome-doc-utils (will help with older
ports that will never be updated from using deprecated scrollkeeper)
* remove build+run_depends on gnome-doc-utils and rarian for ports that
have MODGNOME_HELP_FILES as they are now implied.
* bump where needed

This should help in having all required build dependencies for
gnome-related ports and it greatly simplifies things.

"thanks for cleaning this mess" and ok jasper@
2009-04-06 10:05:20 +00:00

39 lines
901 B
Makefile

# $OpenBSD: Makefile,v 1.23 2009/04/06 10:05:21 ajacoutot Exp $
COMMENT= collection of documentation utilities for the GNOME project
GNOME_PROJECT= gnome-doc-utils
GNOME_VERSION= 0.14.2
PKGNAME= ${DISTNAME}p5
CATEGORIES= textproc
# (L)GPLv2
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
MODULES= lang/python \
x11/gnome
BUILD_DEPENDS= ${RUN_DEPENDS} \
:docbook-*:textproc/docbook \
::sysutils/ggrep \
::textproc/rarian
RUN_DEPENDS= ::devel/gettext \
:py-libxml-*:textproc/libxml,-python \
:libxslt-*:textproc/libxslt,-python \
::textproc/rarian
USE_LIBTOOL= No
CONFIGURE_ARGS= --disable-scrollkeeper
CONFIGURE_ENV= PYTHON=${MODPY_BIN} \
CPPFLAGS="${CFLAGS} -I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
post-install:
${MODPY_BIN} ${MODPY_LIBDIR}/compileall.py ${PREFIX}/share/xml2po
.include <bsd.port.mk>