2010-10-19 11:21:03 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.37 2010/10/19 15:21:04 ajacoutot Exp $
|
2006-06-17 12:49:40 -04:00
|
|
|
|
2007-07-05 18:50:10 -04:00
|
|
|
COMMENT= collection of documentation utilities for the GNOME project
|
2006-06-17 12:49:40 -04:00
|
|
|
|
2007-07-05 18:50:10 -04:00
|
|
|
GNOME_PROJECT= gnome-doc-utils
|
2010-09-30 03:34:19 -04:00
|
|
|
GNOME_VERSION= 0.20.2
|
2009-03-14 06:40:51 -04:00
|
|
|
|
2007-07-05 18:50:10 -04:00
|
|
|
CATEGORIES= textproc
|
2006-06-17 12:49:40 -04:00
|
|
|
|
2008-04-14 15:06:25 -04:00
|
|
|
# (L)GPLv2
|
2006-06-17 12:49:40 -04:00
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
|
2007-07-05 18:50:10 -04:00
|
|
|
MODULES= lang/python \
|
|
|
|
x11/gnome
|
2006-06-17 12:49:40 -04:00
|
|
|
|
2009-01-12 12:36:28 -05:00
|
|
|
BUILD_DEPENDS= ${RUN_DEPENDS} \
|
|
|
|
:docbook-*:textproc/docbook \
|
2009-03-14 07:36:24 -04:00
|
|
|
::sysutils/ggrep \
|
|
|
|
::textproc/rarian
|
2009-01-12 12:36:28 -05:00
|
|
|
RUN_DEPENDS= ::devel/gettext \
|
|
|
|
:py-libxml-*:textproc/libxml,-python \
|
2010-09-02 03:50:51 -04:00
|
|
|
:py-libxslt-*:textproc/libxslt,-python \
|
2009-04-06 06:05:20 -04:00
|
|
|
::textproc/rarian
|
2006-06-17 12:49:40 -04:00
|
|
|
|
2007-07-05 18:50:10 -04:00
|
|
|
USE_LIBTOOL= No
|
2010-10-19 04:13:56 -04:00
|
|
|
USE_GROFF = Yes
|
2007-04-24 16:49:04 -04:00
|
|
|
CONFIGURE_ARGS= --disable-scrollkeeper
|
2009-04-26 07:01:04 -04:00
|
|
|
CONFIGURE_ENV= CPPFLAGS="${CFLAGS} -I${LOCALBASE}/include" \
|
2007-04-24 16:49:04 -04:00
|
|
|
LDFLAGS="-L${LOCALBASE}/lib"
|
2006-06-17 12:49:40 -04:00
|
|
|
|
2009-10-15 11:28:23 -04:00
|
|
|
FAKE_FLAGS+= pkgconfigdir="${PREFIX}/lib/pkgconfig/"
|
|
|
|
|
2006-06-17 12:49:40 -04:00
|
|
|
post-install:
|
2009-10-11 11:32:11 -04:00
|
|
|
${MODPY_BIN} ${MODPY_LIBDIR}/compileall.py \
|
|
|
|
${PREFIX}/lib/python${MODPY_VERSION}/site-packages/xml2po/
|
2006-06-17 12:49:40 -04:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|