openbsd-ports/x11/gnome/doc-utils/Makefile
2010-10-19 15:21:03 +00:00

41 lines
967 B
Makefile

# $OpenBSD: Makefile,v 1.37 2010/10/19 15:21:04 ajacoutot Exp $
COMMENT= collection of documentation utilities for the GNOME project
GNOME_PROJECT= gnome-doc-utils
GNOME_VERSION= 0.20.2
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 \
:py-libxslt-*:textproc/libxslt,-python \
::textproc/rarian
USE_LIBTOOL= No
USE_GROFF = Yes
CONFIGURE_ARGS= --disable-scrollkeeper
CONFIGURE_ENV= CPPFLAGS="${CFLAGS} -I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
FAKE_FLAGS+= pkgconfigdir="${PREFIX}/lib/pkgconfig/"
post-install:
${MODPY_BIN} ${MODPY_LIBDIR}/compileall.py \
${PREFIX}/lib/python${MODPY_VERSION}/site-packages/xml2po/
.include <bsd.port.mk>